Open CAFxX opened 7 years ago
+1 on this as a useful thing. I know that Concourse doesn't really have a concept of resource destruction right now, but perhaps something along the lines of https://github.com/ljfranklin/terraform-resource action: destroy
might be a stopgap?
I think it's a useful feature.
Image is like below?
put: cf
params:
action: delete # (or deploy)
manifest: ...
....
If we implement it, we may be able to do it with cloudfoundry-community/go-cfclient.
Yup, this is definitely better to have. And I just found this, https://github.com/nulldriver/cf-cli-resource, which allow you to do cf delete.
A common pattern we have is the following:
Currently there's no way to do step 3 with the cf resource, so we have to resort to scripts. Would be nice if the cf resource was extended to allow this kind of operations