forked from oracle-terraform-modules/terraform-oci-vcn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathterraform.tfvars.example
101 lines (82 loc) · 4.08 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
# 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
# Region
region = "us-phoenix-1"
# general oci parameters
compartment_id = ""
label_prefix = "none"
# vcn parameters
create_internet_gateway = false
create_nat_gateway = false
enable_ipv6 = false
nat_gateway_public_ip_id = "none"
create_service_gateway = false
vcn_cidrs = ["10.0.0.0/16"]
vcn_dns_label = "vcn"
vcn_name = "vcn"
freeform_tags = {
environment = "dev"
}
defined_tags = {
"Operations.CostCenter" = "42"
}
# # 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 created by this module. drg_id 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 created by this module. drg_id 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 created by this module. drg_id is automatically retrieved with keyword drg"
# },
# {
# destination = "172.16.0.0/16"
# destination_type = "CIDR_BLOCK"
# network_entity_id = module.vcn.drg_id
# description = "Terraformed - User added Routing Rule: To drg with drg_id directly passed by user. Useful for gateways created outside of vcn module"
# },
# {
# 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 = ""
# }
# }