TerraformBlueprint

TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.

JSON representation
{
  "inputValues": {
    string: {
      object (TerraformVariable)
    },
    ...
  },

  // Union field source can be only one of the following:
  "gcsSource": string,
  "gitSource": {
    object (GitSource)
  }
  // End of list of possible types for union field source.
}
Fields
inputValues

map (key: string, value: object (TerraformVariable))

Input variable values for the Terraform blueprint.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Union field source. Location of the source configs. source can be only one of the following:
gcsSource

string

Required. 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)

Required. 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

string

Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'

directory

string

Optional. Subdirectory inside the repository. Example: 'staging/my-package'

ref

string

Optional. Git reference (e.g. branch or tag).

TerraformVariable

A Terraform input variable.

JSON representation
{
  "inputValue": value
}
Fields
inputValue

value (Value format)

Input variable value.