don't overwrite changes to openstack allowed_address_pairs (#10760)

pull/10448/head
R. P. Taylor 2024-01-22 08:28:19 -08:00 committed by GitHub
parent 5a405336ae
commit 54fb75f0e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

View File

@ -304,6 +304,10 @@ resource "openstack_networking_port_v2" "k8s_master_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -370,6 +374,10 @@ resource "openstack_networking_port_v2" "k8s_masters_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -434,6 +442,10 @@ resource "openstack_networking_port_v2" "k8s_master_no_etcd_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -560,6 +572,10 @@ resource "openstack_networking_port_v2" "k8s_master_no_floating_ip_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -620,6 +636,10 @@ resource "openstack_networking_port_v2" "k8s_master_no_floating_ip_no_etcd_port"
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -681,6 +701,10 @@ resource "openstack_networking_port_v2" "k8s_node_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -747,6 +771,10 @@ resource "openstack_networking_port_v2" "k8s_node_no_floating_ip_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]
@ -808,6 +836,10 @@ resource "openstack_networking_port_v2" "k8s_nodes_port" {
} }
} }
lifecycle {
ignore_changes = [ allowed_address_pairs ]
}
depends_on = [ depends_on = [
var.network_router_id var.network_router_id
] ]