Name Last Update
..
files Loading commit data...
README.md Loading commit data...
ami.tf Loading commit data...
iam.tf Loading commit data...
instance.tf Loading commit data...
provider.tf Loading commit data...
rds.tf Loading commit data...
sample4.png Loading commit data...
terraform.tfvars Loading commit data...
variables.tf Loading commit data...

Sample4. Using funtions and count hints

  1. Moving deployment script into temlplate provider
  2. Using length() function to get size and create multiple resources
# setup your AMS access parameters in ~/.aws

# Init terraform 
terraform init
# Create instance
terraform apply