diff --git a/examples/aws-asg/README.md b/examples/aws-asg/README.md index fac6917c78..d6b8140851 100644 --- a/examples/aws-asg/README.md +++ b/examples/aws-asg/README.md @@ -4,7 +4,7 @@ This example shows how to launch instances using Auto Scaling Groups. This creates a security group, launch configuration, auto scaling group and an ELB. The user data for launch configuration installs nginx and it listens on port 80. -The example uses latest Ubuntu AMIs. +The example uses latest Ubuntu AMIs. Make sure you change the list of availability zones that is applicable to your account and region. @@ -14,15 +14,19 @@ Running the example For planning phase -terraform plan -var 'key_name={your_key_name}}' +``` +terraform plan -var 'key_name={your_key_name}' +``` -For apply phase +For apply phase -terraform apply -var 'key_name={your_key_name}}' - -Once the stack is created, wait for few minutes and test the stack by launching a browser with ELB url. +``` +terraform apply -var 'key_name={your_key_name}' +``` +Once the stack is created, wait for few minutes and test the stack by launching a browser with ELB url. To remove the stack - terraform destroy -var 'key_name={your_key_name}}' - +``` + terraform destroy -var 'key_name={your_key_name}' +```