-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
133 lines (112 loc) · 3.16 KB
/
Copy pathvariables.tf
File metadata and controls
133 lines (112 loc) · 3.16 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "repository" {
type = string
default = "https://github.com/clouddrove/terraform-aws-vpc"
description = "Terraform current module repo"
}
variable "label_order" {
type = list(any)
default = []
description = "Label order, e.g. `name`,`application`."
}
variable "managedby" {
type = string
default = "hello@clouddrove.com"
description = "ManagedBy, eg 'CloudDrove'"
}
variable "attributes" {
type = list(any)
default = []
description = "Additional attributes (e.g. `1`)."
}
variable "tags" {
type = map(any)
default = {}
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)."
}
#Module : VPC
#Description : Terraform VPC module variables.
variable "vpc_enabled" {
type = bool
default = true
description = "Flag to control the vpc creation."
}
variable "restrict_default_sg" {
type = bool
default = true
description = "Flag to control the restrict default sg creation."
}
variable "cidr_block" {
type = string
default = ""
description = "CIDR for the VPC."
}
variable "additional_cidr_block" {
type = list(string)
default = []
description = " List of secondary CIDR blocks of the VPC."
}
variable "instance_tenancy" {
type = string
default = "default"
description = "A tenancy option for instances launched into the VPC."
}
variable "enable_dns_hostnames" {
type = bool
default = true
description = "A boolean flag to enable/disable DNS hostnames in the VPC."
}
variable "enable_dns_support" {
type = bool
default = true
description = "A boolean flag to enable/disable DNS support in the VPC."
}
variable "enable_classiclink" {
type = bool
default = false
description = "A boolean flag to enable/disable ClassicLink for the VPC."
}
variable "enable_classiclink_dns_support" {
type = bool
default = false
description = "A boolean flag to enable/disable ClassicLink DNS Support for the VPC."
}
#Module : FLOW LOG
#Description : Terraform flow log module variables.
variable "enable_flow_log" {
type = bool
default = false
description = "Enable vpc_flow_log logs."
}
variable "s3_bucket_arn" {
type = string
default = ""
description = "S3 ARN for vpc logs."
sensitive = true
}
variable "traffic_type" {
type = string
default = "ALL"
description = "Type of traffic to capture. Valid values: ACCEPT,REJECT, ALL."
}
variable "ipv4_ipam_pool_id" {
type = string
default = ""
description = "The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR."
}
variable "ipv4_netmask_length" {
type = string
default = null
description = "The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id"
}