Repository navigation
Expand file tree
/
Copy pathterraform.tfvars.example
More file actions
142 lines (112 loc) · 5.22 KB
/
Copy pathterraform.tfvars.example
File metadata and controls
142 lines (112 loc) · 5.22 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
134
135
136
137
138
139
140
141
142
# Copyright (c) 2019, 2021 Oracle Corporation and/or affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
# Tenancy
tenancy_id = "ocid1.tenancy.oc1..axxx"
# Region
region = "us-phoenix-1"
# general oci parameters
compartment_id = ""
label_prefix = "none"
# vcn parameters
create_internet_gateway = false
internet_gateway_display_name = "none"
create_nat_gateway = false
nat_gateway_display_name = "none"
enable_ipv6 = false
# Optional IPv6 VCN allocation examples.
# When using only private IPv6 blocks, set vcn_is_oracle_gua_allocation_enabled = false.
# vcn_is_oracle_gua_allocation_enabled = false
# vcn_ipv6private_cidr_blocks = ["fd00:0:0::/56"]
# vcn_byoipv6cidr_details = [
# {
# byoipv6range_id = "ocid1.byoipv6range.oc1..exampleuniqueid"
# ipv6cidr_block = "2001:db8:1234::/56"
# }
# ]
nat_gateway_public_ip_id = "none"
create_service_gateway = false
service_gateway_display_name = "none"
vcn_cidrs = ["10.0.0.0/16"]
vcn_dns_label = "vcn"
vcn_name = "vcn"
freeform_tags = {
environment = "dev"
}
defined_tags = {
"Operations.CostCenter" = "42"
}
#ID of the DRG attached to the VCN
attached_drg_id = null
# # custom routing rules variable declaration example
# internet_gateway_route_rules = [ # this module input shows how to pass routing information to the vcn module inline, directly on the vcn module block
# {
# destination = "192.168.0.0/16" # Route Rule Destination CIDR
# destination_type = "CIDR_BLOCK" # only CIDR_BLOCK is supported at the moment
# network_entity_id = "drg" # for internet_gateway_route_rules input variable, you can use special strings "drg", "internet_gateway" or pass a valid OCID using string or any Named Values
# description = "Terraformed - User added Routing Rule: To drg provided to this module. drg_id, if available, is automatically retrieved with keyword drg"
# },
# {
# destination = "172.16.0.0/16"
# destination_type = "CIDR_BLOCK"
# network_entity_id = "drg"
# description = "Terraformed - User added Routing Rule: To drg provided to this module. drg_id, if available, is automatically retrieved with keyword drg"
# },
# {
# destination = "203.0.113.0/24" # rfc5737 (TEST-NET-3)
# destination_type = "CIDR_BLOCK"
# network_entity_id = "internet_gateway"
# description = "Terraformed - User added Routing Rule: To Internet Gateway created by this module. internet_gateway_id is automatically retrieved with keyword internet_gateway"
# },
# # {
# # destination = "192.168.1.0/24"
# # destination_type = "CIDR_BLOCK"
# # network_entity_id = "ocid1.localpeeringgateway.oc1.aaaaaa" # <-- edit this OCID
# # description = "Terraformed - User added Routing Rule: To lpg with lpg_id directly passed by user. Useful for gateways created outside of vcn module"
# # },
# ]
# nat_gateway_route_rules = [ # this is a local that can be used to pass routing information to vcn module for either route tables
# {
# destination = "192.168.0.0/16" # Route Rule Destination CIDR
# destination_type = "CIDR_BLOCK" # only CIDR_BLOCK is supported at the moment
# network_entity_id = "drg" # for nat_gateway_route_rules input variable, you can use special strings "drg", "nat_gateway" or pass a valid OCID using string or any Named Values
# description = "Terraformed - User added Routing Rule: To drg provided to this module. drg_id, if available, is automatically retrieved with keyword drg"
# },
# {
# destination = "203.0.113.0/24" # rfc5737 (TEST-NET-3)
# destination_type = "CIDR_BLOCK"
# network_entity_id = "nat_gateway"
# description = "Terraformed - User added Routing Rule: To NAT Gateway created by this module. nat_gateway_id is automatically retrieved with keyword nat_gateway"
# },
# {
# destination = "192.168.1.0/24"
# destination_type = "CIDR_BLOCK"
# network_entity_id = oci_core_local_peering_gateway.lpg.id
# description = "Terraformed - User added Routing Rule: To lpg with lpg_id directly passed by user. Useful for gateways created outside of vcn module"
# },
# ]
# # Local peering gateway variable declaration example
# hub_local_peering_gateways = {
# to_spoke1 = { # LPG will be in acceptor mode with a route table attached
# route_table_id = ""
# peer_id = ""
# }
# }
#Subnets
#subnets = {
# sub1 = {name = "subnet1",cidr_block = "10.0.4.0/24"}
# sub2 = {cidr_block="10.0.5.0/24",type="private"}
# sub3 = {cidr_block="10.0.6.0/24",availability_domain=1}
#}
#Subnets when `enable_ipv6 = true`
## Supported notation for ipv6cidr_blocks is "newbits, netnum" or "IPv6_CIDR"
## Shorthand entries are derived from the first VCN IPv6 CIDR block:
## Oracle-assigned/BYO public IPv6 first, then vcn_ipv6private_cidr_blocks.
## E.g.: ipv6cidr_blocks=["8, 0", "FC00::/64"]
#subnets = {
# sub1 = {name = "subnet1", type="public", cidr_block = "10.0.4.0/24"}
# sub2 = {cidr_block="10.0.5.0/24",ipv6cidr_blocks=["8, 0"], type="private"}
# sub3 = {cidr_block="10.0.7.0/24",type="private",ipv6cidr_blocks=["8, 1"]}
#}
#Logging
#enable_vcn_logging = true
#log_retention_duration = 30