terraform-oci-oke icon indicating copy to clipboard operation
terraform-oci-oke copied to clipboard

recommendation to change node ephemeral IP to reserved IP on initialization

Open vkruoso opened this issue 2 years ago • 1 comments

I'm trying to get this to work using the latest 4.x version. Turns out I can't use the cloudinit_nodepool module parameter because it expects a file path. That path is handed to terraform's filebase64 function, and it turns out this function does not participate in the dependency graph and must be evaluated very early during plan, this means I can't use any calculated value in the user data.

I understand that the next 5.x version is more flexible with the cloud init config, but I'm not sure about how "beta" that version is. Also, changing the current version to not use filebase64 is a breaking change. I'm open to do a PR here in any case.

vkruoso avatar Apr 12 '23 01:04 vkruoso

  • @devoncrouse

hyder avatar May 14 '23 23:05 hyder