hashicorp / terraform-provider-kubernetes

Terraform Kubernetes provider
https://www.terraform.io/docs/providers/kubernetes/
Mozilla Public License 2.0
1.56k stars 963 forks source link

Progressive Apply #2534

Open shurick81 opened 6 days ago

shurick81 commented 6 days ago

Terraform version, Kubernetes provider version and Kubernetes version

Terraform version:
Kubernetes Provider version:
Kubernetes version:

Terraform configuration

Enter your configuration here.

Question

There is a bunch of known issues with progressive-apply, and many people trying to solve it in their own way. For example, I managed to develop some code with Azure kubernetes services and terraform/kubernetes provider that works in Github actions on first run, but if I change anything in Azure kubernetes services configuration, the kubernetes provider fails with

Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

The alternative suggested right now (develop and apply two separate terraform layers) does not seem to be very satisfying to all users of this provider. Should not we have some thread and discussion around this topic, or maybe there is already some discussion with all the reasoning discussed and evaluated thoroughly?