Terraform CLI with YAML

YAML parameters for Terraform CLI

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to TERRAFORM.
execute_commands RequiredStringThe commands that will be executed.
integrationStringThe ID of the Google or Amazon integration.
shellStringThe name of the shell that will be used to execute commands. Can be SH.
setup_commandsStringThe command that will be executed only on the first run.
version RequiredStringThe version of the Terraform CLI.

YAML example for Terraform CLI

yaml
actions: - 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