Skip to content

Commit

Permalink
changed parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
AgusPk committed Oct 12, 2023
1 parent c203f25 commit 5d25fe9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions modules/rds/ssm.tf
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 5d25fe9

Please sign in to comment.