actions-marketplace-validations/Digital Studio Operations Terraform Action

Validate, Plan and Deploy Terraform Code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
apply-on-default-branch-onlyIf this flag is set to false it will run terraform apply on any branch, if it's true only on the default branch, normally main/masternotrue
apply-on-pull-requestIf this flag is set to true it will run terraform apply on the pull_request event, e.g. if you want to the run tests on the deployed infranofalse
detect-driftIf this flag is set to true the terraform plan can have drift, which normally would return an exit code of 2, thus causing the action to fail.nofalse
github-tokenGithub Token should just generally be secrets.GITHUB_TOKENno
comment-prefixThis string will be added to comments before the output of the terraform plan|applyno
terraform-output-as-commentIf set to true, the plan and apply outputs will be added as a comment to the prnotrue
upgrade-on-initIf set to true, the terraform init will run with -upgrade flagnofalse
validateIf set to true, it will run terraform validate on the working-directorynotrue
working-directoryDirectory for the Terraform files, if not specified it will run from current directoryno
namedescription
terraform-plan-exit-codeThis is the output of the terraform plan command. Only set if detect-drift is set to true