opensearch-service: custom endpoint configuration is not removed on rollback or delete #28724
Labels
@aws-cdk/aws-opensearch
Related to the @aws-cdk/aws-opensearchservice package
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
When updating an OpenSearch service domain and adding a custom endpoint, on rollback (due to failure) the custom endpoint is not removed.
The same issue occurs when attempting to remove a custom endpoint that already exists.
When using CDK along with an ACM certificate and a R53 hosted zone, the result is that the cloudformation stack is now in an endless loop, as it cannot delete the ACM certificate as it is still in use in the OpenSearch domain's custom endpoint. It can be resolved by manually deleting the Opensearch custom endpoint.
Expected Behavior
Cloudformation eventually marks the OpenSearch domain as
UPDATED
in the console.Current Behavior
The Cloudformation update should actually trigger the deletion of the custom endpoint of the OpenSearch domain.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.114.1
Framework Version
No response
Node.js Version
18.x
OS
macOS
Language
TypeScript
Language Version
4.7
Other information
No response
The text was updated successfully, but these errors were encountered: