Skip to content

0.6.4: ske.stackit_ske_cluster / ske.argusExtension mismatch between struct and object: Struct defines fields not │ found in object: argus_instance_id. Object defines fields not found in struct: allowed_cidrs. #132

@docbyte86

Description

@docbyte86

Hello all,

thanks for the new release 0.6.4. While testing the new release for checking if it fixes my issues, I´ll got a new error.

Please find more details, below:

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # module.ske.stackit_ske_cluster.ske will be created
  + resource "stackit_ske_cluster" "ske" {
      + extensions              = {
          + acl   = {
              + allowed_cidrs = [
                  + "null",
                ]
              + enabled       = false
            }
          + argus = {
              + enabled = false
            }
        }
      + hibernations            = []
      + id                      = (known after apply)
      + kube_config             = (sensitive value)
      + kubernetes_version      = "1.25"
      + kubernetes_version_used = (known after apply)
      + maintenance             = {
          + enable_kubernetes_version_updates    = true
          + enable_machine_image_version_updates = true
          + end                                  = "02:23:45Z"
          + start                                = "01:23:45Z"
        }
      + name                    = "abc123odd-s"
      + node_pools              = [
          + {
              + availability_zones = [
                  + "eu01-3",
                ]
              + cri                = "containerd"
              + labels             = {
                  + "pool"  = "pool-1"
                  + "stage" = "sbx"
                }
              + machine_type       = "c1.3"
              + max_surge          = 1
              + max_unavailable    = 1
              + maximum            = 4
              + minimum            = 2
              + name               = "sandbox"
              + os_name            = "flatcar"
              + os_version         = "3602.2.1"
              + volume_size        = 20
              + volume_type        = "storage_premium_perf1"
            },
        ]
      + project_id              = "*******"
    }

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

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

module.ske.stackit_ske_cluster.ske: Creating...
╷
│ Error: Error creating/updating cluster
│ 
│   with module.ske.stackit_ske_cluster.ske,
│   on ../../../terraform-modul-ske/main.tf line 5, in resource "stackit_ske_cluster" "ske":
│    5: resource "stackit_ske_cluster" "ske" {
│ 
│ Creating extension API payload: converting extensions.acl object: [{{tftypes.Object["allowed_cidrs":tftypes.List[tftypes.String], "enabled":tftypes.Bool]<"allowed_cidrs":tftypes.List[tftypes.String]<tftypes.String<"null">>, "enabled":tftypes.Bool<"false">> ske.argusExtension mismatch between struct and object: Struct defines fields not
│ found in object: argus_instance_id. Object defines fields not found in struct: allowed_cidrs.} {[]}}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions