File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
infrastructure/oracle/kubernetes Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1- data "oci_core_vnic_attachments" "worker_vnics" {
2- compartment_id = var. compartment_id
3- instance_id = oci_core_instance. ubuntu_arm_instance_worker . id
4- }
5-
6- data "oci_core_vnic" "worker_vnic_details" {
7- count = length (data. oci_core_vnic_attachments . worker_vnics . vnic_attachments )
8- vnic_id = data. oci_core_vnic_attachments . worker_vnics . vnic_attachments [count . index ]. vnic_id
9- }
10-
111resource "oci_core_security_list" "public-security-list" {
122 compartment_id = var. compartment_id
133 vcn_id = module. vcn . vcn_id
@@ -49,7 +39,7 @@ resource "oci_core_security_list" "public-security-list" {
4939
5040 ingress_security_rules {
5141 stateless = false
52- source = data . oci_core_vnic . worker_vnic_details [ * ] . public_ip
42+ source = " 141.144.202.55/32 "
5343 source_type = " CIDR_BLOCK"
5444 protocol = " all"
5545 }
You can’t perform that action at this time.
0 commit comments