-
Notifications
You must be signed in to change notification settings - Fork 159
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
aws_iam_policy_attachment drift is not detected (0.7.1 regression) #489
Comments
tldr: cause =
using
|
Fixed in v0.8.0 |
The code that was removed to fix this issue had a logical flaw, which should have been fixed rather than removing it to solve this issue. The effect of this is that if a aws_iam_policy_attachment has no role attachments and only user or group attachments it will be ignored (since defaultRolesCount == 0 and len(roles) == 0) i.e. the reported issue. |
Description
Manually adding an IAM policy on an IAM user was detected as a drift until 0.7.0 but 0.7.1 did not (regression)
0.7.0
0.7.1
Environment
How to reproduce
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: