awslabs / generative-ai-cdk-constructs

AWS Generative AI CDK Constructs are sample implementations of AWS CDK for common generative AI patterns.
https://awslabs.github.io/generative-ai-cdk-constructs/
Apache License 2.0
329 stars 48 forks source link

(OpenSearch): (Unable to update stack to reflect index changes) #443

Open mrgiba opened 4 months ago

mrgiba commented 4 months ago

Describe the bug

I have a OpenSearch Serverless resource defined through the GenAI CDK Constructs, including a index If I try to change the definition of the index, say by adding one new mapping, and run cdk deploy, I get an error saying Update not supported. An additional problem is that the stack is unable to rollback the changes, apparently due to another issue, so that I am forced to delete and recreate the stack

I attached two snapshots, one for the failed update and another for the failed rollback update-failure rollback-failure

Expected Behavior

Update to complete successfully

Current Behavior

Update and further rollback failed, leaving the stack in a inconsistent state

Reproduction Steps

For an existing stack, add one new mapping to a VectorIndex resource and run cdk deploy

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.135.0

Framework Version

No response

Node.js Version

v21.7.1

OS

MacOS

Language

Python

Language Version

No response

Region experiencing the issue

us-east-1

Code modification

.

Other information

No response

Service quota

github-actions[bot] commented 1 month ago

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.