Skip to main content

GitHub Action: terraform-plan-storage

A GitHub Action to securely store Terraform plan files in an S3 bucket with metadata storage in DynamoDB.

Introduction

This is an introduction.

Usage

TODO: Add usage instructions

Examples

TODO: Add examples

Inputs

NameDescriptionDefaultRequired
actionwhich action to perform. Valid values are: 'storePlan', 'getPlan', 'taintPlan'storePlantrue
bucketNamethe name of the S3 bucket to store the plan fileterraform-plan-storagetrue
commitSHACommit SHA to use for fetching planfalse
componentthe name of the component corresponding to the plan fileN/Afalse
failOnMissingPlanFail if plan is missingtruefalse
planPathpath to the Terraform plan file. Required for 'storePlan' and 'getPlan' actionsN/Afalse
stackthe name of the stack corresponding to the plan fileN/Afalse
tableNamethe name of the dynamodb table to store metadataterraform-plan-storagetrue

Outputs

NameDescription