-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
81 lines (72 loc) · 2.27 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
70
71
72
73
74
75
76
77
78
79
80
81
################################################################################
# Project
################################################################################
variable "project_id" {
description = "Project ID in which clusters are deployed"
type = string
}
variable "region" {
description = "Region to deploy your cluster in"
type = string
}
variable "cluster_name" {
description = "Name of the cluster"
type = string
}
# variable "tags" {
# description = "A map of tags to add to all resources"
# type = map(string)
# default = {}
# }
################################################################################
# Network
################################################################################
variable "use_existing_network" {
description = "If true will not create the network and forward the input values to the same outputs."
type = bool
default = false
}
################################################################################
# Network SHIM
################################################################################
variable "network_id" {
description = "ID of the existing network. Only used when use_existing_network is set to true"
type = string
default = ""
}
variable "subnet_id" {
description = "ID of the existing subnet. Only used when use_existing_network is set to true"
type = string
default = ""
}
################################################################################
# Network NON-SHIM
################################################################################
variable "routing_mode" {
description = "Routing mode for the network"
type = string
default = "GLOBAL"
}
variable "private_subnet_cidr" {
description = "CIDR range for private subnet"
type = string
default = ""
}
variable "network_vpc_secondary_ranges" {
description = "List of secondary ranges"
type = list(object({
range_name = string
ip_cidr_range = string
}))
default = []
}
variable "enable_private_access" {
description = "Private access for subnets"
type = bool
default = true
}
variable "enable_flow_logs" {
description = "Enable flow logs for subnets"
type = bool
default = false
}