Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error "UPDATE_ROLLBACK_COMPLETE: Modifying service token is not allowed." when upgrading from CDK v1 to CDK v2 #197

Open
alehuo opened this issue Mar 16, 2023 · 0 comments

Comments

@alehuo
Copy link

alehuo commented Mar 16, 2023

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 version 2.68.0
  • @cloudcomponents/cdk-blue-green-container-deployment version 2.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant