added terraform readme

This commit is contained in:
2020-08-09 14:45:18 +09:00
parent 56b3448138
commit f4dab8360d
2 changed files with 17 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
1. Create AMI
1. assume $env is one of ~~nonprod, uat,~~ prod
1. $ cd packer
1. $ packer build -var-file=vars/${env}/vars.json catherine-fc.json
2. $ cd packer
3. $ packer build -var-file=vars/${env}/vars.json catherine-fc.json

15
infra/terraform/readme.md Normal file
View File

@@ -0,0 +1,15 @@
## Infrastructure scripting tools
* Terraform
- Build Application Environment
1. Create env
1. assume $env is one of ~~nonprod, uat,~~ prod
2. $ cd environemnts
3. $ terraform init
4. $ terraform workspace new prod
5. $ terraform plan
6. $ terraform apply