Open nicolas-laduguie opened 4 weeks ago
Seems linked to this ignore_changes config : https://github.com/oracle-terraform-modules/terraform-oci-oke/blob/46ec5f4f8464b209f1248bcbacf89f342c269d8f/modules/workers/nodepools.tf#L277C1-L278C1 Tested removing this line, applied the changes, and it worked like a charm:
Changes to Outputs:
~ worker_pools = {
~ test= {
id = "ocid1.nodepool.oc1.xxx"
name = "test"
~ node_metadata = {
~ user_data = REDACTED
Community Note
Terraform Version and Provider Version
Terraform v1.6.6 on darwin_arm64
Affected Resource(s)
modules/workers
Expected Behavior
When creating node pools with modules/workers, and managing cloudinit with "cloud_init" input variable, any further changes applied to cloudinit should be automatically applied to node pool and newly created nodes should inherit from the latest cloudinit changes.
Actual Behavior
Newly created nodes after applying changes on cloudinit do not inherit from those changes.
Steps to Reproduce
References
https://github.com/oracle-terraform-modules/terraform-oci-oke/issues/877