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

what is the parameter for provisioning a enhanced OKE cluster rather than type Basic

Open csraovaradev opened this issue 2 years ago • 4 comments

This Github template is intended for questions regarding the Terraform Oracle Cloud Infrastructure provider.

Before using this template, check whether your question is already answered in one of the following guides:

If you have a support request related to Oracle Cloud Infrastructure services, please contact Oracle support

If you have a support request or question related to core Terraform functionality, please submit them to one of these resources:

csraovaradev avatar Mar 28 '23 13:03 csraovaradev

Hello, For me it's also good question. There is no option to set neither basic, neither enachanced.

Plus there is no way how to codify upgrade from Basic to Enchanced

JanisOrlovs avatar Mar 31 '23 13:03 JanisOrlovs

Yes, this was promised to be released within of a week back in two or three weeks ago. Probably it, was, but is still not reflected anyhow in the documentation.

Here it is https://github.com/oracle/terraform-provider-oci/commit/e6a7b69093ad6b44b5dc134b3a956cd09f689fc1#diff-e3a23860e7569febe4372de092dbb7ee6cfc9c2c9f2426e644f267d9c427dde1R119

etyoma avatar Apr 09 '23 23:04 etyoma

I just used @etyoma example and it worked, i just added: type = "ENHANCED_CLUSTER" to my oci_containerengine_cluster resource, and it worked.

resource "oci_containerengine_cluster" "test_cluster" { #Required compartment_id = var.compartment_ocid kubernetes_version = var.kubernetes_version name = "tfTestCluster" vcn_id = oci_core_vcn.test_vcn.id type = "ENHANCED_CLUSTER" }

teresa-magicbeans avatar Jan 30 '24 12:01 teresa-magicbeans