Skip to Main Content

Containers, Cloud Native & Kubernetes

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Insufficient placement_configs blocks while deploying oke using terraform

user-hy1h6Mar 28 2023

Plan: 21 to add, 1 to change, 0 to destroy.

Changes to Outputs:

  • Cluster = {
    • kubernetes_version = "v1.24.1"
    • name = "Test_OKE_Cluster_Gov"
      }
  • KubeConfig = (known after apply)

    │ Error: Insufficient placement_configs blocks

    │ on ../../oke.tf line 82, in resource "oci_containerengine_node_pool" "oci_oke_node_pool":
    │ 82: node_config_details {

    │ At least 1 "placement_configs" blocks are required.


    │ Error: Invalid dynamic for_each value

    │ on ../../oke.tf line 85, in resource "oci_containerengine_node_pool" "oci_oke_node_pool":
    │ 85: for_each = local.availability_domains #data.oci_identity_availability_domains.ADs.availability_domains
    │ ├────────────────
    │ │ local.availability_domains is null

    │ Cannot use a null value in for_each.
Comments
Post Details
Added on Mar 28 2023
1 comment
254 views