TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.
| JSON representation |
|---|
{ "inputValues" : { string : { object ( |
inputValues
map (key: string, value: object (
TerraformVariable
))
Optional. Input variable values for the Terraform blueprint.
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
externalValues
map (key: string, value: object (
ExternalValueSource
))
Optional. Map of input variable names in this blueprint to configurations for importing values from external sources.
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
source
. Location of the source configs. Required. source
can be only one of the following:gcsSource
string
URI of an object in Google Cloud Storage. Format: gs://{bucket}/{object}
URI may also specify an object version for zipped objects. Format: gs://{bucket}/{object}#{version}
gitSource
object (
GitSource
)
URI of a public Git repo.
GitSource
A set of files in a Git repository.
| JSON representation |
|---|
{ "repo" : string , "directory" : string , "ref" : string } |
| Fields | |
|---|---|
repo
|
Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git' |
directory
|
Optional. Subdirectory inside the repository. Example: 'staging/my-package' |
ref
|
Optional. Git reference (e.g. branch or tag). |
TerraformVariable
A Terraform input variable.
| JSON representation |
|---|
{ "inputValue" : value } |
| Fields | |
|---|---|
inputValue
|
Optional. Input variable value. |
ExternalValueSource
Configuration for a source of an external value.
| JSON representation |
|---|
{ // Union field |
source
. The source of the external value. source
can be only one of the following:deploymentSource
object (
DeploymentSource
)
A source from a Deployment.
DeploymentSource
Configuration for a value sourced from a Deployment.
| JSON representation |
|---|
{ "deployment" : string , "outputName" : string } |
| Fields | |
|---|---|
deployment
|
Required. The resource name of the source Deployment to import the output from. Format: projects/{project}/locations/{location}/deployments/{deployment} The source deployment must be in the same project and location. |
outputName
|
Required. The name of the output variable in the source deployment's latest successfully applied revision. |

