generated from geekcell/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
56 lines (48 loc) · 1.47 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Context
variable "prefix" {
description = "Prefix that will added to created resources."
type = string
}
variable "tags" {
default = {}
description = "Tags to add to the created resources."
type = map(any)
}
# SNS
variable "sns_topic_arn" {
description = "Use an existing SNS topic to send alerts to."
default = null
type = string
}
variable "sns_kms_master_key_id" {
description = "The ARN of the KMS key to use to encrypt the SNS topic. Will create a new CMK if not provided."
default = null
type = string
}
variable "sns_kms_master_key_alias" {
description = "The alias of the KMS key to use to encrypt the SNS topic if no key is provided."
default = "alias/sns/cloudtrail-alerts"
type = string
}
# CloudWatch
variable "cloudtrail_log_group_name" {
description = "The name of the CloudWatch log group to filter for events. Defaults to the AWS Control Tower created Baseline."
default = "aws-controltower/CloudTrailLogs"
type = string
}
variable "cloudwatch_namespace" {
description = "The namespace to use for the CloudWatch metric filter."
default = "CISBenchmark"
type = string
}
# Slack
variable "slack_workspace_id" {
description = "The ID of the Slack workspace to send alerts to."
default = null
type = string
}
variable "slack_channel_id" {
description = "The ID of the Slack channel to send alerts to."
default = null
type = string
}