generated from developertown/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
69 lines (58 loc) · 2.26 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
57
58
59
60
61
62
63
64
65
66
67
68
69
variable "region" {
type = string
description = "AWS Region to create resources in"
}
variable "tags" {
description = "A set of key/value label pairs to assign to this to the resources"
type = map(string)
default = {}
}
variable "subject_alternative_names" {
type = list(string)
description = "Set of domains that should be SANs in the issued certificate. A Route53 DNS validation record will be created for each subject_alternative_names in the aws account granted by role_arn"
default = []
}
variable "dns_name" {
description = "The domain name for which the certificate should be issued. A certificate and a Route53 DNS validation record will be created in the aws account granted by role_arn"
type = string
}
variable "dns_zone_id" {
description = "The ID of the Route53 hosted zone to contain the Certificate validation record for the dns_name and subject_alternative_names. The Route53 hosted zone must be accessible via the role_arn"
type = string
default = ""
}
variable "dns_ttl" {
type = number
description = "The TTL to use for SSL certificates, and Route 53 records"
default = 60
}
variable "role_arn" {
type = string
description = "The AWS assume role"
default = ""
}
variable "parent_dns_zone_id" {
description = "The ID of the Route53 hosted zone to contain the Certificate validation record for the parent_subject_alternative_names. The Route53 hosted zone must be accessible via the parent_role_arn"
type = string
default = ""
}
variable "parent_subject_alternative_names" {
description = "Set of domains that should be SANs in the issued certificate. A Route53 DNS validation record will be created for each parent_subject_alternative_names in the aws account granted by parent_role_arn"
type = list(string)
default = []
}
variable "parent_role_arn" {
type = string
description = "The AWS assume role"
default = ""
}
variable "sns_alarm_topic_arn" {
type = string
description = "The SNS Topic ARN to use for Cloudwatch Alarms"
default = ""
}
variable "alarm_expiration_threshold" {
type = number
description = "Number of days before certificate expiration to trigger an alarm"
default = 14
}