diff --git a/modules/monitoring/outputs.tf b/modules/monitoring/outputs.tf index b2bf285..f97624f 100644 --- a/modules/monitoring/outputs.tf +++ b/modules/monitoring/outputs.tf @@ -1,9 +1,9 @@ output "cmk_arn" { description = "ARN of the KMS CMK" - value = var.enable_cmk && length(aws_kms_key.cmk) > 0 ? aws_kms_key.cmk[0].arn : null + value = var.enable_cmk && length(aws_kms_key.cmk) > 0 ? aws_kms_key.cmk[0].arn : null } output "cmk_alias_arn" { description = "ARN of the CMK Alias" - value = var.enable_cmk && length(aws_kms_alias.cmk_alias) > 0 ? aws_kms_alias.cmk_alias[0].arn : null + value = var.enable_cmk && length(aws_kms_alias.cmk_alias) > 0 ? aws_kms_alias.cmk_alias[0].arn : null } \ No newline at end of file diff --git a/modules/monitoring/variables.tf b/modules/monitoring/variables.tf index 38f8047..e0bc887 100644 --- a/modules/monitoring/variables.tf +++ b/modules/monitoring/variables.tf @@ -136,17 +136,17 @@ variable "kms_master_key_id" { variable "cmk_description" { description = "Description of the Key to be created" - default = "KMS Key to encrypt SNS" + default = "KMS Key to encrypt SNS" } variable "key_spec" { description = "Specification of the Key" - default = "SYMMETRIC_DEFAULT" + default = "SYMMETRIC_DEFAULT" } variable "key_enabled" { description = "Specifies whether the key is enabled" - default = true + default = true } variable "rotation_enabled" { diff --git a/variables.tf b/variables.tf index b8495c0..de394d4 100644 --- a/variables.tf +++ b/variables.tf @@ -492,8 +492,8 @@ variable "tags" { variable "cmk_description" { description = "Description for the key" - type = string - default = "KMS Key to encrypt SNS" + type = string + default = "KMS Key to encrypt SNS" } variable "sns_key_admin_arn" {