Skip to content

[Resource Type] - [Coverage] - AWS::OpenSearchServerless::Collection - tagging #2363

@iggyzap

Description

@iggyzap

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions