-
Notifications
You must be signed in to change notification settings - Fork 61
Description
Name of the resource
AWS::OpenSearchServerless::Collection
Resource name
No response
Description
CloudFormation requires opensearch collection replacement on tag change, but there is an api that allows to change tags without re-creation of the collection - https://docs.aws.amazon.com/opensearch-service/latest/ServerlessAPIReference/API_TagResource.html
Contrary to most tagging operations in AWS CloudFormation suggests that tagging is destructive operation, while in reality it is not.
Would it be possible to use tag resource operation for existing collection instead of suggesting that re-creation is needed ?
Other Details
https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-opensearchserverless-collection.html - suggests that tag change will require replacement, meanwhile API console allows to re-tag resource via https://docs.aws.amazon.com/opensearch-service/latest/ServerlessAPIReference/API_TagResource.html in-line; this keep data intact.