cdk-constructs
cdk-constructs copied to clipboard
Getting error "UPDATE_ROLLBACK_COMPLETE: Modifying service token is not allowed." when upgrading from CDK v1 to CDK v2
I'm currently trying to upgrade @cloudcomponents/cdk-blue-green-container-deployment
to a CDK v2 supported version. When doing the required changes to CDK code and deploying, the following error occurs:
11:03:33 AM | UPDATE_FAILED | Custom::BlueGreenService | EcsServiceCustomResourceFFFFFFFF
Modifying service token is not allowed.
❌ app-stack failed: Error: The stack named app-stack failed to deploy: UPDATE_ROLLBACK_COMPLETE: Modifying service token is not allowed.
at FullCloudFormationDeployment.monitorDeployment (/node_modules/aws-cdk/lib/index.js:371:10236)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async deployStack2 (/node_modules/aws-cdk/lib/index.js:374:145469)
at async /node_modules/aws-cdk/lib/index.js:374:128787
at async run (/node_modules/aws-cdk/lib/index.js:374:126793)
-
aws-cdk-lib
version2.68.0
-
@cloudcomponents/cdk-blue-green-container-deployment
version2.1.0