Sander van Harmelen
5eb49f9df5
govendor: update `go-tfe`
2018-10-10 19:45:22 +02:00
Sander van Harmelen
617aaa6839
Update CHANGELOG.md
2018-10-10 18:56:19 +02:00
Sander van Harmelen
4586b9f65a
Merge pull request #19035 from hashicorp/f-policy-override
...
backend/remote: don’t ask questions when -auto-approve is set
2018-10-10 18:55:34 +02:00
Chris Griggs
15dda63358
Merge pull request #19044 from cgriggs01/cgriggs01-add-helm
...
add helm links
2018-10-09 17:07:43 -07:00
cgriggs01
87191d46cd
add helm links
2018-10-09 16:57:54 -07:00
Chris Griggs
af2e504296
Merge pull request #19039 from cgriggs01/cgriggs01-nutanix-links
...
[Website] New Nutanix Provider Links
2018-10-09 15:20:01 -07:00
cgriggs01
24c360ec8d
add nutanix links
2018-10-09 14:29:52 -07: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
4ff43440be
Update CHANGELOG.md
2018-10-09 09:43:37 +02:00
Sander van Harmelen
53a8aaaf85
Merge pull request #19022 from hashicorp/f-auto-apply
...
backend/remote: properly handle workspaces that auto apply changes
2018-10-09 09:43:25 +02:00
Sander van Harmelen
c03a89c788
Merge pull request #19014 from hashicorp/f-exit-code
...
backend/remote: allow enhanced backends to pass custom exit codes
2018-10-09 09:42:17 +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
b1fdbd7db8
Allow enhanced backends to pass custom exit codes
...
In some cases this is needed to keep the UX clean and to make sure any remote exit codes are passed through to the local process.
The most obvious example for this is when using the "remote" backend. This backend runs Terraform remotely and stream the output back to the local terminal.
When an error occurs during the remote execution, all the needed error information will already be in the streamed output. So if we then return an error ourselves, users will get the same errors twice.
By allowing the backend to specify the correct exit code, the UX remains the same while preserving the correct exit codes.
2018-10-05 20:44:12 +02:00
Sander van Harmelen
e0b7475984
Merge pull request #19013 from hashicorp/f-check-errors
...
backend/remote: add checks for all flags we currently don’t support
2018-10-05 20:37:53 +02:00
Sander van Harmelen
5239462dd9
Update CHANGELOG.md
2018-10-05 20:27:42 +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
979aa812df
Merge pull request #19012 from hashicorp/f-check-permissions
...
backend/remote: prevent running plan or apply without permissions
2018-10-05 20:12:45 +02:00
Sander van Harmelen
ffc67a8e90
Prevent running plan or apply without permissions
2018-10-05 12:06:00 +02:00
Sander van Harmelen
53d322ec69
Test lock timeout errors when running a plan
2018-10-05 11:23:27 +02:00
Sander van Harmelen
c96155cc68
Merge pull request #19010 from hashicorp/f-revert-18980
...
backend/remote: revert pull request #18980
2018-10-04 23:23:31 +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
Chris Griggs
6eec5fadd0
Merge pull request #19003 from cgriggs01/master
...
[Website] New Communtiy Providers
2018-10-04 10:43:38 -07:00
Sander van Harmelen
ea0915cadb
Update CHANGELOG.md
2018-10-04 19:40:56 +02:00
Chris Griggs
9463b010ed
Spelling fix!
2018-10-04 10:38:29 -07:00
Sander van Harmelen
308d70d226
Merge pull request #19002 from hashicorp/f-no-color
...
backend/remote: add support for `-no-color`
2018-10-04 19:34:51 +02:00
cgriggs01
7119caf198
formatting
2018-10-04 10:08:25 -07:00
cgriggs01
4bee6b30e2
add community prov
2018-10-04 09:44:35 -07:00
Sander van Harmelen
a2241e7c43
backend/remote: introduce support for `-no-color`
...
This is a bit of a hack to support the `-no-color` flag while we don’t have an option to set run variables.
That is also the reason why the orginal method is commented out instead of deleted. This will be reverted when the TFE starts supporting run variables.
2018-10-04 18:01:11 +02:00
Sander van Harmelen
f09c2db8d2
Merge pull request #18980 from hashicorp/f-policy-output
...
backend/remote: only show the full policy output when it fails
2018-10-04 17:29:14 +02:00
Sander van Harmelen
8394dc797d
Merge pull request #18979 from hashicorp/f-cancel-apply
...
backend/remote: ask to cancel a pending remote operation
2018-10-04 17:28:20 +02:00
Sander van Harmelen
3979aec0ae
Ask to cancel a pending remote operation
...
Except when a lock-timeout has exceeded or auto-approve is set.
2018-10-04 17:16:45 +02:00
Sander van Harmelen
5ec63c0b30
Merge pull request #18990 from skinofstars/master
...
Update wrong usage workspace command description
2018-10-04 16:57:59 +02:00
Kevin Carmody
7ac9a576bb
Update wrong usage workspace command description
...
Small update to the description to include available commands, rather than similar looking but wrong ones.
2018-10-03 12:00:27 +01:00
Nick Fagerlund
b3935b29d7
website: Reconcile docs about plugin discovery and downloading ( #18973 )
...
website: Reconcile docs about plugin discovery and downloading
I'm attempting to keep things simple for normal users while making sure we've
got the full behavior written down somewhere for plugin developers.
This commit doesn't stand alone; it's paired with a commit in the
terraform-website repo, to deal with some related content in the "extend"
section.
2018-10-02 16:53:29 -07: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
Chris Griggs
fd1f630aff
Merge pull request #18962 from cgriggs01/cgriggs01-typo-patch
...
fix typo
2018-09-27 16:01:48 -07:00
cgriggs01
8bce8cd72a
fix typo
2018-09-27 15:58:18 -07:00
Chris Griggs
2d2126fd63
Merge pull request #18960 from cgriggs01/cgriggs01-community
...
add community providers
2018-09-27 15:53:19 -07:00
cgriggs01
009ede44e2
add community providers
2018-09-27 15:37:36 -07:00
Chris Griggs
36e7ada76c
Merge pull request #18957 from cgriggs01/master
...
[Website] New Provider Links
2018-09-27 14:34:40 -07:00
cgriggs01
2d7b9dfcf9
add tencentclould links
2018-09-27 12:14:04 -07:00
Sander van Harmelen
c1fe05ec75
Merge pull request #18950 from hashicorp/f-apply-command
...
backend/remote: initial version of the apply command
2018-09-27 13:52:33 +02:00
Chris Griggs
78c9bc0528
Merge pull request #18951 from cgriggs01/cgriggs-bigip
...
Website: New F5 BigIP provider links
2018-09-26 14:58:07 -07:00
cgriggs01
fc3148e17a
add bigip links
2018-09-26 14:28:33 -07:00
Paddy
35d82b0555
Merge pull request #18795 from hashicorp/paddy_diff_nested_checkKey
...
Allow for nested fields with checkKey on ResourceDiffs.
2018-09-26 14:21:28 -07:00
Sander van Harmelen
b28f47055d
backend/remote: extend mocks and add sentinel tests
2018-09-26 22:34:32 +02:00
Paddy Carver
2eadc8f625
Don't allow sub-blocks for SetNew.
...
You can't set individual items in lists, you can only set the list as a
whole, so we shouldn't allow sub-blocks to SetNew or SetNewComputed.
2018-09-26 12:38:38 -07:00
Sander van Harmelen
2bd1040bbd
backend/remote: extend mocks and add apply tests
2018-09-26 21:35:41 +02:00
tombuildsstuff
6f7a60e6a9
Updating to v9.10.0 of `github.com/Azure/go-autorest`
2018-09-26 07:37:19 +10: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