-
Notifications
You must be signed in to change notification settings - Fork 214
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
Cannot change default revision for rancher2_cluster_template #393
Comments
Another test I did is:
|
@caiconkhicon , the issue has been reproduced. Submitted PR #395 to address it |
@rawmind0 : thanks a lot for your quick fix. I confirm that it works. I close this issue. |
@rawmind0 I am facing this exact same issue with |
@abhi1693 , not fully understand what are you trying to do. If you can provide the intial cluster_template definition and the updated definition, it would be useful |
I have a
rancher2_cluster_template
resource with 2 revisions, one of them hasdefault = true
. One revision (doesn't matter which one) is used to create a managed cluster.Now I want to swap the default revision, so I set one revision to
default = false
and vice versa for the other. Terraform apply fails with the error:No config is changed for both revisions. Meanwhile, I can change the default revision on the Rancher UI (https://rancher.com/docs/rancher/v2.x/en/admin-settings/rke-templates/creating-and-revising/#setting-a-template-revision-as-default). Thus, I think that this is not a limitation of Rancher, but a bug in the Rancher2 provider.
Please check it. Thanks a lot.
The text was updated successfully, but these errors were encountered: