jbergknoff/Wait for Terraform Plan Approval

Uses an external service to display a plan and wait for approval/rejection. Polls in the meantime

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandWhat to do: either `submit` or `wait`.yessubmit
plan_contentsThe contents of the plan. ANSI color codes are fine. This should be plaintext, not base64-encoded. Required when `command == submit`.
plan_idThe plan id to wait for. Required when `command == wait`.
external_service_urlBase URL for the external service that will display plans for approvalhttps://terraform-plan-approval.herokuapp.com
timeout_secondsGive up waiting for approval/rejection after this many seconds300
polling_period_secondsThe interval (in seconds) at which we'll check the plan status5
namedescription
plan_idWhen `command == submit`, returns the id of the plan generated by the external service.
approval_prompt_urlWhen `command == submit`, returns the URL that a human should visit to review and approve/reject the plan.
plan_statusWhen `command == wait`, returns the final status of the plan: either "approved", "rejected", or "timed out".