Skip to content

worker_pool_mode variable doesnt accept value like virtual-node-pool #1016

Description

@ddevadat

if we specify something like below

module "oke_blue" {
  source                  = "oracle-terraform-modules/oke/oci"
  version                 = "5.2.3"

  compartment_id          = ocid..
....
  worker_pool_mode        = "virtual-node-pool"
..

fails with error like below


│ Error: Invalid value for variable
│
│   on .terraform/modules/oke_blue/module-workers.tf line 45, in module "workers":
│   45:   worker_pool_mode = var.worker_pool_mode
│     ├────────────────
│     │ var.worker_pool_mode is "virtual-node-pool"
│
│ Accepted values are node-pool, instance-pool, or cluster-network

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions