[Enhancement]: Prefer aws.IsARN
to strings.HasPrefix
#32651
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
github_actions
Pull requests that update Github_actions code
linter
Pertains to changes to or issues with the various linters.
question
A question about existing functionality; most questions are re-routed to discuss.hashicorp.com.
Description
Hello 👋🏼
I'm facing an issue with the automated acceptance testing, asking to use a method
aws.IsARN
rather thanstrings.HasPrefix
.I've checked if someone already use this method and it seems that no one do.
I would like to inquire whether this test serves a practical purpose, and if we should keep it :smi
Affected Resource(s) and/or Data Source(s)
N/A
Potential Terraform Configuration
N/A
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: