The Terraform provider is too restrictive regarding ARN validation.
It forbids the use of custom ARN for third-party tools. A property like skip_arn_validation in the provider would solve the problem.
Error: "assume_role_with_web_identity.0.role_arn" (arn:custom:iam::29065fb9-1b2e-403a-8682-463837e168a7:root) is an invalid ARN: invalid partition value (expecting to match regular expression: ^aws(-[a-z]+)*$)
Error: "assume_role_with_web_identity.0.role_arn" (arn:custom:iam::29065fb9-1b2e-403a-8682-463837e168a7:root) is an invalid ARN: invalid account ID value (expecting to match regular expression: ^(aws|aws-managed|third-party|\d{12}|cw.{10})$)
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.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
The Terraform provider is too restrictive regarding ARN validation. It forbids the use of custom ARN for third-party tools. A property like
skip_arn_validation
in the provider would solve the problem.The following errors occur:
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
No response
Would you like to implement a fix?
None