josiahsiegel/Generate Terraform statistics

Output Terraform stats for drift and pending changes

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 25, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: josiahsiegel/terraform-stats@68b8cbe42c494333fbf6f8d90ac86da1fb69dcc2 # v1.6

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

namedescriptionrequireddefault
terraform-directoryTerraform commands will run in this location.yes./terraform
include-no-op"no-op" refers to the before and after Terraform changes are identical as a value will only be known after apply.yesfalse
add-argsPass additional arguments to Terraform plan.yes""
upload-planUpload plan file. true or falseyesfalse
upload-retention-daysNumber of days to keep uploaded plan.yes7
plan-fileName of plan file.yestf__stats__plan.bin
terraform-versionSpecify a specific version of Terraformyeslatest
namedescription
terraform-versionTerraform version
drift-countCount of drifts
resource-driftsJSON output of resource drifts
change-countCount of changes
resource-changesJSON output of resource changes
change-percentPercentage of changes to total resources