You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
I should have been able to use a managed IAM policy ARN in the aws_arn data type.
Actual Behavior
The following errors occurs
Error: "arn" doesn't look like a valid ARN ("^arn:[\\w-]+:([a-zA-Z0-9\\-])+:([a-z]{2}-(gov-)?[a-z]+-\\d{1})?:(\\d{12})?:(.*)$"): "arn:aws:iam::aws:policy/CloudWatchReadOnlyAccess"
Steps to Reproduce
Create some Terraform including the above data source
terraform plan
Important Factoids
N/A
References
N/A
Other
I'll have a PR shortly to fix this issue.
The text was updated successfully, but these errors were encountered:
I have submitted a pull request to solve this issue. (Just leaving this comment since the community note says to do so, PR already linked against issue).
bflad
added
bug
Addresses a defect in current functionality.
provider
Pertains to the provider itself, rather than any interaction with AWS.
and removed
needs-triage
Waiting for first response or review from a maintainer.
labels
Jan 3, 2020
The fix for this (including the aws_arn data source and other places where use validateArn for attribute validation) has been merged and will release with version 2.44.0 of the Terraform AWS Provider, next Thursday. Thanks @phyber for the implementation. 👍
Community Note
Terraform Version
Affected Resource(s)
data.aws_arn
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
I should have been able to use a managed IAM policy ARN in the
aws_arn
data type.Actual Behavior
The following errors occurs
Steps to Reproduce
terraform plan
Important Factoids
N/A
References
N/A
Other
I'll have a PR shortly to fix this issue.
The text was updated successfully, but these errors were encountered: