Sample2. Creating ubuntu instance using set of files
- AMI selection moved to separate ami.tf
- Instance settings parametized by terraform variables
- Created variable files: terraform.tfvars, variables.tf
- Example for list element selection in vpc_security_group_ids
- Example for map element lookup in instance_type
- Add metadata variable count ``` # setup your AMS access parameters in ~/.aws
Init terraform
terraform init
Create instance
terraform apply