Sander van Harmelen
c08cd597c5
Omit any empty lines containing STX/ETX markers
2018-10-11 22:08:09 +02:00
Sander van Harmelen
fb0af07696
Print status updates while waiting for the run to start
2018-10-11 13:41:48 +02:00
Sander van Harmelen
d78470ad5a
Don’t ask questions when -auto-approve is set
...
We previously asked to override a soft-failed policy, even wehn -auto-approve was set. That is now fixed by returning a policy failed error.
2018-10-09 20:12:33 +02:00
Sander van Harmelen
194863db4e
Properly handle workspaces that auto apply changes
...
This commit adds logic to check if a workspace is configured to auto apply changes. And if it does, we make sure we output all steps correctly.
2018-10-08 12:31:21 +02:00
Sander van Harmelen
67db9da000
Add checks for all flags we currently don’t support
...
For Plan only:
-module-depth=n
For Plan & Apply
-parallelism=m
-refresh=false
-var “foo=bar” and -var-file=foo
2018-10-05 20:16:34 +02:00
Sander van Harmelen
ffc67a8e90
Prevent running plan or apply without permissions
2018-10-05 12:06:00 +02:00
Sander van Harmelen
c12f0355a7
Revert "Merge pull request #18980 from hashicorp/f-policy-output"
...
This reverts commit f09c2db8d2
, reversing
changes made to 8394dc797d
.
2018-10-04 23:03:40 +02:00
Sander van Harmelen
37f5ab3500
Only show the full policy output when it fails
...
If the policy passes, only show that instead of the full check output to prevent cluttering the output. So a passing policy will only show:
-----------------------------------------------
Organization policy check: passed
-----------------------------------------------
2018-10-02 19:16:17 +02:00
Sander van Harmelen
2bd1040bbd
backend/remote: extend mocks and add apply tests
2018-09-26 21:35:41 +02:00
Sander van Harmelen
9f9bbcb0e7
backend/remote: lots of improvements
...
This commit adds:
- support for `-lock-timeout`
- custom error message when a 404 is received
- canceling a pending run when TF is Ctrl-C’ed
- discard a run when the apply is not approved
2018-09-22 11:49:42 +02:00
Sander van Harmelen
621d589189
backend/remote: add support for the apply operation
2018-09-22 11:49:42 +02:00