From 4dd8175535bdc0571b2d45653e5816ba16533ffc Mon Sep 17 00:00:00 2001 From: Sathiya Shunmugasundaram Date: Thu, 11 Jun 2015 09:58:48 -0400 Subject: [PATCH] Removed default password, forcing the user to enter while executing --- examples/aws-rds/README.md | 2 ++ examples/aws-rds/variables.tf | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/aws-rds/README.md b/examples/aws-rds/README.md index f54cd393f..1a2915f70 100644 --- a/examples/aws-rds/README.md +++ b/examples/aws-rds/README.md @@ -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 +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. Once ready run 'terraform plan' to review. At the minimum, provide the vpc_id as input variable. diff --git a/examples/aws-rds/variables.tf b/examples/aws-rds/variables.tf index af15eb857..9a006f0a8 100644 --- a/examples/aws-rds/variables.tf +++ b/examples/aws-rds/variables.tf @@ -37,6 +37,5 @@ variable "username" { } variable "password" { - default = "abcd1234" - description = "password" + description = "password, provide through your ENV variables" }