-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31162 from hashicorp/deprecate-data-source-tags_all
Deprecate data source `tags_all` attributes
- Loading branch information
Showing
5 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
```release-note:note | ||
data-source/aws_service_discovery_service: The `tags_all` attribute has been deprecated and will be removed in a future version | ||
``` | ||
|
||
```release-note:note | ||
data-source/aws_quicksight_data_set: The `tags_all` attribute has been deprecated and will be removed in a future version | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
rules: | ||
- id: data-source-with-resource-read | ||
languages: [go] | ||
message: Data sources should not have a `tags_all` attribute | ||
paths: | ||
include: | ||
- internal/service/**/*_data_source.go | ||
patterns: | ||
- pattern-either: | ||
- pattern-regex: '"tags_all":\s*tftags.TagsSchemaComputed' | ||
- pattern-regex: 'names\.AttrTagsAll:\s*tftags.TagsSchemaComputed' | ||
severity: WARNING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters