Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid new value for .spec[0].selector[0].match_labels: was null, but now cty.MapValEmpty(cty.String). #332

Open
Sankarsh-vittal opened this issue Mar 3, 2022 · 1 comment
Assignees

Comments

@Sankarsh-vittal
Copy link

On trying to upgrade the version of hyperkube on the rancher cluster, the terraform is throwing the below error and the hyperkube upgrade is is not happening on terraform apply. Would like to understand if there is way to overcome this problem


│ Error: Provider produced inconsistent final plan

│ When expanding the plan for module.rancher.module.management_cluster.kubernetes_job.nginx_wait to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/kubernetes" produced an invalid new value for .spec[0].selector[0].match_labels: was null, but now cty.MapValEmpty(cty.String).

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.


│ Error: Provider produced inconsistent final plan

│ When expanding the plan for module.rancher.module.management_cluster.kubernetes_job.create_cattle_namespace to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/kubernetes" produced an invalid new value for .spec[0].selector[0].match_labels: was null, but now cty.MapValEmpty(cty.String).

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.


│ Error: Provider produced inconsistent final plan

│ When expanding the plan for module.rancher.module.management_cluster.kubernetes_job.cert_manager_webhook_wait to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/kubernetes" produced an invalid new value for .spec[0].selector[0].match_labels: was null, but now cty.MapValEmpty(cty.String).

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.


│ Error: Provider produced inconsistent final plan

│ When expanding the plan for module.rancher.module.management_cluster.kubernetes_job.cert_manager_wait to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/kubernetes" produced an invalid new value for .spec[0].selector[0].match_labels: was null, but now cty.MapValEmpty(cty.String).

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.


│ Error: Provider produced inconsistent final plan

│ When expanding the plan for module.rancher.module.management_cluster.kubernetes_job.cert_manager_cainjector_wait to include new values learned so far during apply, provider
│ "registry.terraform.io/hashicorp/kubernetes" produced an invalid new value for .spec[0].selector[0].match_labels: was null, but now cty.MapValEmpty(cty.String).

│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

@paynejacob
Copy link

@Sankarsh-vittal can you describe what steps you took to get this error. What version of rke are you using? what did you change in your tf module before the apply?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants