-
Notifications
You must be signed in to change notification settings - Fork 18
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
[BUG] An error occurred (ValidationError) when calling the CreateChangeSet operation: Stack [microservices] already exists and cannot be created again with the changeSet [microserviceslisoguuxne]. #785
Comments
Hello @raffidahmad |
Hi @JohnPreston , yes i was able to use "up" and continue on however i think it would be a good feature to have no? To be able to see the plan/changeset before doing the up operation. |
Yes, agreed, but then I need to handle the "already exists exception" and prompt the user whether they want to do a cleanup first then run the plan again. Does that make sense? |
I might be misunderstanding here but does it mean if i created a stack using up first, the next time i make a change and do "plan", i will first need to delete the stack i already made before? Or do you mean a "plan" cannot happen over a "plan" |
I don't think so, no. But if the stack is not created but |
Okay, I did not test out "create" for my use case but I'll try it out and see what happens.
Were my expectations misaligned with what it is actually for? |
No, your exceptions are correct, I just never did implement the |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Docker compose file:
aws-compose-extension:
Expected behavior
I first create my stack using only 1 service, it works
ecs-compose-x plan -f compose.yaml -f compose.ecs-extension.yaml -n microservices
Then i add another service, its listener (i cant add the :port that also fails for some reason)
and when i run the same plan command again
ecs-compose-x plan -f compose.yaml -f compose.ecs-extension.yaml -n microservices
everything works seemingly but when it's supposed to show the changeset it throws an error that the stack already exists. When it should just update the stack and add the new ones.
Or am i doing this wrong?
Logs
Error from compose-x after everything is done:
An error occurred (ValidationError) when calling the CreateChangeSet operation: Stack [microservices] already exists and cannot be created again with the changeSet [microserviceslisoguuxne].
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: