GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — test(e2e): clean redundant task stack for task e2e test by iamhopaul123 · Pull Request #1267 · aws/copilot-cli
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
Conversation
Contributor
Currently our task e2e test doesn't delete the task stack after running the task e2e test. And the task stack is very difficult to remove because the CFN Execution Role that used to manage the task stack is deleted when we delete copilot environment. Also, the remaining task stacks piles up in our Copilot pipeline account. This PR fixes this issue by removing task stack before we delete copilot app/env. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
huanjani
approved these changes
iamhopaul123
force-pushed
the
e2e/quick-fix
branch
from
78e0093 to
34247ed
Compare
efekarakus
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I'm trying to understand based on the error that you saw yesterday while trying to delete from console: Will this have the necessary permissions? how come?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah it will have. I tested that. So it's because we still have the CFN execution role since we haven't deleted the environment yet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok thanks that totally makes sense! I think one thing that these tests made us realize is that if a customer uses the same task group name to run their tasks both in a Copilot env and then in default, they won't be able to delete the stack in case the Copilot environment is deleted which is slightly surprising:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html Maybe, when we implement
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
efekarakus
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok thanks that totally makes sense! I think one thing that these tests made us realize is that if a customer uses the same task group name to run their tasks both in a Copilot env and then in default, they won't be able to delete the stack in case the Copilot environment is deleted which is slightly surprising:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html Maybe, when we implement
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
thrau
pushed a commit
to localstack/copilot-cli-local
that referenced
this pull request
<!-- Provide summary of changes --> Currently our task e2e test doesn't delete the task stack after running the task e2e test. And the task stack is very difficult to remove because the CFN Execution Role that used to manage the task stack is deleted when we delete copilot environment. Also, the remaining task stacks piles up in our Copilot pipeline account. This PR fixes this issue by removing task stack before we delete copilot app/env. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reviewers2 more reviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |