Removed default password, forcing the user to enter while executing

This commit is contained in:
Sathiya Shunmugasundaram 2015-06-11 09:58:48 -04:00
parent 074f1ed625
commit 4dd8175535
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,8 @@ For AWS provider, set up your AWS environment as outlined in https://www.terrafo
If you need to use existing security groups and subnets, remove the sg.tf and subnets.tf files and replace the corresponidng 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 corresponidng sections in main.tf under aws_db_instance
Pass the password variable through your ENV variable.
Several paraneters 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. Several paraneters 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.

View File

@ -37,6 +37,5 @@ variable "username" {
} }
variable "password" { variable "password" {
default = "abcd1234" description = "password, provide through your ENV variables"
description = "password"
} }