actions-marketplace-validations/terraform-plan-storage
A GitHub Action securely store Terraform plan files in an S3 bucket with metadata storage in DynamoDB
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| action | which action to perform. Valid values are: 'storePlan', 'getPlan', 'taintPlan' | yes | storePlan |
| blobAccountName | the name of the Azure Blob Storage account to store the plan file | no | — |
| blobContainerName | the name of the Azure Blob Storage container to store the plan file | no | — |
| bucketName | the name of the S3 or GCS bucket to store the plan file | no | terraform-plan-storage |
| commitSHA | Commit SHA to use for fetching plan | no | "" |
| component | the name of the component corresponding to the plan file | no | — |
| cosmosConnectionString | the connection string to the CosmosDB account to store the metadata | no | — |
| cosmosContainerName | the name of the CosmosDB container to store the metadata | no | — |
| cosmosDatabaseName | the name of the CosmosDB database to store the metadata | no | — |
| cosmosEndpoint | the endpoint of the CosmosDB account to store the metadata | no | — |
| failOnMissingPlan | Fail if plan is missing | no | true |
| metadataRepositoryType | the type of repository where the plan file is stored. Valid values are: 'dynamo', 'cosmodb', 'firestore' | no | dynamo |
| planPath | path to the Terraform plan file. Required for 'storePlan' and 'getPlan' actions | — | — |
| planRepositoryType | the type of repository where the metadata is stored. Valid values are: 's3', 'azureblob', 'gcs' | no | s3 |
| stack | the name of the stack corresponding to the plan file | no | — |
| tableName | the name of the dynamodb table to store metadata | no | terraform-plan-storage |
| gcpProjectId | the Google Cloud project ID for GCP services (GCS, Firestore) | no | — |
| gcpFirestoreDatabaseName | the name of the Firestore database to store the metadata | no | (default) |
| gcpFirestoreCollectionName | the name of the Firestore collection to store the metadata | no | terraform-plan-storage |
Outputs
no outputs