terraform-google-gke-gitlab icon indicating copy to clipboard operation
terraform-google-gke-gitlab copied to clipboard

kubernetes_secret and kubernetes_storage_class unable to refresh state

Open apeabody opened this issue 3 years ago • 4 comments

TL;DR

The kubernetes_secret and kubernetes_storage_class are unable to refresh state. This manifests as the kubernetes provider attempting to dial tcp 127.0.0.1:80 rather than the configured cluster. This may be a result of the order in which Terraform evaluates the provider block vs the resources as noted in the Kubernetes Provider documentation and GKE example.

This also blocks #90 as with TF 0.15+ a refresh state is attempted prior to the destroy phase.

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

CI

Terraform Version

TF 0.15+

Additional information

No response

apeabody avatar Apr 23 '22 18:04 apeabody

@bharathkkb related to comment

apeabody avatar Apr 25 '22 15:04 apeabody

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 30 '22 23:08 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Nov 05 '22 23:11 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jan 06 '23 23:01 github-actions[bot]