Skip to content

Commit 14a52c4

Browse files
committed
ignore changes in private_ip on publicip assigned to LB reservedip
1 parent dcbea7b commit 14a52c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/load_balancer/lb_full/lb_full.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ resource "oci_core_route_table" "routetable1" {
129129
resource "oci_core_public_ip" "test_reserved_ip" {
130130
compartment_id = "${var.compartment_ocid}"
131131
lifetime = "RESERVED"
132+
133+
lifecycle {
134+
ignore_changes = [private_ip_id]
135+
}
132136
}
133137

134138
resource "oci_core_security_list" "securitylist1" {

0 commit comments

Comments
 (0)