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 | 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
yamlactions: - 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: "my_integration"
Last modified on Sep 23, 2024