Add Linter to Avoid Resource Function References in Data Sources #18819
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
linter
Pertains to changes to or issues with the various linters.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
service/elb
Issues and PRs that pertain to the elb service.
service/iam
Issues and PRs that pertain to the iam service.
service/mq
Issues and PRs that pertain to the mq service.
Milestone
Community Note
New or Existing Data Source(s)
Description
Similar to #16145, we prefer to keep resource
Read
functions self-contained such that data sources implement their ownRead
functionality to prevent regressions e.g. when new attributes are not present in the data source schema. In addition, separateRead
in data sources enables support for #7926 as we're introducing new behavior totags*
that is only meant for managed resources.References
Definition of Done
The text was updated successfully, but these errors were encountered: