diff --git a/terraform/core/28-parameter-store.tf b/terraform/core/28-parameter-store.tf new file mode 100644 index 000000000..299b72a21 --- /dev/null +++ b/terraform/core/28-parameter-store.tf @@ -0,0 +1,39 @@ +resource "aws_ssm_parameter" "uh_mirror_address" { + name = "/${local.identifier_prefix}/${module.department_housing.identifier}/uh_mirror_prod/address" + type = "String" + value = "UPDATE_IN_CONSOLE" + tags = module.tags.values + + lifecycle { + ignore_changes = [ + value, + ] + } +} + +resource "aws_ssm_parameter" "uh_mirror_username" { + name = "/${local.identifier_prefix}/${module.department_housing.identifier}/uh_mirror_prod/username" + type = "String" + value = "UPDATE_IN_CONSOLE" + tags = module.tags.values + + lifecycle { + ignore_changes = [ + value, + ] + } +} + +resource "aws_ssm_parameter" "uh_mirror_password" { + name = "/${local.identifier_prefix}/${module.department_housing.identifier}/uh_mirror_prod/password" + type = "SecureString" + value = "UPDATE_IN_CONSOLE" + tags = module.tags.values + + lifecycle { + ignore_changes = [ + value, + ] + } +} +