generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HCP status check to run prior to TF commands (#184)
* add status check using static status json example * append errors to existing diagnostic array so all warnings + error show when error triggered * add actual request to status page json endpoint * fix errorf * remove trailing slashes from messages * return diags on success bonus: move around some variables * move HCP check into its own helper * only run status check when pointed at prod
- Loading branch information
1 parent
54299c4
commit 3be6359
Showing
1 changed file
with
101 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters