diff --git a/modules/rds/ssm.tf b/modules/rds/ssm.tf index 85d15ac..ee649a5 100644 --- a/modules/rds/ssm.tf +++ b/modules/rds/ssm.tf @@ -1,23 +1,23 @@ -resource "aws_ssm_parameter" "db_instance_address" { - name = "/${var.name}/db_instance_address" - type = "StringList" +resource "aws_ssm_parameter" "db_address" { + name = "/${var.name}/db_address" + type = "String" value = module.db.db_instance_address } -resource "aws_ssm_parameter" "db_instance_name" { - name = "/${var.name}/db_instance_name" - type = "StringList" +resource "aws_ssm_parameter" "db_name" { + name = "/${var.name}/db_name" + type = "String" value = module.db.db_instance_name } -resource "aws_ssm_parameter" "db_instance_port" { - name = "/${var.name}/db_instance_port" - type = "StringList" +resource "aws_ssm_parameter" "db_port" { + name = "/${var.name}/db_port" + type = "String" value = module.db.db_instance_port } -resource "aws_ssm_parameter" "db_instance_master_user_secret_arn" { - name = "/${var.name}/db_instance_master_user_secret_arn" - type = "StringList" +resource "aws_ssm_parameter" "db_master_user_secret_arn" { + name = "/${var.name}/db_master_user_secret_arn" + type = "String" value = module.db.db_instance_master_user_secret_arn }