default_tags and resource tags should be allowed to be identical #19760
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
provider
Pertains to the provider itself, rather than any interaction with AWS.
service/sns
Issues and PRs that pertain to the sns service.
Community Note
Description
If a resource has a set of tags which are identical to the set of
default_tags
, that should be allowed and not cause an error. Currently it causesterraform plan
to produce an error sayingError: "tags" are identical to those in the "default_tags" configuration block of the provider: please de-duplicate and try again
.It's possible to
merge({a="b"}, {a="b"})
and get the expected output of{"a" = "b"}
, sodefault_tags
and a resource'stags
attribute should behave similarly.New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: