-
Notifications
You must be signed in to change notification settings - Fork 35
/
terraform.tfvars.example
147 lines (138 loc) · 4.21 KB
/
terraform.tfvars.example
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# provider parameters
oci_base_provider = {
api_fingerprint = ""
api_private_key_path = ""
region = "us-phoenix-1"
tenancy_id = ""
user_id = ""
}
# general oci parameters
oci_base_general = {
compartment_id = ""
label_prefix = "dev"
}
# networking
oci_base_vcn = {
create_drg = false
drg_display_name = "drg"
internet_gateway_enabled = true
lockdown_default_seclist = true
nat_gateway_enabled = true
nat_gateway_public_ip_id = "none"
service_gateway_enabled = true
tags = {
department = "finance"
environment = "dev"
}
vcn_cidr = "10.0.0.0/16"
vcn_dns_label = "base"
vcn_name = "base"
internet_gateway_route_rules = [
/*
{
destination = "192.168.1.0/24"
destination_type = "CIDR_BLOCK"
network_entity_id = "drg" // use drg created by this module. Requires `create_drg = true`
description = "route through drg"
},
{
destination = "8.8.8.0/24"
destination_type = "CIDR_BLOCK"
network_entity_id = "internet_gateway" // use Internet Gateway created by this module. Requires `internet_gateway_enabled = true`
description = "route through Internet Gateway"
},
{
destination = "8.8.8.0/24"
destination_type = "CIDR_BLOCK"
network_entity_id = "ocid1.drg." // use an externally created resource or a resource that was not available at the time of the 1st run`
description = "route through an externally created resource or a resource that was not available at the time of the 1st run"
}
*/
]
nat_gateway_route_rules = [
/*
{
destination = "192.168.1.0/24"
destination_type = "CIDR_BLOCK"
network_entity_id = "drg" // use drg created by this module. Requires `create_drg = true`
description = "route through drg"
},
{
destination = "8.8.8.0/24"
destination_type = "CIDR_BLOCK"
network_entity_id = "nat_gateway" // use NAT gateway created by this module. Requires `nat_gateway_enabled = true`
description = "route through NAT gateway"
},
{
destination = "8.8.8.0/24"
destination_type = "CIDR_BLOCK"
network_entity_id = "ocid1.drg." // use an externally created resource or a resource that was not available at the time of the 1st run`
description = "route through an externally created resource or a resource that was not available at the time of the 1st run"
}
*/
]
}
# bastion
oci_base_bastion = {
availability_domain = 1
bastion_access = "ANYWHERE"
bastion_enabled = true
bastion_image_id = "Autonomous"
bastion_operating_system_version = "7.9"
bastion_shape = {
# shape = "VM.Standard.E2.2"
shape="VM.Standard.E3.Flex",
ocpus=1,
memory=4,
boot_volume_size=50
}
bastion_state = "RUNNING"
bastion_upgrade = true
netnum = 0
newbits = 14
notification_enabled = false
notification_endpoint = ""
notification_protocol = "EMAIL"
notification_topic = "bastion"
ssh_private_key_path = ""
ssh_public_key = ""
ssh_public_key_path = ""
tags = {
department = "finace"
environment = "dev"
role = "bastion"
}
timezone = "Australia/Sydney"
}
# operator
oci_base_operator = {
availability_domain = 1
operator_enabled = true
operator_image_id = "Oracle"
operator_shape = {
# shape = "VM.Standard.E2.2"
shape="VM.Standard.E4.Flex",
ocpus=1,
memory=4,
boot_volume_size=50
}
operator_state = "RUNNING"
operating_system_version = "8"
operator_upgrade = false
enable_instance_principal = true
netnum = 1
newbits = 14
notification_enabled = false
notification_endpoint = ""
notification_protocol = "EMAIL"
notification_topic = "operator"
ssh_private_key_path = ""
ssh_public_key = ""
ssh_public_key_path = ""
tags = {
department = "finance"
environment = "dev"
role = "operator"
}
timezone = "Australia/Sydney"
}