terraform_versions
Creates, updates, deletes, gets or lists a terraform_versions
resource.
Overview
Name | terraform_versions |
Type | Resource |
Id | google.config.terraform_versions |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'. |
deprecateTime | string | Output only. When the version is deprecated. |
obsoleteTime | string | Output only. When the version is obsolete. |
state | string | Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE. |
supportTime | string | Output only. When the version is supported. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, projectsId, terraformVersionsId | Gets details about a TerraformVersion. |
list | SELECT | locationsId, projectsId | Lists TerraformVersions in a given project and location. |
SELECT
examples
Lists TerraformVersions in a given project and location.
SELECT
name,
deprecateTime,
obsoleteTime,
state,
supportTime
FROM google.config.terraform_versions
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';