copilot-cli: Copilot is not able to delete the app when I have added environment addons

copilot app delete 

not able to delete the app, gets stuck after deleting the services - does not proceed to delete the environment and it’s addons

console shows the delete has not even been initiated

Screenshot 2023-04-04 at 6 38 34 PM Screenshot 2023-04-04 at 6 38 46 PM

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

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.

Delete seems to be behaving now too, even if we deploy the addons after initially deploy the environment. Thanks for you help @iamhopaul123 and @KollaAdithya.

Ah, so we need to refer to things by their “Logical ID”, not the “Key” in the “Outputs”. I may have misunderstood this from the previous “EnvironmentSecurityGroup” example because it’s the same in both.

I have made some progress deploying. Thanks @KollaAdithya.

Hello @WillGibson. Yes, you are right: env addons should work the same way as service addons.

Hi @iamhopaul123 That sounds promising. Your example is for a service addon, whereas the app I am currently playing with only has an environment addon. Looks like this should work for an environment addon though as well.