-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add the ability to destroy environments through the pipeline #88
Comments
Hrm - can you clarify? How exactly would you expect to use this in a project? Are you expecting the TerraformDestroyStage to accept an argument of a particular resource? As it stands, terraform-pipeline has the concept of entire 'environments', regardless of how many or how few resources exist within that environment. Moreover, my (possibly incorrect) assumption, would be that the UseCase for this new Stage, would simply be to retire an entire application, or environment - just once. Something like:
I'd run this once, and then delete all the source code. ^--- What I'm describing doesn't sound like what you're hoping to get. |
terraform
terraform-pipeline
We would bring this stack up as needed. |
Cool, so:
|
|
Ok, that said, I think I might try to make terraform-pipeline work like this:
^-- Small distinction, but Per the above, TerraformEnvironmentStage also behaves differently in How's that sound? |
Bumping to a future release |
UseCase: I'm ready to decommission my application, and delete/remove all my resources.
Behavior:
Questions:
|
Note: The ConditionalApplyPlugin skips |
On further thought, I think this issue could use some rework.
|
Have we made this feature to easy to use? What if, as part of confirmation, we required the user to type in the name of the application environment that they're destroying? If they don't type in the right thing, we skip the destroy. Breaking this out into a separate issue, for some future release. #261 |
Creating a separate issue for the original UseCase - Issue #262 |
Request
Ability to destroy resources via terraform-pipeline.
Why?
Deploying at a predetermined time can cause "release" problems. One example is listed below.
How?
AWS EC2 Capacity Reservation is requested for each AZ, X hours before the predetermined release time. After the release is complete, the AWS EC2 Capacity Reservation is cancelled.
The text was updated successfully, but these errors were encountered: