forked from oracle-devrel/redbull-analytics-hol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubnets.tf
26 lines (20 loc) · 821 Bytes
/
subnets.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
# Copyright (c) 2021 Oracle and/or its affiliates.
resource oci_core_subnet redbullsubnet {
cidr_block = "192.168.1.0/24"
compartment_id = oci_identity_compartment.redbullhol.id
dhcp_options_id = oci_core_vcn.redbullvcn.default_dhcp_options_id
display_name = "redbullsubnet"
dns_label = "redbullsubnet"
prohibit_public_ip_on_vnic = "false"
route_table_id = oci_core_vcn.redbullvcn.default_route_table_id
security_list_ids = [
oci_core_vcn.redbullvcn.default_security_list_id,
]
vcn_id = oci_core_vcn.redbullvcn.id
lifecycle {
ignore_changes = [ defined_tags["Oracle-Tags.CreatedBy"], defined_tags["Oracle-Tags.CreatedOn"] ]
}
defined_tags = {
"${oci_identity_tag_namespace.devrel.name}.${oci_identity_tag.release.name}" = local.release
}
}