Skip to content

Sample of How to use Terraform managed Cloud Infrastructure as stack code

License

Notifications You must be signed in to change notification settings

Hoverhuang-er/terraform-starter-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-starter-repo

Sample of How to use Terraform managed Cloud Infrastructure as stack code

How to verify AWS Credentionals and Session

aws sts get-caller-identity

Create EC2 by Terraform

  • Initilze Terraform AWS Provider
cd compute/ec2 && terraform init
  • Show out EC2 resource when it want to build
cd compute/ec2 && terraform plan
  • Approval to Create AWS EC2
cd compute/ec2 && terraform apply

Create CodeDeploy with Blue/Green Deploy by Terraform

  • Initilze Terraform AWS Provider
cd developer-tools/codedeploy && terraform init
  • Show out EC2 resource when it want to build
cd developer-tools/codedeploy && terraform plan
  • Approval to Create AWS EC2
cd developer-tools/codedeploy && terraform apply

About

Sample of How to use Terraform managed Cloud Infrastructure as stack code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages