Terraform CLI with YAML

YAML parameters for Terraform CLI

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to TERRAFORM.
execute_commands
Required
StringThe commands that will be executed.
integration_hashStringThe 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
Required
StringThe 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

Get Started

Sign up for free and deploy your project in less than 10 minutes.