Closed IskanderNovena closed 4 days ago
Voting for Prioritization
Volunteering to Work on This Issue
Okay, so double/tripple-checking where I put the :*
actually took me another go before realising I was comparing the wrong part of the policy 🤦
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
Terraform Core Version
1.9.7
AWS Provider Version
5.75.0
Affected Resource(s)
Expected Behavior
When providing a policy with a wildcard (in this case
:*
), the wildcard should also be included in the policy. This is tested with bothjsonencode
as well as HEREDOC.Code:
Actual Behavior
After applying, the resource is written as `"arn:aws:logs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}"
After manually changing it in the console and running a
terraform plan
, the following is shown:Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Add the resources listed above, run a
terraform plan
to see that the:*
isn't included in the policy.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None