The speee/terraform-plan-action
action is a CI action that runs terraform plan
beside your pull requests and gives result summaries.
- uses: speee/terraform-plan-action@v1
with:
working-directory: terraform/dir/
This action supports the following inputs.
Required.
Relative path from repository root to your terraform root module. Default is .
.
Optional.
Flag to determine whether state lock will be enabled. Default is true
.
stdout of plan execution.
stderr of plan execution.
stdout of plan execution without logs during plan.
JSON strings of resources to be replaced.
An example output format is like below.
["aws_iam_user.foo","aws_iam_user.bar"]
JSON strings of resources to be created.
An example output format is same as resources-to-be-created
.
JSON strings of resources to be deleted.
An example output format is same as resources-to-be-created
.
JSON strings of resources to be updated.
An example output format is same as resources-to-be-created
.
A flag that indicates whether the plan has changes.