Commit Graph

22032 Commits

Author SHA1 Message Date
Martin Atkins fff2ed1d7e Update CHANGELOG.md 2018-10-16 18:20:32 -07:00
Martin Atkins 6a6d21fb0a version: change to 0.12.0 to mark the beginning of the 0.12 dev branch 2018-10-16 18:20:10 -07:00
Sander van Harmelen 2b128f3bfb
Update CHANGELOG.md 2018-10-17 00:03:39 +02:00
Sander van Harmelen 6d4dffb93e
Merge pull request #19088 from hashicorp/f-plan-policy
backend/remote: make sure we also output policies while planning
2018-10-17 00:01:20 +02:00
Luke Kysow 3eafbf3861 Add link to Terraform's GitHub Actions docs (#19091) 2018-10-16 10:36:04 -07:00
Sander van Harmelen 8875fa660f Make sure we also output policies while planning 2018-10-16 17:16:28 +02:00
Paul Tyng 87d05607d3
Add missing Azure entry to changelog 2018-10-16 09:13:57 -04:00
Sander van Harmelen 3d3c748ffe release: clean up after v0.11.9-beta1 2018-10-15 23:09:59 +02:00
Sander van Harmelen 48c1ae62b3 v0.11.9-beta1 2018-10-15 21:04:37 +02:00
Sander van Harmelen 7e4bff54cd
Merge pull request #19079 from hashicorp/f-header
backend/remote: improve console output
2018-10-15 20:47:14 +02:00
Sander van Harmelen 775f8a9626 Make sure we always set a custom header
This is for TFE to recognize were the calls come from.
2018-10-15 20:33:42 +02:00
Sander van Harmelen 0a59e54933 Improve the output just a bit 2018-10-15 19:56:59 +02:00
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