initial commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
variable "sender" {
|
||||
type = string
|
||||
description = "ARN of SNS sender or sending service name"
|
||||
}
|
||||
|
||||
variable "sender-type" {
|
||||
type = string
|
||||
description = "Sender principal type. Value should be either *AWS* or *Service*"
|
||||
validation {
|
||||
condition = var.sender-type == "AWS" || var.sender-type == "Service"
|
||||
error_message = "Valid values are AWS or Service"
|
||||
}
|
||||
}
|
||||
|
||||
variable "sns-topic-name" {
|
||||
type = string
|
||||
description = "Name of SNS topic"
|
||||
}
|
||||
|
||||
variable "sns-topic-description" {
|
||||
type = string
|
||||
description = "SNS topic display name"
|
||||
}
|
||||
|
||||
variable "kms-key-id" {
|
||||
type = string
|
||||
description = "KMS key id for SNS topic at-rest encryption. Make sure the sender has access to this key"
|
||||
}
|
||||
|
||||
variable "email-addresses" {
|
||||
type = set(string)
|
||||
description = "Email recipients of SNS notifications"
|
||||
}
|
||||
Reference in New Issue
Block a user