Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 783 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 783 Bytes

aws-terraform-012

AWS examples for terraform 0.12

Playing with terraform-0.12-alpha* and AWS provider to test some HCL2 features presented at this Hashiconf 18 talk.

Download

Download Terraform 0.12 according your architecture

https://releases.hashicorp.com/terraform/0.12.0-alpha2/

Use

  • unzip terraform-0.12-alpha2
  • Add your aws.tfvars file containing aws_access_key and aws_secrety_key to file like aws.tfvars
  • Run from specific directory (for example security_groups)
./terraform init
./terraform plan -var-file=aws.tfvars  -var-file=security_groups.tfvars
./terraform apply -var-file=aws.tfvars  -var-file=security_groups.tfvars