Closed bflad closed 4 years ago
This has been released in version 2.65.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
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.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Community Note
Description
When checking ARN values in acceptance testing, it is preferred to use
resource.TestCheckResourceAttrPair()
to compare the value against another state value (typical for data sources) or use one of the other available ARN checking functions provided by the Terraform AWS Provider such astestAccMatchResourceAttrRegionalARN
. See also: https://github.com/terraform-providers/terraform-provider-aws/blob/master/awsproviderlint/passes/AWSAT001/README.mdDue to the amount of reports and potential review complexity, any fixes should likely be done per-resource.
e.g.
Definition of Done
GNUmakefile
, add-AWSAT001
toawsproviderlint
command under lint target and have TravisCI testing pass