Merge pull request #4774 from oddtazz/master

Fix typos and formatting in example README
This commit is contained in:
James Nugent 2016-01-21 07:08:06 -05:00
commit 587ce292f0
2 changed files with 5 additions and 4 deletions

View File

@ -8,4 +8,4 @@ Running the example
run `terraform apply -var 'key_name={your_key_name}'`
Give couple of mins for userdata to insatll nginx, and then type the Elastic IP from outputs in your browser and see the nginx welcome page
Give couple of mins for userdata to install nginx, and then type the Elastic IP from outputs in your browser and see the nginx welcome page

View File

@ -6,12 +6,13 @@ The example creates db subnet groups and a VPC security group as inputs to the i
For AWS provider, set up your AWS environment as outlined in https://www.terraform.io/docs/providers/aws/index.html
If you need to use existing security groups and subnets, remove the sg.tf and subnets.tf files and replace the corresponding sections in main.tf under aws_db_instance
If you need to use existing security groups and subnets, remove the `sg.tf` and `subnets.tf` files and replace the corresponding sections in `main.tf` under `aws_db_instance`
Pass the password variable through your ENV variable.
Several parameters are externalized, review the different variables.tf files and change them to fit your needs. Carefully review the CIDR blocks, egress/ingress rules, availability zones that are very specific to your account.
Once ready run 'terraform plan' to review. At the minimum, provide the vpc_id as input variable.
Once ready run `terraform plan` to review.
At the minimum, provide the vpc_id as input variable.
Once satisfied with plan, run 'terraform apply'
Once satisfied with plan, run `terraform apply`