Open petems opened 5 years ago
Is this likely to see any movement? The ability to wait for a UI or API approval in Terraform Cloud would be a useful feature for our CI/CD implementation.
Any news on this topic? this would be very useful for our use case.
Yeah, would love to have some updates about this as well.
Running terraform apply without -auto-approve
in CircleCI will just state:
│ Error: Cannot confirm apply due to -input=false. Please handle run confirmation in the UI.
I mean... Yes? That's the whole point. I want CircleCI to keep waiting until I confirm in the Terraform Cloud UI. No need to crash. Now I gotta work around this thing, so that'll take me some more hours unfortunately.
Use-cases
Scenario: Remote approval with enhanced remote backend
Example Workflow:
Attempted Solutions
Right now, the only real way to do this is to run Terraform and then have wait at the approval stage. This requires a TTY present (not always possible in certain orchestration environments).
Proposal
Some sort of flag specifically for remote approval.
For example:
References
https://www.terraform.io/docs/backends/types/remote.html#apply