(aws-cdk-lib/aws-glue): Cannot update AWS Glue schema after the first version is deployed #25129
Labels
@aws-cdk/aws-glue
Related to AWS Glue
blocked
Work is blocked on this issue for this codebase. Other labels or comments may indicate why.
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p2
Describe the bug
I have an existing schema which is defined in JSON format and is deployed using AWS CDK. The schema can be deployed successfully the first time. However, when I try to update the schema, like add a new column, and re-deploy the stack, I get an error saying that the table already exists.
Expected Behavior
I want to be able to evolve the schema and add new columns/modify existing ones without throwing an error.
Current Behavior
I am getting the following error:
Reproduction Steps
I have defined a schema in JSON format and I am trying to release new updates of the same schema after it is deployed.
The schema I am trying to deploy the first time:
After creating the schema for the very first time and deploying it, add a new column to
properties
, like:I am deploying this schema with the following script:
I then run the following command to deploy the stack:
My
package.json
:Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
8.5.5
Framework Version
No response
Node.js Version
16.16.0
OS
Mac OS
Language
Typescript
Language Version
3.9.7
Other information
No response
The text was updated successfully, but these errors were encountered: