1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. configdeployment
  6. Deployment
Viewing docs for Google Cloud v9.26.0
published on Tuesday, Jun 9, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.26.0
published on Tuesday, Jun 9, 2026 by Pulumi

    A group of Google Cloud resources described by a Terraform blueprint.

    To get more information about Deployment, see:

    Example Usage

    Config Deployment Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.configdeployment.Deployment("default", {
        name: "my-deployment",
        location: "us-central1",
        serviceAccount: "projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com",
        terraformBlueprint: {
            gitSource: {
                repo: "https://github.com/terraform-google-modules/terraform-google-network",
                directory: "modules/vpc",
                ref: "main",
            },
            inputValues: [
                {
                    variableName: "project_id",
                    inputValue: "<no value>",
                },
                {
                    variableName: "network_name",
                    inputValue: "my-network",
                },
            ],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.configdeployment.Deployment("default",
        name="my-deployment",
        location="us-central1",
        service_account="projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com",
        terraform_blueprint={
            "git_source": {
                "repo": "https://github.com/terraform-google-modules/terraform-google-network",
                "directory": "modules/vpc",
                "ref": "main",
            },
            "input_values": [
                {
                    "variable_name": "project_id",
                    "input_value": "<no value>",
                },
                {
                    "variable_name": "network_name",
                    "input_value": "my-network",
                },
            ],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/configdeployment"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := configdeployment.NewDeployment(ctx, "default", &configdeployment.DeploymentArgs{
    			Name:           pulumi.String("my-deployment"),
    			Location:       pulumi.String("us-central1"),
    			ServiceAccount: pulumi.String("projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com"),
    			TerraformBlueprint: &configdeployment.DeploymentTerraformBlueprintArgs{
    				GitSource: &configdeployment.DeploymentTerraformBlueprintGitSourceArgs{
    					Repo:      pulumi.String("https://github.com/terraform-google-modules/terraform-google-network"),
    					Directory: pulumi.String("modules/vpc"),
    					Ref:       pulumi.String("main"),
    				},
    				InputValues: configdeployment.DeploymentTerraformBlueprintInputValueArray{
    					&configdeployment.DeploymentTerraformBlueprintInputValueArgs{
    						VariableName: pulumi.String("project_id"),
    						InputValue:   pulumi.String("<no value>"),
    					},
    					&configdeployment.DeploymentTerraformBlueprintInputValueArgs{
    						VariableName: pulumi.String("network_name"),
    						InputValue:   pulumi.String("my-network"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.ConfigDeployment.Deployment("default", new()
        {
            Name = "my-deployment",
            Location = "us-central1",
            ServiceAccount = "projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com",
            TerraformBlueprint = new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintArgs
            {
                GitSource = new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintGitSourceArgs
                {
                    Repo = "https://github.com/terraform-google-modules/terraform-google-network",
                    Directory = "modules/vpc",
                    Ref = "main",
                },
                InputValues = new[]
                {
                    new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintInputValueArgs
                    {
                        VariableName = "project_id",
                        InputValue = "<no value>",
                    },
                    new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintInputValueArgs
                    {
                        VariableName = "network_name",
                        InputValue = "my-network",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.configdeployment.Deployment;
    import com.pulumi.gcp.configdeployment.DeploymentArgs;
    import com.pulumi.gcp.configdeployment.inputs.DeploymentTerraformBlueprintArgs;
    import com.pulumi.gcp.configdeployment.inputs.DeploymentTerraformBlueprintGitSourceArgs;
    import com.pulumi.gcp.configdeployment.inputs.DeploymentTerraformBlueprintInputValueArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new Deployment("default", DeploymentArgs.builder()
                .name("my-deployment")
                .location("us-central1")
                .serviceAccount("projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com")
                .terraformBlueprint(DeploymentTerraformBlueprintArgs.builder()
                    .gitSource(DeploymentTerraformBlueprintGitSourceArgs.builder()
                        .repo("https://github.com/terraform-google-modules/terraform-google-network")
                        .directory("modules/vpc")
                        .ref("main")
                        .build())
                    .inputValues(                
                        DeploymentTerraformBlueprintInputValueArgs.builder()
                            .variableName("project_id")
                            .inputValue("<no value>")
                            .build(),
                        DeploymentTerraformBlueprintInputValueArgs.builder()
                            .variableName("network_name")
                            .inputValue("my-network")
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:configdeployment:Deployment
        properties:
          name: my-deployment
          location: us-central1
          serviceAccount: projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com
          terraformBlueprint:
            gitSource:
              repo: https://github.com/terraform-google-modules/terraform-google-network
              directory: modules/vpc
              ref: main
            inputValues:
              - variableName: project_id
                inputValue: <no value>
              - variableName: network_name
                inputValue: my-network
    
    pulumi {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_configdeployment_deployment" "default" {
      name            = "my-deployment"
      location        = "us-central1"
      service_account = "projects/<no value>/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com"
      terraform_blueprint = {
        git_source = {
          repo      = "https://github.com/terraform-google-modules/terraform-google-network"
          directory = "modules/vpc"
          ref       = "main"
        }
        input_values = [{
          "variableName" = "project_id"
          "inputValue"   = "<no value>"
          }, {
          "variableName" = "network_name"
          "inputValue"   = "my-network"
        }]
      }
    }
    

    Create Deployment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def Deployment(resource_name: str,
                   args: DeploymentArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Deployment(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   location: Optional[str] = None,
                   terraform_blueprint: Optional[DeploymentTerraformBlueprintArgs] = None,
                   service_account: Optional[str] = None,
                   force_destroy: Optional[bool] = None,
                   import_existing_resources: Optional[bool] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   annotations: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None,
                   quota_validation: Optional[str] = None,
                   deletion_policy: Optional[str] = None,
                   artifacts_gcs_bucket: Optional[str] = None,
                   tf_version_constraint: Optional[str] = None,
                   worker_pool: Optional[str] = None)
    func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
    public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
    public Deployment(String name, DeploymentArgs args)
    public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
    
    type: gcp:configdeployment:Deployment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_configdeployment_deployment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var gcpDeploymentResource = new Gcp.ConfigDeployment.Deployment("gcpDeploymentResource", new()
    {
        Location = "string",
        TerraformBlueprint = new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintArgs
        {
            GcsSource = "string",
            GitSource = new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintGitSourceArgs
            {
                Repo = "string",
                Directory = "string",
                Ref = "string",
            },
            InputValues = new[]
            {
                new Gcp.ConfigDeployment.Inputs.DeploymentTerraformBlueprintInputValueArgs
                {
                    InputValue = "string",
                    VariableName = "string",
                },
            },
        },
        ServiceAccount = "string",
        ForceDestroy = false,
        ImportExistingResources = false,
        Labels = 
        {
            { "string", "string" },
        },
        Annotations = 
        {
            { "string", "string" },
        },
        Name = "string",
        Project = "string",
        QuotaValidation = "string",
        DeletionPolicy = "string",
        ArtifactsGcsBucket = "string",
        TfVersionConstraint = "string",
        WorkerPool = "string",
    });
    
    example, err := configdeployment.NewDeployment(ctx, "gcpDeploymentResource", &configdeployment.DeploymentArgs{
    	Location: pulumi.String("string"),
    	TerraformBlueprint: &configdeployment.DeploymentTerraformBlueprintArgs{
    		GcsSource: pulumi.String("string"),
    		GitSource: &configdeployment.DeploymentTerraformBlueprintGitSourceArgs{
    			Repo:      pulumi.String("string"),
    			Directory: pulumi.String("string"),
    			Ref:       pulumi.String("string"),
    		},
    		InputValues: configdeployment.DeploymentTerraformBlueprintInputValueArray{
    			&configdeployment.DeploymentTerraformBlueprintInputValueArgs{
    				InputValue:   pulumi.String("string"),
    				VariableName: pulumi.String("string"),
    			},
    		},
    	},
    	ServiceAccount:          pulumi.String("string"),
    	ForceDestroy:            pulumi.Bool(false),
    	ImportExistingResources: pulumi.Bool(false),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:                pulumi.String("string"),
    	Project:             pulumi.String("string"),
    	QuotaValidation:     pulumi.String("string"),
    	DeletionPolicy:      pulumi.String("string"),
    	ArtifactsGcsBucket:  pulumi.String("string"),
    	TfVersionConstraint: pulumi.String("string"),
    	WorkerPool:          pulumi.String("string"),
    })
    
    resource "gcp_configdeployment_deployment" "gcpDeploymentResource" {
      location = "string"
      terraform_blueprint = {
        gcs_source = "string"
        git_source = {
          repo      = "string"
          directory = "string"
          ref       = "string"
        }
        input_values = [{
          "inputValue"   = "string"
          "variableName" = "string"
        }]
      }
      service_account           = "string"
      force_destroy             = false
      import_existing_resources = false
      labels = {
        "string" = "string"
      }
      annotations = {
        "string" = "string"
      }
      name                  = "string"
      project               = "string"
      quota_validation      = "string"
      deletion_policy       = "string"
      artifacts_gcs_bucket  = "string"
      tf_version_constraint = "string"
      worker_pool           = "string"
    }
    
    var gcpDeploymentResource = new com.pulumi.gcp.configdeployment.Deployment("gcpDeploymentResource", com.pulumi.gcp.configdeployment.DeploymentArgs.builder()
        .location("string")
        .terraformBlueprint(DeploymentTerraformBlueprintArgs.builder()
            .gcsSource("string")
            .gitSource(DeploymentTerraformBlueprintGitSourceArgs.builder()
                .repo("string")
                .directory("string")
                .ref("string")
                .build())
            .inputValues(DeploymentTerraformBlueprintInputValueArgs.builder()
                .inputValue("string")
                .variableName("string")
                .build())
            .build())
        .serviceAccount("string")
        .forceDestroy(false)
        .importExistingResources(false)
        .labels(Map.of("string", "string"))
        .annotations(Map.of("string", "string"))
        .name("string")
        .project("string")
        .quotaValidation("string")
        .deletionPolicy("string")
        .artifactsGcsBucket("string")
        .tfVersionConstraint("string")
        .workerPool("string")
        .build());
    
    gcp_deployment_resource = gcp.configdeployment.Deployment("gcpDeploymentResource",
        location="string",
        terraform_blueprint={
            "gcs_source": "string",
            "git_source": {
                "repo": "string",
                "directory": "string",
                "ref": "string",
            },
            "input_values": [{
                "input_value": "string",
                "variable_name": "string",
            }],
        },
        service_account="string",
        force_destroy=False,
        import_existing_resources=False,
        labels={
            "string": "string",
        },
        annotations={
            "string": "string",
        },
        name="string",
        project="string",
        quota_validation="string",
        deletion_policy="string",
        artifacts_gcs_bucket="string",
        tf_version_constraint="string",
        worker_pool="string")
    
    const gcpDeploymentResource = new gcp.configdeployment.Deployment("gcpDeploymentResource", {
        location: "string",
        terraformBlueprint: {
            gcsSource: "string",
            gitSource: {
                repo: "string",
                directory: "string",
                ref: "string",
            },
            inputValues: [{
                inputValue: "string",
                variableName: "string",
            }],
        },
        serviceAccount: "string",
        forceDestroy: false,
        importExistingResources: false,
        labels: {
            string: "string",
        },
        annotations: {
            string: "string",
        },
        name: "string",
        project: "string",
        quotaValidation: "string",
        deletionPolicy: "string",
        artifactsGcsBucket: "string",
        tfVersionConstraint: "string",
        workerPool: "string",
    });
    
    type: gcp:configdeployment:Deployment
    properties:
        annotations:
            string: string
        artifactsGcsBucket: string
        deletionPolicy: string
        forceDestroy: false
        importExistingResources: false
        labels:
            string: string
        location: string
        name: string
        project: string
        quotaValidation: string
        serviceAccount: string
        terraformBlueprint:
            gcsSource: string
            gitSource:
                directory: string
                ref: string
                repo: string
            inputValues:
                - inputValue: string
                  variableName: string
        tfVersionConstraint: string
        workerPool: string
    

    Deployment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Deployment resource accepts the following input properties:

    Location string
    The location for the resource
    ServiceAccount string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    TerraformBlueprint DeploymentTerraformBlueprint
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    Annotations Dictionary<string, string>
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    ArtifactsGcsBucket string
    Location for Cloud Build logs and artifacts.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    ForceDestroy bool
    If true, deletes the deployment and its nested resources.
    ImportExistingResources bool
    If true, attempts to automatically import resources on 409 conflict.
    Labels Dictionary<string, string>
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Name string
    The user-specified ID of the deployment.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    QuotaValidation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    TfVersionConstraint string
    Optional constraint on the Terraform version.
    WorkerPool string
    Custom Cloud Build worker pool resource name.
    Location string
    The location for the resource
    ServiceAccount string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    TerraformBlueprint DeploymentTerraformBlueprintArgs
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    Annotations map[string]string
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    ArtifactsGcsBucket string
    Location for Cloud Build logs and artifacts.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    ForceDestroy bool
    If true, deletes the deployment and its nested resources.
    ImportExistingResources bool
    If true, attempts to automatically import resources on 409 conflict.
    Labels map[string]string
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Name string
    The user-specified ID of the deployment.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    QuotaValidation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    TfVersionConstraint string
    Optional constraint on the Terraform version.
    WorkerPool string
    Custom Cloud Build worker pool resource name.
    location string
    The location for the resource
    service_account string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    terraform_blueprint object
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    annotations map(string)
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifacts_gcs_bucket string
    Location for Cloud Build logs and artifacts.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    force_destroy bool
    If true, deletes the deployment and its nested resources.
    import_existing_resources bool
    If true, attempts to automatically import resources on 409 conflict.
    labels map(string)
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    name string
    The user-specified ID of the deployment.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    quota_validation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    tf_version_constraint string
    Optional constraint on the Terraform version.
    worker_pool string
    Custom Cloud Build worker pool resource name.
    location String
    The location for the resource
    serviceAccount String
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    terraformBlueprint DeploymentTerraformBlueprint
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    annotations Map<String,String>
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifactsGcsBucket String
    Location for Cloud Build logs and artifacts.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    forceDestroy Boolean
    If true, deletes the deployment and its nested resources.
    importExistingResources Boolean
    If true, attempts to automatically import resources on 409 conflict.
    labels Map<String,String>
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    name String
    The user-specified ID of the deployment.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    quotaValidation String
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    tfVersionConstraint String
    Optional constraint on the Terraform version.
    workerPool String
    Custom Cloud Build worker pool resource name.
    location string
    The location for the resource
    serviceAccount string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    terraformBlueprint DeploymentTerraformBlueprint
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    annotations {[key: string]: string}
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifactsGcsBucket string
    Location for Cloud Build logs and artifacts.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    forceDestroy boolean
    If true, deletes the deployment and its nested resources.
    importExistingResources boolean
    If true, attempts to automatically import resources on 409 conflict.
    labels {[key: string]: string}
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    name string
    The user-specified ID of the deployment.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    quotaValidation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    tfVersionConstraint string
    Optional constraint on the Terraform version.
    workerPool string
    Custom Cloud Build worker pool resource name.
    location str
    The location for the resource
    service_account str
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    terraform_blueprint DeploymentTerraformBlueprintArgs
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    annotations Mapping[str, str]
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifacts_gcs_bucket str
    Location for Cloud Build logs and artifacts.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    force_destroy bool
    If true, deletes the deployment and its nested resources.
    import_existing_resources bool
    If true, attempts to automatically import resources on 409 conflict.
    labels Mapping[str, str]
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    name str
    The user-specified ID of the deployment.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    quota_validation str
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    tf_version_constraint str
    Optional constraint on the Terraform version.
    worker_pool str
    Custom Cloud Build worker pool resource name.
    location String
    The location for the resource
    serviceAccount String
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    terraformBlueprint Property Map
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    annotations Map<String>
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifactsGcsBucket String
    Location for Cloud Build logs and artifacts.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    forceDestroy Boolean
    If true, deletes the deployment and its nested resources.
    importExistingResources Boolean
    If true, attempts to automatically import resources on 409 conflict.
    labels Map<String>
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    name String
    The user-specified ID of the deployment.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    quotaValidation String
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    tfVersionConstraint String
    Optional constraint on the Terraform version.
    workerPool String
    Custom Cloud Build worker pool resource name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:

    EffectiveAnnotations Dictionary<string, string>
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestRevision string
    Output only. Revision name most recently applied.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    Output only. Current state of the deployment.
    EffectiveAnnotations map[string]string
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestRevision string
    Output only. Revision name most recently applied.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    State string
    Output only. Current state of the deployment.
    effective_annotations map(string)
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    latest_revision string
    Output only. Revision name most recently applied.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    Output only. Current state of the deployment.
    effectiveAnnotations Map<String,String>
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    latestRevision String
    Output only. Revision name most recently applied.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    Output only. Current state of the deployment.
    effectiveAnnotations {[key: string]: string}
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    latestRevision string
    Output only. Revision name most recently applied.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state string
    Output only. Current state of the deployment.
    effective_annotations Mapping[str, str]
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    latest_revision str
    Output only. Revision name most recently applied.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state str
    Output only. Current state of the deployment.
    effectiveAnnotations Map<String>
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    latestRevision String
    Output only. Revision name most recently applied.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    state String
    Output only. Current state of the deployment.

    Look up Existing Deployment Resource

    Get an existing Deployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DeploymentState, opts?: CustomResourceOptions): Deployment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, str]] = None,
            artifacts_gcs_bucket: Optional[str] = None,
            deletion_policy: Optional[str] = None,
            effective_annotations: Optional[Mapping[str, str]] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            force_destroy: Optional[bool] = None,
            import_existing_resources: Optional[bool] = None,
            labels: Optional[Mapping[str, str]] = None,
            latest_revision: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            quota_validation: Optional[str] = None,
            service_account: Optional[str] = None,
            state: Optional[str] = None,
            terraform_blueprint: Optional[DeploymentTerraformBlueprintArgs] = None,
            tf_version_constraint: Optional[str] = None,
            worker_pool: Optional[str] = None) -> Deployment
    func GetDeployment(ctx *Context, name string, id IDInput, state *DeploymentState, opts ...ResourceOption) (*Deployment, error)
    public static Deployment Get(string name, Input<string> id, DeploymentState? state, CustomResourceOptions? opts = null)
    public static Deployment get(String name, Output<String> id, DeploymentState state, CustomResourceOptions options)
    resources:  _:    type: gcp:configdeployment:Deployment    get:      id: ${id}
    import {
      to = gcp_configdeployment_deployment.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Annotations Dictionary<string, string>
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    ArtifactsGcsBucket string
    Location for Cloud Build logs and artifacts.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    EffectiveAnnotations Dictionary<string, string>
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    ForceDestroy bool
    If true, deletes the deployment and its nested resources.
    ImportExistingResources bool
    If true, attempts to automatically import resources on 409 conflict.
    Labels Dictionary<string, string>
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    LatestRevision string
    Output only. Revision name most recently applied.
    Location string
    The location for the resource
    Name string
    The user-specified ID of the deployment.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    QuotaValidation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    ServiceAccount string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    State string
    Output only. Current state of the deployment.
    TerraformBlueprint DeploymentTerraformBlueprint
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    TfVersionConstraint string
    Optional constraint on the Terraform version.
    WorkerPool string
    Custom Cloud Build worker pool resource name.
    Annotations map[string]string
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    ArtifactsGcsBucket string
    Location for Cloud Build logs and artifacts.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    EffectiveAnnotations map[string]string
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    ForceDestroy bool
    If true, deletes the deployment and its nested resources.
    ImportExistingResources bool
    If true, attempts to automatically import resources on 409 conflict.
    Labels map[string]string
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    LatestRevision string
    Output only. Revision name most recently applied.
    Location string
    The location for the resource
    Name string
    The user-specified ID of the deployment.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    QuotaValidation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    ServiceAccount string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    State string
    Output only. Current state of the deployment.
    TerraformBlueprint DeploymentTerraformBlueprintArgs
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    TfVersionConstraint string
    Optional constraint on the Terraform version.
    WorkerPool string
    Custom Cloud Build worker pool resource name.
    annotations map(string)
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifacts_gcs_bucket string
    Location for Cloud Build logs and artifacts.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effective_annotations map(string)
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    force_destroy bool
    If true, deletes the deployment and its nested resources.
    import_existing_resources bool
    If true, attempts to automatically import resources on 409 conflict.
    labels map(string)
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    latest_revision string
    Output only. Revision name most recently applied.
    location string
    The location for the resource
    name string
    The user-specified ID of the deployment.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    quota_validation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    service_account string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    state string
    Output only. Current state of the deployment.
    terraform_blueprint object
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    tf_version_constraint string
    Optional constraint on the Terraform version.
    worker_pool string
    Custom Cloud Build worker pool resource name.
    annotations Map<String,String>
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifactsGcsBucket String
    Location for Cloud Build logs and artifacts.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effectiveAnnotations Map<String,String>
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    forceDestroy Boolean
    If true, deletes the deployment and its nested resources.
    importExistingResources Boolean
    If true, attempts to automatically import resources on 409 conflict.
    labels Map<String,String>
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    latestRevision String
    Output only. Revision name most recently applied.
    location String
    The location for the resource
    name String
    The user-specified ID of the deployment.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    quotaValidation String
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    serviceAccount String
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    state String
    Output only. Current state of the deployment.
    terraformBlueprint DeploymentTerraformBlueprint
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    tfVersionConstraint String
    Optional constraint on the Terraform version.
    workerPool String
    Custom Cloud Build worker pool resource name.
    annotations {[key: string]: string}
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifactsGcsBucket string
    Location for Cloud Build logs and artifacts.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effectiveAnnotations {[key: string]: string}
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    forceDestroy boolean
    If true, deletes the deployment and its nested resources.
    importExistingResources boolean
    If true, attempts to automatically import resources on 409 conflict.
    labels {[key: string]: string}
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    latestRevision string
    Output only. Revision name most recently applied.
    location string
    The location for the resource
    name string
    The user-specified ID of the deployment.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    quotaValidation string
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    serviceAccount string
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    state string
    Output only. Current state of the deployment.
    terraformBlueprint DeploymentTerraformBlueprint
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    tfVersionConstraint string
    Optional constraint on the Terraform version.
    workerPool string
    Custom Cloud Build worker pool resource name.
    annotations Mapping[str, str]
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifacts_gcs_bucket str
    Location for Cloud Build logs and artifacts.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effective_annotations Mapping[str, str]
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    force_destroy bool
    If true, deletes the deployment and its nested resources.
    import_existing_resources bool
    If true, attempts to automatically import resources on 409 conflict.
    labels Mapping[str, str]
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    latest_revision str
    Output only. Revision name most recently applied.
    location str
    The location for the resource
    name str
    The user-specified ID of the deployment.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    quota_validation str
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    service_account str
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    state str
    Output only. Current state of the deployment.
    terraform_blueprint DeploymentTerraformBlueprintArgs
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    tf_version_constraint str
    Optional constraint on the Terraform version.
    worker_pool str
    Custom Cloud Build worker pool resource name.
    annotations Map<String>
    Optional. Arbitrary key-value metadata storage. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
    artifactsGcsBucket String
    Location for Cloud Build logs and artifacts.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effectiveAnnotations Map<String>
    All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    forceDestroy Boolean
    If true, deletes the deployment and its nested resources.
    importExistingResources Boolean
    If true, attempts to automatically import resources on 409 conflict.
    labels Map<String>
    Optional. User-defined metadata for the deployment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    latestRevision String
    Output only. Revision name most recently applied.
    location String
    The location for the resource
    name String
    The user-specified ID of the deployment.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    quotaValidation String
    Controls quota checks. Possible values are: ENABLED, ENFORCED.
    serviceAccount String
    Required. User-specified Service Account (SA) credentials to be used when actuating resources.
    state String
    Output only. Current state of the deployment.
    terraformBlueprint Property Map
    A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
    tfVersionConstraint String
    Optional constraint on the Terraform version.
    workerPool String
    Custom Cloud Build worker pool resource name.

    Supporting Types

    DeploymentTerraformBlueprint, DeploymentTerraformBlueprintArgs

    GcsSource string
    URI of a GCS object containing the zipped Terraform blueprint.
    GitSource DeploymentTerraformBlueprintGitSource
    Public Git repository containing the blueprint. Structure is documented below.
    InputValues List<DeploymentTerraformBlueprintInputValue>
    Input variables for the Terraform blueprint. Structure is documented below.
    GcsSource string
    URI of a GCS object containing the zipped Terraform blueprint.
    GitSource DeploymentTerraformBlueprintGitSource
    Public Git repository containing the blueprint. Structure is documented below.
    InputValues []DeploymentTerraformBlueprintInputValue
    Input variables for the Terraform blueprint. Structure is documented below.
    gcs_source string
    URI of a GCS object containing the zipped Terraform blueprint.
    git_source object
    Public Git repository containing the blueprint. Structure is documented below.
    input_values list(object)
    Input variables for the Terraform blueprint. Structure is documented below.
    gcsSource String
    URI of a GCS object containing the zipped Terraform blueprint.
    gitSource DeploymentTerraformBlueprintGitSource
    Public Git repository containing the blueprint. Structure is documented below.
    inputValues List<DeploymentTerraformBlueprintInputValue>
    Input variables for the Terraform blueprint. Structure is documented below.
    gcsSource string
    URI of a GCS object containing the zipped Terraform blueprint.
    gitSource DeploymentTerraformBlueprintGitSource
    Public Git repository containing the blueprint. Structure is documented below.
    inputValues DeploymentTerraformBlueprintInputValue[]
    Input variables for the Terraform blueprint. Structure is documented below.
    gcs_source str
    URI of a GCS object containing the zipped Terraform blueprint.
    git_source DeploymentTerraformBlueprintGitSource
    Public Git repository containing the blueprint. Structure is documented below.
    input_values Sequence[DeploymentTerraformBlueprintInputValue]
    Input variables for the Terraform blueprint. Structure is documented below.
    gcsSource String
    URI of a GCS object containing the zipped Terraform blueprint.
    gitSource Property Map
    Public Git repository containing the blueprint. Structure is documented below.
    inputValues List<Property Map>
    Input variables for the Terraform blueprint. Structure is documented below.

    DeploymentTerraformBlueprintGitSource, DeploymentTerraformBlueprintGitSourceArgs

    Repo string
    Repository URL.
    Directory string
    Subdirectory within the repo.
    Ref string
    Git reference (branch or tag).
    Repo string
    Repository URL.
    Directory string
    Subdirectory within the repo.
    Ref string
    Git reference (branch or tag).
    repo string
    Repository URL.
    directory string
    Subdirectory within the repo.
    ref string
    Git reference (branch or tag).
    repo String
    Repository URL.
    directory String
    Subdirectory within the repo.
    ref String
    Git reference (branch or tag).
    repo string
    Repository URL.
    directory string
    Subdirectory within the repo.
    ref string
    Git reference (branch or tag).
    repo str
    Repository URL.
    directory str
    Subdirectory within the repo.
    ref str
    Git reference (branch or tag).
    repo String
    Repository URL.
    directory String
    Subdirectory within the repo.
    ref String
    Git reference (branch or tag).

    DeploymentTerraformBlueprintInputValue, DeploymentTerraformBlueprintInputValueArgs

    InputValue string
    The value of the variable.
    VariableName string
    The identifier for this object. Format specified above.
    InputValue string
    The value of the variable.
    VariableName string
    The identifier for this object. Format specified above.
    input_value string
    The value of the variable.
    variable_name string
    The identifier for this object. Format specified above.
    inputValue String
    The value of the variable.
    variableName String
    The identifier for this object. Format specified above.
    inputValue string
    The value of the variable.
    variableName string
    The identifier for this object. Format specified above.
    input_value str
    The value of the variable.
    variable_name str
    The identifier for this object. Format specified above.
    inputValue String
    The value of the variable.
    variableName String
    The identifier for this object. Format specified above.

    Import

    Deployment can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/deployments/{{name}}
    • {{project}}/{{location}}/{{name}}
    • {{location}}/{{name}}

    When using the pulumi import command, Deployment can be imported using one of the formats above. For example:

    $ pulumi import gcp:configdeployment/deployment:Deployment default projects/{{project}}/locations/{{location}}/deployments/{{name}}
    $ pulumi import gcp:configdeployment/deployment:Deployment default {{project}}/{{location}}/{{name}}
    $ pulumi import gcp:configdeployment/deployment:Deployment default {{location}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.26.0
    published on Tuesday, Jun 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial