Skip to main content

SourceGcpProject

Resource SourceGcpProject in pulumi-logtail.
3 min read

Resource SourceGcpProject in pulumi-logtail.

Pulumi type: logtail:index/sourceGcpProject:SourceGcpProject.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
gcpAccountIdstringnoThe ID of an already-connected GCP project to link this source to. Provide this instead of gcpProjectId/gcpProjectNumber to reuse a project you've already connected. Write-only: the API does not return it, so it isn't refreshed from state.
gcpProjectIdstringnoThe GCP project ID to connect - the projectId output of the Better Stack GCP Terraform module (or the value you passed to the setup script). Provide together with gcpProjectNumber. Write-only: the API does not return it, so it isn't refreshed from state.
gcpProjectNumberstringnoThe GCP project number - the projectNumber output of the Better Stack GCP Terraform module. Provide together with gcpProjectId. Write-only: the API does not return it, so it isn't refreshed from state.
sourceGcpProjectIdstringno
sourceIdstringyesThe ID of the logtail.Source (with platform = "gcp") to link the GCP project to. Changing this forces a new resource, re-running the project connect against the new source.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
gcpAccountIdstringnoThe ID of an already-connected GCP project to link this source to. Provide this instead of gcpProjectId/gcpProjectNumber to reuse a project you've already connected. Write-only: the API does not return it, so it isn't refreshed from state.
gcpProjectIdstringnoThe GCP project ID to connect - the projectId output of the Better Stack GCP Terraform module (or the value you passed to the setup script). Provide together with gcpProjectNumber. Write-only: the API does not return it, so it isn't refreshed from state.
gcpProjectNumberstringnoThe GCP project number - the projectNumber output of the Better Stack GCP Terraform module. Provide together with gcpProjectId. Write-only: the API does not return it, so it isn't refreshed from state.
sourceGcpProjectIdstringno
sourceIdstringnoThe ID of the logtail.Source (with platform = "gcp") to link the GCP project to. Changing this forces a new resource, re-running the project connect against the new source.