Added a bit of formatting for readability

This commit is contained in:
Gaurav Chaturvedi 2016-01-21 17:26:08 +05:30
parent e303d0e441
commit 676c39e835
1 changed files with 4 additions and 3 deletions

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`