what is the parameter for provisioning a enhanced OKE cluster rather than type Basic
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:
- Terraform community resources
- HashiCorp support (Terraform Enterprise customers)
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
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
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" }