Creation of demo app failed; copilot stopped functioning
Dear all,
I've been trying to start a simple demo app. Something went wrong during init:
Some kind of timeout. It happens.
But now I can't do anything anymore with the copilot cli. Each and everyone of the subcommands comes back with an error like this:
I can't delete the failed app b/c it can't be found:
I've logged in on the web console and I can't find anything there either (should I be able to?).
I've logged out. I've removed the .aws directory entirely. I don't think I have state on my local machine.
What else can I try?
It is possible that there isn't any lingering resource in your AWS account. If your goal is to delete "demo" completely, that means you don't need to do anything from this point.
If there is anything at all, I think the only resource would be the "demo-infrastructure-roles" stack. To look for the stack - 1) go to CloudFormation console, 2) switch to the region that you ran init with (if you didn't set any AWS environment variables related to regions, e.g. AWS_REGION, AWS_DEFAULT_REGION, etc.), 3) see if there is a stack named "demo-infrastructure-roles" 4) If there isn't any, look for "Deleted" stacks and "Failed" stacks.
If you can't find any stack, or you found it in "Deleted" / "Failed", then you are good!
To elaborate on the error message - Copilot reads the copilot/.workspace file and finds out that there should an application called "demo". It then tries to read from your account & region an SSM parameter named "copilot/applications/demo", and emits the error that you saw when it can't find one.
This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days.
This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions!