Terraform CLI with YAML
YAML parameters for Terraform CLI
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to TERRAFORM . |
execute_commands Required | String | The commands that will be executed. |
integration_hash | String | The ID of the Google or Amazon integration. |
shell | String | The name of the shell that will be used to execute commands. Can be SH . |
setup_commands | String | The command that will be executed only on the first run. |
version Required | String | The version of the Terraform CLI. |
YAML example for Terraform CLI
- action: "Run Terraform commands"
type: "TERRAFORM"
version: "latest"
execute_commands:
- "terraform init -input=false"
- "terraform plan -input=false"
- "#terraform apply -auto-approve -input=false"
shell: "SH"
integration_hash: "5ddb7c180fb38be67bd78a88a"
Last modified on September 21, 2022