awslabs / awslabs/generative-ai-cdk-constructs

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

Open
#443 2 comments 1 reaction 1 assignee Claimed by @scottschreckengaust View on GitHub
backlog bug
Dominant language
TypeScript
Stars
541
Forks
77
Avg merge
1d 3h
Merged PRs (30d)
8

Description

### 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](https://github.com/awslabs/generative-ai-cdk-constructs/assets/8590331/4111a6cc-e674-480c-a1c6-d8e4d818f08d)
![rollback-failure](https://github.com/awslabs/generative-ai-cdk-constructs/assets/8590331/560a5082-0363-49d4-abe4-2df3bbc5856d)

### 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

- [X] I have reviewed the service quotas for this construct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.