-
Notifications
You must be signed in to change notification settings - Fork 85
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
Get so i can depend on a destroy #6
Comments
@squeedee After thinking about it for a bit, I think this can be done by adding a "destroyed" field to the version: type Version struct {
LastModified string `json:"last_modified"`
EnvName string `json:"env_name"`
Destroyed bool `json:"destroyed"`
} This way the In the meantime, you can workaround this by doing the destroy and create in the same job: - name: create-deployment
plan:
- get: environment
trigger: true
passed: [claim-environment]
- put: opsman-terraform
params:
action: destroy
env_name: {{environment-name}}
get_params:
action: destroy
- get: appdog-ci
- put: opsman-terraform
params:
env_name: {{environment-name}} |
@squeedee still thinking about this, but I'm leaning towards waiting until Concourse resource I already hacked around the lack of a delete with |
@squeedee Going to close this out as |
In my pipeline, i want to ensure the stack is removed before redeploying it, i'd like something like:
The text was updated successfully, but these errors were encountered: