stockopedia/Stockopedia's Terraform runner

GitHub Action that expores the Stockopedia Terraform stack, uses the changed file list in the current PR, and runs `terraform plan` on each changed stack.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
CHANGED_FILE_LISTA comma separated list of file paths, indicating files that have changed in the current PR. If all files in the repository are passed in, this will re-plan the entire stack.yes[]
BASE_DIRECTORYThe base directory of the terraform project. Used to look up the ./environments/ folder under it.no/app
DISABLE_NON_AWS_CHANGESCan have any value. If present, only aws provided layers will be considered by terraform.no""
APPLY_MODEDetermines whether the script should also run 'terraform apply' after the 'terraform plan' step. Disabled by default.nofalse
namedescription
terraform_plan_outputOutput from the Terraform Plan action(s). If multiple plans ran, the plans will be separated by 2 line separators.
terraform_apply_outputOutput from the Terraform Apply action(s). This will be empty if APPLY_MODE was not set to true. If multiple plans ran, the plans will be separated by 2 line separators.
terraform_error_outputError outputs from any of the steps (Init, Plan, Apply). If multiple plans ran, the plans will be separated by 2 line separators.