diff options
author | clarkzjw <[email protected]> | 2023-01-31 22:43:36 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-31 22:43:36 -0800 |
commit | dc756af1b57186122874d703821191baefa1aacd (patch) | |
tree | 900ae4f026d01f23ae0869792dbc2e1a75a77167 /infra/rds.tf | |
parent | 55bf0526c86c88f5ae0d20bad6587c72cd91e835 (diff) | |
download | zjw.social-dc756af1b57186122874d703821191baefa1aacd.tar.gz |
fix rds and ec2 creation
Diffstat (limited to 'infra/rds.tf')
-rw-r--r-- | infra/rds.tf | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/infra/rds.tf b/infra/rds.tf index d9ba204..ae9a8f8 100644 --- a/infra/rds.tf +++ b/infra/rds.tf | |||
@@ -39,12 +39,6 @@ resource "aws_ssm_parameter" "rds_port" { | |||
39 | value = aws_db_instance.mastodon.port | 39 | value = aws_db_instance.mastodon.port |
40 | } | 40 | } |
41 | 41 | ||
42 | resource "aws_ssm_parameter" "mastodon_db_name" { | ||
43 | name = "/${local.name}/rds/name" | ||
44 | type = "String" | ||
45 | value = aws_db_instance.mastodon.db_name | ||
46 | } | ||
47 | |||
48 | resource "aws_ssm_parameter" "mastodon_db_user" { | 42 | resource "aws_ssm_parameter" "mastodon_db_user" { |
49 | name = "/${local.name}/rds/username" | 43 | name = "/${local.name}/rds/username" |
50 | type = "String" | 44 | type = "String" |