Skip to content

Commit

Permalink
Merge pull request #10 from ministryofjustice/username
Browse files Browse the repository at this point in the history
Prefix master username with alphanumerics
  • Loading branch information
alkar authored Dec 7, 2018
2 parents f92e7ba + 924cdc7 commit 4ad4b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ resource "aws_db_instance" "rds" {
engine_version = "${var.db_engine_version}"
instance_class = "${var.db_instance_class}"
name = "${local.db_name}"
username = "${random_string.username.result}"
username = "cp${random_string.username.result}"
password = "${random_string.password.result}"
backup_retention_period = "${var.db_backup_retention_period}"
storage_type = "${var.db_iops == 0 ? "gp2" : "io1" }"
Expand Down

0 comments on commit 4ad4b82

Please sign in to comment.