-
Notifications
You must be signed in to change notification settings - Fork 428
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
Unable to create environments after recreating an app #1679
Comments
Heya @lukeledet ! Apologies 🙇♂️, we introduced a bug in v0.6.0 #1662 that causes this error and merged the fix recently which should go out in the next release: #1663 In the mean time to unblock yourself, you can downgrade to v0.5.0 if that doesn't work let us know and we can push the fixed version out:
|
Thank you @efekarakus I was able to downgrade to 0.5.0 but I still can't create a load balancer. I got the following error:
Running it again gave me this error:
It seems like everything is rolling back correctly on these failures but subsequent runs give similar errors. I don't know if this is related or some other issue though |
Ah interesting 🤔 once it rollbacks, is it possible to manually delete the environment's cloudformation stack and then retry the operation again? We're in the process of doing a release so hopefully the fix for this issue should be out soon! |
Yes, I could delete the stack and run it again. Same problem but I noticed that when it rolls back it doesn't delete the |
@lukeledet Awesome! also we just released v0.7.0 that contains the fix for this issue: https://github.com/aws/copilot-cli/releases/tag/v0.7.0 It'd be super helpful for us if you don't mind giving it a try and see if the problem goes away :) |
I had to manually delete the old |
I first created an app with this command:
copilot app init myapp
Then I added 2 environments:
Then I created 2 services:
Then I setup Route53 and ACM manually to point a domain at the load balancer. I was able to access my intake-form service without an issue but after getting some help on gitter I realized I should have used the
--domain
flag when creating the app. Since everything was brand new I rancopilot app delete
and wiped it all out. Then I recreated the app:copilot app init myapp --domain mydomain.com
This worked without a problem. But now when I try to add an environment to the app using the same commands above, I get this error:
I have tried with staging, prod and test in case it could only create environments with new names for some reason but nothing is working.
Is there something that does not get deleted in the account that I can manually delete to be able to use copilot again?
The text was updated successfully, but these errors were encountered: