Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianiliev1 committed May 30, 2024
1 parent f0ea4dd commit fc50972
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions modules/monitoring/outputs.tf
Original file line number Diff line number Diff line change
@@ -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
}
6 changes: 3 additions & 3 deletions modules/monitoring/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit fc50972

Please sign in to comment.