-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
53 lines (46 loc) · 1.71 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
/* -------------------------------------------------------------------------- */
/* Generics */
/* -------------------------------------------------------------------------- */
variable "prefix" {
description = "The prefix name of customer to be displayed in AWS console and resource"
type = string
}
variable "environment" {
description = "Environment Variable used as a prefix"
type = string
}
variable "tags" {
description = "Tags to add more; default tags contian {terraform=true, environment=var.environment}"
type = map(string)
default = {}
}
/* -------------------------------------------------------------------------- */
/* Hostxedzone */
/* -------------------------------------------------------------------------- */
variable "is_create_zone" {
description = "Wherther to create a zone or not"
type = bool
default = true
}
variable "is_public_zone" {
description = "Wherther to create a zone or not"
type = bool
default = true
}
variable "dns_name" {
description = "(Required) This is the name of the hosted zone."
type = string
}
variable "vpc_id" {
description = "Required when hostzone is private, to associate with VPC"
type = string
default = ""
}
/* -------------------------------------------------------------------------- */
/* Route53 */
/* -------------------------------------------------------------------------- */
variable "dns_records" {
description = "Map of DNS records"
type = any
default = {}
}