Skip to content

Commit ac23680

Browse files
committed
workaround for oci-bv storageclass support
Signed-off-by: junior <junior@users.noreply.github.com>
1 parent b9ae163 commit ac23680

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/oke/main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ resource "oci_containerengine_cluster" "oke_cluster" {
3131
}
3232
persistent_volume_config {
3333
freeform_tags = var.block_volumes_tags.freeformTags
34-
defined_tags = var.block_volumes_tags.definedTags
34+
# defined_tags = var.block_volumes_tags.definedTags
3535
}
3636
service_lb_config {
3737
freeform_tags = var.load_balancers_tags.freeformTags
38-
defined_tags = var.load_balancers_tags.definedTags
38+
# defined_tags = var.load_balancers_tags.definedTags
3939
}
4040
}
4141
image_policy_config {
@@ -48,6 +48,10 @@ resource "oci_containerengine_cluster" "oke_cluster" {
4848
cni_type = "FLANNEL_OVERLAY"
4949
}
5050

51+
lifecycle {
52+
ignore_changes = [id]
53+
}
54+
5155
count = var.create_new_oke_cluster ? 1 : 0
5256
}
5357

0 commit comments

Comments
 (0)