cloudfoundry / cf-deployment-concourse-tasks

Apache License 2.0
23 stars 76 forks source link

Feature request: Support bbl's global debug flag #3

Closed aashah closed 7 years ago

aashah commented 7 years ago

We found ourselves in a position where bbl create-lbs was failing with no helpful output. We believed this was the terraform apply failing, and since that output is scrubbed for security reasons, we didn't know why it was failing. The problem was only visible when we manually ran the command from our own machine and turned out to be a simple resource conflict.

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/139855395

The labels on this github issue will be updated when the story is started.

dsabeti commented 7 years ago

@aashah This sounds reasonable, but there's one important thing to consider. Terraform will spit out all sorts of sensitive information if you use the --debug flag (maybe @evanfarrar can chime in about this).

What the task could do is run --debug and then pipe that output to a file. If your task fails, you can fly hijack and get the debug output.

aashah commented 7 years ago

Looks like this was accepted in the created story. I'm gonna close this if that's cool.

dsabeti commented 7 years ago

Thanks @aashah. I thought gitbot would cover this, but apparently it doesn't.