Apply the code with terraform-0.12 and provider 0.5.0;
Upgrade terraform to 0.13 and provider to 0.8.3;
Try to apply again.
Expected behavior
I expect the code will get resource definition from Kubernetes and correctly compare it with locally compiled resource from the template.
Additional context
I noticed there v1beta1 in resource id in the state because the resource was created with older Kubernetes version, but when I manually patch it to just v1 the error is the same.
Describe the bug
I have code:
And template:
With Terraform 0.12 and provider 0.5.0 everything was OK.
Now After update from tf-0.12 and provider 0.5.0 to tf-0.13 and provider 0.8.3 I have the issue:
Here is existing resource in kubernetes:
Here is the same resource in terraform state:
Steps to reproduce the issue:
Expected behavior
I expect the code will get resource definition from Kubernetes and correctly compare it with locally compiled resource from the template.
Additional context
I noticed there
v1beta1
in resource id in the state because the resource was created with older Kubernetes version, but when I manually patch it to justv1
the error is the same.