Skip to content

Conflicting arguments with Kubernetes provider 2.21.0 #188

@avidspartan1

Description

@avidspartan1

Describe the Bug

When using the latest version of this module with version 2.21 of the Kubernetes provider (released this morning), the new conflictsWith rules break the provider configuration in auth.tf.

I've opened a PR with a fix that's working for me - #189.

Expected Behavior

When executing a plan with version 2.8.1 of this module and version 2.21.0 of the Kubernetes provider, I expect the plan to succeed.

Steps to Reproduce

  1. Upgrade to the latest Kubernetes provider: terraform init -upgrade or terragrunt init -upgrade

  2. Attempt a plan: terraform plan or terragrunt plan

Screenshots

Error message:

╷
│ Error: Conflicting configuration arguments
│
│   with module.eks_cluster.provider["registry.terraform.io/hashicorp/kubernetes"],
│   on .terraform/modules/eks_cluster/auth.tf line 100, in provider "kubernetes":
│  100:   host                   = local.cluster_auth_map_endpoint
│
│ "host": conflicts with config_path
╵

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the systemwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions