|
@@ -37,7 +37,7 @@ resource "aws_db_instance" "postgres" {
|
|
|
storage_type = "gp2"
|
|
|
storage_encrypted = "true"
|
|
|
tags = merge( var.standard_tags, var.tags )
|
|
|
- username = var.environment == "test" ? "portal" : "root-e26bbf10-ee24-2d05-97b7-47c54d9224a1"
|
|
|
+ username = "portal"
|
|
|
vpc_security_group_ids = [ aws_security_group.postgres.id, ]
|
|
|
}
|
|
|
|
|
@@ -59,4 +59,4 @@ resource "aws_security_group_rule" "customer_portal_postgres_inbound" {
|
|
|
to_port = 5432
|
|
|
protocol = "tcp"
|
|
|
cidr_blocks = ["10.0.0.0/8"]
|
|
|
-}
|
|
|
+}
|