subhamay-bhattacharyya-gha/Terraform Destroy (Multi Cloud) and Summary

Destroys Terraform-managed infrastructure and displays a summary in the GitHub Step Summary.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
cloud-providerCloud provider for backend storage. Options: 'aws', 'azure', 'gcp', 'databricks', 'snowflake'yes
terraform-dirRelative path to the directory containing Terraform configuration files (e.g., 'tf', 'infrastructure').notf
release-tagGit release tag to check out. If omitted, the latest commit on the default branch is used.no""
ci-pipelineSet to 'true' to include the commit SHA in the Terraform state key (suitable for CI/CD). Use 'false' for static state keys.nofalse
backend-typeBackend type to use: 's3' for AWS S3 or 'remote' for HCP Terraform Cloud.nos3
s3-bucketName of the S3 bucket used as the backend for storing the Terraform state file (AWS only).no
s3-regionAWS region where the S3 backend bucket is located (e.g., us-east-1, eu-west-1) (AWS only).no
s3-key-prefixOptional prefix for the S3 state key (AWS only).no""
tfc-tokenHCP Terraform Cloud API token. Should be passed as a secret. Required when backend-type is 'remote'.no
aws-regionAWS region for authentication. Required when cloud-provider is 'aws'.no
aws-role-to-assumeAWS IAM role ARN to assume. Required when cloud-provider is 'aws'.no
gcp-wif-providerGCP Workload Identity Federation provider. Required when cloud-provider is 'gcp'.no
gcp-service-accountGCP service account email for authentication. Required when cloud-provider is 'gcp'.no
azure-client-idAzure client ID for authentication. Required when cloud-provider is 'azure'.no
azure-tenant-idAzure tenant ID for authentication. Required when cloud-provider is 'azure'.no
azure-subscription-idAzure subscription ID for authentication. Required when cloud-provider is 'azure'.no
snowflake-accountSnowflake account identifier. Required when cloud-provider is 'snowflake'.no
snowflake-userSnowflake user name. Required when cloud-provider is 'snowflake'.no
snowflake-roleSnowflake role name. Required when cloud-provider is 'snowflake'.no
snowflake-private-keySnowflake private key for authentication. Required when cloud-provider is 'snowflake'.no
databricks-hostDatabricks workspace URL. Required when cloud-provider is 'databricks'.no
databricks-tokenDatabricks personal access token. Required when cloud-provider is 'databricks'.no

no outputs