-
Notifications
You must be signed in to change notification settings - Fork 92
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
Plan for harbor_robot_account always shows changes after upgrade #495
Comments
Same problem with
|
Okay |
No, unfortunately not. After apply, the next plan shows the same changes again. I found two workarounds:
|
We also encounter the same issue since provider version 3.10.19. I am not comfortable with deleting and re-creating the existing robot accounts with provider version 3.10.19 as I am not sure whether the behavior is the same after the default value Setting the previous default value for all permission rules is a bit tedious but acceptable to me when it is the only way to preserve the previous behavior with the new functionality. Either way, this seems like a breaking change to me as manual changes are required to address this issue for existing robot accounts created with a previous provider version. |
#495) Signed-off-by: flbla <flbla@users.noreply.github.com>
hi, let me know if you can give it a try, before I merge and build a new release |
Describe the bug
When planing, a change is always shown for
harbor_robot_account
resource.To Reproduce
harbor_robot_account
with provider version 3.10.18 (or lower)Applying the changes and doing a planing again will show the same changes again.
I tested with this configuration:
The plan looks like this:
Expected behavior
No changes are shown when planing
Additional context
When creating the same robot account directly with version 3.10.19, no change is shown when doing a plan and everything seems to be fine.
This could be related to the handling of
effect
which was changed in #494.Another way to get rid of the changes in the plan seems to be to explicitly set
effect = "allow"
.The text was updated successfully, but these errors were encountered: