dmytrolevin-fn/terraform-plan

Create a Terraform plan

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 29, 2024
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: dmytrolevin-fn/terraform-plan@1835896a7426220a7b0f517be3494a598d5db4ef # v4

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathPath to the Terraform configurationno.
workspaceName of the Terraform workspacenodefault
backend_configList of backend config values to set, one per lineno""
backend_config_filePath to a backend config fileno""
variablesVariable definitionsno
varComma separated list of vars to set, e.g. 'foo=bar'no
var_fileList of var file paths, one per lineno
parallelismLimit the number of concurrent operationsno0
targetList of resources to target for the plan, one per lineno""
replaceList of resources to replace if an update is required, one per lineno""
destroyCreate a plan to destroy all resourcesnofalse
labelA friendly name for this planno""
add_github_commentAdd the plan to a GitHub PRnotrue
namedescription
changesIf the generated plan would update any resources or outputs this is set to `true`, otherwise it's set to `false`.
to_addThe number of resources that would be added by this plan
to_changeThe number of resources that would be changed by this plan
to_destroyThe number of resources that would be destroyed by this plan
plan_pathPath to a file in the workspace containing the generated plan in an opaque binary format.
text_plan_pathPath to a file in the workspace containing the generated plan in human readable format.
json_plan_pathPath to a file in the workspace containing the generated plan in JSON format.
run_idIf the root module uses the `remote` or `cloud` backend in remote execution mode, this output will be set to the remote run id.