Based on the following Terraform example.
Assumes:
- AWS credentials are passed as environment variables
- See
AWS_*
arguments here
- See
cp terraform.tfvars.sample terraform.tfvars
Amend the values for
alias
export AWS_ACCESS_KEY_ID="xxx"
export AWS_SECRET_ACCESS_KEY="xxx"
export AWS_DEFAULT_REGION="xxx"
Replace occurrences of
xxx
above with appropriate values
./create-secrets-manager.sh
./destroy-secrets-manager.sh
This action is workflow dispatched with inputs.