Commit Graph

21770 Commits

Author SHA1 Message Date
Sander van Harmelen cdf997a97c govendor: update `go-tfe` 2018-10-15 19:26:06 +02:00
Paul Tyng f74774ff4f
Merge pull request #18877 from gsacavdm/update-goautorest
Update go-autorest to v9.10.0
2018-10-15 12:53:53 -04:00
Sander van Harmelen 7b55d1640e
Merge pull request #19060 from hashicorp/f-stx-etx
backend/remote: update `go-tfe` to support better log polling
2018-10-11 23:11:52 +02:00
Sander van Harmelen c08cd597c5 Omit any empty lines containing STX/ETX markers 2018-10-11 22:08:09 +02:00
Sander van Harmelen 8826d67acf govendor: update `go-tfe` 2018-10-11 22:07:22 +02:00
Sander van Harmelen 5e511e1ea1
Update CHANGELOG.md 2018-10-11 20:36:29 +02:00
Sander van Harmelen c3e9d78873
Merge pull request #19047 from hashicorp/f-watch-queues
backend/remote: print status updates while waiting for the run to start
2018-10-11 20:31:07 +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 62656a6ce8
Update CHANGELOG.md 2018-10-11 12:52:22 +02:00
Sander van Harmelen 56e6c60f76
Merge pull request #18533 from alice-sawatzky/master
change chef linux provisioner to use user:group chown syntax
2018-10-11 10:29:01 +02:00
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