Skip to content

atSistemas/terraform-aws-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-demo

Terraform-related code to create ASG in AWS supporting enmilocalfunciona.io blog entry.

What is this?

This is the terraform code that backs up the blog entry.

alt image

Requirements

  • Terraform 0.9.4+, install here
  • AWS access configured via IAM role or aws_access_key_id, aws_secret_access_key credentials

Usage

Inititialise terraform dependencies

$ terraform init

Check status

$ terraform plan 

Build infrastructure

$ terraform apply

Build infrastructure scaling up to 6 instances

$ terraform apply -var asg_desired=6

Destroy infrastructure

$ terraform destroy

About

Example to provision ASG in AWS using Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 94.6%
  • Shell 5.4%