published on Tuesday, Jun 9, 2026 by Pulumi
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
- Service
Account string - Required. User-specified Service Account (SA) credentials to be used when actuating resources.
- Terraform
Blueprint DeploymentTerraform Blueprint - 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
effectiveAnnotationsfor all of the annotations present on the resource. - Artifacts
Gcs stringBucket - 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 boolResources - 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
effectiveLabelsfor 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 stringConstraint - Optional constraint on the Terraform version.
- Worker
Pool 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 DeploymentTerraform Blueprint Args - 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
effectiveAnnotationsfor all of the annotations present on the resource. - Artifacts
Gcs stringBucket - 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 boolResources - 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
effectiveLabelsfor 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 stringConstraint - Optional constraint on the Terraform version.
- Worker
Pool 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts_
gcs_ stringbucket - 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_ boolresources - 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
effectiveLabelsfor 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_ stringconstraint - Optional constraint on the Terraform version.
- worker_
pool 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 DeploymentTerraform Blueprint - 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts
Gcs StringBucket - 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 Boolean - If true, deletes the deployment and its nested resources.
- import
Existing BooleanResources - 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
effectiveLabelsfor 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 StringConstraint - Optional constraint on the Terraform version.
- worker
Pool 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 DeploymentTerraform Blueprint - 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts
Gcs stringBucket - 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 boolean - If true, deletes the deployment and its nested resources.
- import
Existing booleanResources - 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
effectiveLabelsfor 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 stringConstraint - Optional constraint on the Terraform version.
- worker
Pool 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 DeploymentTerraform Blueprint Args - 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts_
gcs_ strbucket - 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_ boolresources - 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
effectiveLabelsfor 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_ strconstraint - Optional constraint on the Terraform version.
- worker_
pool str - 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 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts
Gcs StringBucket - 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 Boolean - If true, deletes the deployment and its nested resources.
- import
Existing BooleanResources - 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
effectiveLabelsfor 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 StringConstraint - Optional constraint on the Terraform version.
- worker
Pool 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:
- Effective
Annotations 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.
- Effective
Labels 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.
- Latest
Revision string - Output only. Revision name most recently applied.
- Pulumi
Labels 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.
- Effective
Annotations 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.
- Effective
Labels 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.
- Latest
Revision string - Output only. Revision name most recently applied.
- Pulumi
Labels 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.
- effective
Annotations 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.
- effective
Labels 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.
- latest
Revision String - Output only. Revision name most recently applied.
- pulumi
Labels 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 {[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.
- effective
Labels {[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.
- latest
Revision string - Output only. Revision name most recently applied.
- pulumi
Labels {[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.
- 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.
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) -> Deploymentfunc 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.
- 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
effectiveAnnotationsfor all of the annotations present on the resource. - Artifacts
Gcs stringBucket - 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 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.
- Effective
Labels 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.
- Force
Destroy bool - If true, deletes the deployment and its nested resources.
- Import
Existing boolResources - 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
effectiveLabelsfor 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 Dictionary<string, 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 DeploymentTerraform Blueprint - A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
- Tf
Version stringConstraint - 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
effectiveAnnotationsfor all of the annotations present on the resource. - Artifacts
Gcs stringBucket - 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]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]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 boolResources - 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
effectiveLabelsfor 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]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 DeploymentTerraform Blueprint Args - A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
- Tf
Version stringConstraint - Optional constraint on the Terraform version.
- Worker
Pool 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts_
gcs_ stringbucket - 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_ boolresources - 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
effectiveLabelsfor 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_ stringconstraint - 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts
Gcs StringBucket - 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,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,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 Boolean - If true, deletes the deployment and its nested resources.
- import
Existing BooleanResources - 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
effectiveLabelsfor 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,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 DeploymentTerraform Blueprint - A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
- tf
Version StringConstraint - Optional constraint on the Terraform version.
- worker
Pool 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts
Gcs stringBucket - 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 {[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.
- effective
Labels {[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.
- force
Destroy boolean - If true, deletes the deployment and its nested resources.
- import
Existing booleanResources - 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
effectiveLabelsfor 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 {[key: string]: 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 DeploymentTerraform Blueprint - A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
- tf
Version stringConstraint - Optional constraint on the Terraform version.
- worker
Pool 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts_
gcs_ strbucket - 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_ boolresources - 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
effectiveLabelsfor 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 DeploymentTerraform Blueprint Args - A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
- tf_
version_ strconstraint - 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
effectiveAnnotationsfor all of the annotations present on the resource. - artifacts
Gcs StringBucket - 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 Boolean - If true, deletes the deployment and its nested resources.
- import
Existing BooleanResources - 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
effectiveLabelsfor 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 Property Map - A bundle of HCL files in a GCS bucket or Git repo. Structure is documented below.
- tf
Version StringConstraint - Optional constraint on the Terraform version.
- worker
Pool String - Custom Cloud Build worker pool resource name.
Supporting Types
DeploymentTerraformBlueprint, DeploymentTerraformBlueprintArgs
- Gcs
Source string - URI of a GCS object containing the zipped Terraform blueprint.
- Git
Source DeploymentTerraform Blueprint Git Source - Public Git repository containing the blueprint. Structure is documented below.
- Input
Values List<DeploymentTerraform Blueprint Input Value> - 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 DeploymentTerraform Blueprint Git Source - Public Git repository containing the blueprint. Structure is documented below.
- Input
Values []DeploymentTerraform Blueprint Input Value - 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.
- gcs
Source String - URI of a GCS object containing the zipped Terraform blueprint.
- git
Source DeploymentTerraform Blueprint Git Source - Public Git repository containing the blueprint. Structure is documented below.
- input
Values List<DeploymentTerraform Blueprint Input Value> - 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 DeploymentTerraform Blueprint Git Source - Public Git repository containing the blueprint. Structure is documented below.
- input
Values DeploymentTerraform Blueprint Input Value[] - 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 DeploymentTerraform Blueprint Git Source - Public Git repository containing the blueprint. Structure is documented below.
- input_
values Sequence[DeploymentTerraform Blueprint Input Value] - 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 Property Map - Public Git repository containing the blueprint. Structure is documented below.
- input
Values List<Property Map> - Input variables for the Terraform blueprint. Structure is documented below.
DeploymentTerraformBlueprintGitSource, DeploymentTerraformBlueprintGitSourceArgs
DeploymentTerraformBlueprintInputValue, DeploymentTerraformBlueprintInputValueArgs
- Input
Value string - The value of the variable.
- Variable
Name 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.
- input_
value string - The value of the variable.
- variable_
name 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.
- input
Value string - The value of the variable.
- variable
Name 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.
- input
Value String - The value of the variable.
- variable
Name 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-betaTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumi