Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1005 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 1005 Bytes

terraform-env-demo

replace

Create bucket and dynamodb for Terraform backend.

# aws sts get-caller-identity

./replace.sh

# ACCOUNT_ID = 123456789012
# REGION = ap-northeast-2
# BUCKET = terraform-workshop-123456789012

for atlantis

export GITHUB_USERNAME="nalbam"

aws ssm put-parameter --name "/common/github/$GITHUB_USERNAME/token" --value ""  --type SecureString --overwrite | jq .

aws ssm put-parameter --name "/common/google/client_id" --value ""  --type SecureString --overwrite | jq .
aws ssm put-parameter --name "/common/google/client_secret" --value ""  --type SecureString --overwrite | jq .

aws ssm put-parameter --name "/k8s/common/infracost/api-key" --value ""  --type SecureString --overwrite | jq .
aws ssm put-parameter --name "/k8s/common/infracost/self-hosted-api-key" --value ""  --type SecureString --overwrite | jq .
aws ssm put-parameter --name "/k8s/common/infracost/pricing-api-endpoint" --value ""  --type SecureString --overwrite | jq .