forked from plus3it/terraform-aws-tardigrade-route53-zone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
66 lines (56 loc) · 1.96 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
variable "create_route53_delegation" {
description = "Controls whether to create Route53 delegation records in the `ns_zone_id`. Provider `aws.ns` is used to create the records"
type = bool
default = false
}
variable "create_route53_query_log" {
description = "Controls whether to create a Route53 query log configuration"
type = bool
default = false
}
variable "iam_role_arn_cloudwatch" {
description = "IAM Role ARN for Cloudwatch service permissions"
type = string
default = null
}
variable "iam_role_arn_firehose" {
description = "IAM Role ARN for Firehose service permissions"
type = string
default = null
}
variable "name" {
description = "Name of the zone"
type = string
}
variable "ns_zone_id" {
description = "Zone ID of the name server zone. Delegation records for the sub-zone will be created here. Provider `aws.ns` is used to create the records"
type = string
default = null
}
variable "query_log_bucket" {
description = "Sets the destination bucket for Route53 Query Logs delivered by Kinesis Firehose"
type = string
default = null
}
variable "query_log_bucket_kms_key" {
description = "ARN of the KMS Key ID or Alias associated with bucket encryption of `route53_query_log_bucket`. Required if bucket is encrypted and `iam_role_arn_firehose` is `null`"
type = string
default = null
}
variable "query_log_retention" {
description = "Specifies the number of days you want to retain log events in the CloudWatch log group."
type = number
default = 7
}
variable "vpcs" {
description = "List of objects of VPC IDs associate to the Private Hosted Zone. NOTE: At least one VPC object is required to create a Private Hosted Zone"
type = list(object({
vpc_id = string
}))
default = []
}
variable "tags" {
description = "A map of tags to add to the Route53 zone and other resources"
type = map(string)
default = {}
}