Job: terraform-plan

run terraform plan on the specified directory and save the output plan.tfplan and plan.json

Usage

include:
  - component: gitlab.com/release-process/terraform/terraform-plan@0.1.0

Inputs

NameDescriptionDefault
argsadditional arguments to pass to the terraform plan command``
dirthe directory to build.
init_argsadditional arguments to pass to the terraform init command-lockfile=readonly
nameThe name of the job applicationterraform:terraform-plan
stagestage of the jobbuild
versionterraform version to use for building1.8

Artifacts

  • $[[ inputs.dir ]]/plan.tfplan
  • $[[ inputs.dir ]]/plan.json

Expires in: 1 week.