File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
examples/complete-postgres Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ ephemeral "aws_secretsmanager_secret_version" "db_password" {
169169module "db_write_only" {
170170 source = " ../../"
171171
172- identifier = local. name
172+ identifier = " ${ local . name } -write-only "
173173
174174 # All available versions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
175175 engine = " postgres"
@@ -179,6 +179,8 @@ module "db_write_only" {
179179 major_engine_version = " 14" # DB option group
180180 instance_class = " db.t4g.large"
181181
182+ allocated_storage = 20
183+
182184 # NOTE: Do NOT use 'user' as the value for 'username' as it throws:
183185 # "Error creating DB Instance: InvalidParameterValue: MasterUsername
184186 # user cannot be used as it is a reserved word used by the engine"
You can’t perform that action at this time.
0 commit comments