소스 검색

Merge pull request #190 from mdr-engineering/feature/bp_MSOCI-1448_portal_gc

Updates the RDS user for Portal
Brad Poulton 4 년 전
부모
커밋
8be71da19d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      base/customer_portal/rds.tf

+ 2 - 2
base/customer_portal/rds.tf

@@ -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"]
-}
+}