-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: CloudWatch resources can no longer be refreshed with default ReadOnlyAccess policy #28422
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Could you attach |
@jungseoklee we use the R/O policy ARN for a large number of roles, this is a major breaking change with a high blast radius. The point here is that if the changes were made knowing the impact then they should have been SemVer major with documentation changes. If the impact was unknown then this is a defect and should be reverted until it can be delivered to spec. |
@stevehipwell I agree with your point. I just want to share workaround as user. |
Hi, Came across this, this morning. This is my work around for now. inline policy for the role. |
@stevehipwell Thanks for raising this issue 👏 and apologies that the change of tagging APIs caused problems. |
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. |
Terraform Core Version
1.3.6
AWS Provider Version
4.47.0
Affected Resource(s)
Observed:
aws_cloudwatch_log_group
Expected:
aws_cloudwatch_*
Expected Behavior
I'd expect to be able to plan and refresh state using the default AWS ReadOnlyAccess policy (
arn:aws:iam::aws:policy/ReadOnlyAccess
).Actual Behavior
The state couldn't be refreshed due to the
logs:ListTagsForResource
action not being present in the default AWS ReadOnlyAccess policy (arn:aws:iam::aws:policy/ReadOnlyAccess
).Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
arn:aws:iam::aws:policy/ReadOnlyAccess
)Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
TagResource
API #28359Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: