Resource of type ‘AWS::OpenSearchService::Domain’ with identifier ‘123’ already exists
We have an OpenSearch cluster deployed on production with removalPolicy: RemovalPolicy.RETAIN
because we don’t want to lose data if the stack is destroyed.
So that works but when I try to redeploy the stack I get this kind of error:
Resource of type ‘AWS::OpenSearchService::Domain’ with identifier ‘123’ already exists
We have an OpenSearch cluster deployed on production with removalPolicy: RemovalPolicy.RETAIN
because we don’t want to lose data if the stack is destroyed.
So that works but when I try to redeploy the stack I get this kind of error:
Resource of type ‘AWS::OpenSearchService::Domain’ with identifier ‘123’ already exists
We have an OpenSearch cluster deployed on production with removalPolicy: RemovalPolicy.RETAIN
because we don’t want to lose data if the stack is destroyed.
So that works but when I try to redeploy the stack I get this kind of error: