-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
configmap change fail when changing global tags #1449
Comments
Just commenting that I have run into this issue multiple times in the past when trying to alter tags. I don't use this module, so I suspect the issue may be related to the kubernetes provider itself. I'm using the latest v2.x.x provider version. Currently the only way we can change the tags is to destroy the cluster and re-create it with the updated tags. If anyone has a better workaround, please let me know! |
You can set manage AWS auth to false in module. Then remove the config map from the state. Then apply your changes. Then switch the flag to true. Finally reimport config map in state |
We've spotted the same issue in attempts to change EKS cluster version - terragrunt failed to authorize while refreshing for kubernetes_config_map.aws_auth[0]. But it doesn't fail when you do other operations (it refreshes the state without errors) or even modify map_roles, which is all about this resource. Our workaround was to add config_path to kubernetes provider identical to kubeconfig_output_path, e.g.
and move back to
once changes were applied. P.S. Still seems like a bug. FYI module version we used was 17.0.3 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity since being marked as stale. |
I'm not sure there are bunch of issues related to this behavior, perhaps it would maybe make sense to track them in some place? It is definitively still an issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
When changing cluster tag and running apply ( tested in TF 0.14.10 and 1.0.0) even when forcing a refresh before the configmmap map refresh fail with the classic:
Versions
Reproduction
Steps to reproduce the behavior:
Code Snippet to Reproduce
Change the
tags
values on the moduleExpected behavior
Configmap is refreshed
Actual behavior
Additional context
I'm using Terragrunt, here is my provider block:
The text was updated successfully, but these errors were encountered: