Commit Graph

22633 Commits

Author SHA1 Message Date
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
Sander van Harmelen 621d589189 backend/remote: add support for the apply operation 2018-09-22 11:49:42 +02:00
Sander van Harmelen 27b720113e
Merge pull request #18914 from hashicorp/f-update-deps
govendor: update `go-tfe`
2018-09-21 18:44:27 +02:00
Radek Simko 0a99df29c3
Merge pull request #18910 from hashicorp/docs-fix-plugin-crud
docs: Fix inaccurate plugin CRUD description
2018-09-21 07:17:18 +01:00
Sander van Harmelen 4b9f17d967 govendor: update `go-tfe` 2018-09-20 21:54:54 +02:00
Paddy Carver 393c32624a Add tests to ensure clearing sub-blocks works. 2018-09-20 10:52:36 -07:00
Radek Simko ecac80fd8e
docs: Fix inaccurate plugin CRUD description 2018-09-20 17:18:42 +01:00
Kristin Laemmert 5522500777
Merge pull request #18906 from otofune/patch-1
website: Fix proper nouns of vcs services
2018-09-20 07:40:57 -07:00
otofune 2a902fc06d
Fix proper nouns of vcs services 2018-09-20 00:26:15 +00:00
Paul Hinze 0005d93ab8
Merge pull request #18900 from hashicorp/b-skip-test-when-root
helper/pathorcontents: Skip one test when root
2018-09-19 18:02:28 -05:00
Chris Griggs 9caae644cc
Merge pull request #18903 from cgriggs01/cgriggs01-rightscale
RightScale provider links
2018-09-19 13:39:14 -07:00
Chris Griggs 735e38916a
CamelCase! 2018-09-19 13:22:12 -07:00
Chris Griggs 08c407a468
Merge branch 'master' into cgriggs01-rightscale 2018-09-19 13:20:26 -07:00
Chris Griggs 28ef7e2d37
Update 2018-09-19 13:15:35 -07:00
Chris Griggs daf1ec607d
CamelCase 2018-09-19 13:07:48 -07:00
Chris Griggs a7e5e15dc1
CamelCase it! 2018-09-19 13:06:29 -07:00
cgriggs01 7244abd978 add rightscale provider links 2018-09-19 11:37:40 -07:00
Paul Hinze 470ab3869f
helper/pathorcontents: Skip one test when root
One of the tests in this package doesn't work when the tests are run as
root - like inside of a Docker container. The test is still useful to
specify `pathorcontents` behavior when a file is not readable, so it's
better to skip than just delete it. See linked issue for further
disussion.

Closes #7707
2018-09-19 11:38:51 -05:00
Sander van Harmelen 49d62d3a1b
Update CHANGELOG.md 2018-09-18 20:45:51 +02:00
Sander van Harmelen 76a4621f09
Merge pull request #18894 from hashicorp/b-state-locking
Make sure the state is locked before it is used
2018-09-18 20:44:02 +02:00
Sander van Harmelen 36bd5d6480 Make sure the state is locked before it is used
Both the `taint` and `untaint` commands had a small logical error that caused them you first get the state and then lock it.
2018-09-18 20:32:04 +02:00
Kristin Laemmert 813b5fd27f
Merge pull request #18825 from sean-/master-make-dev-drift
build: Updates required to bump golang version to 1.11
2018-09-17 09:00:04 -07:00
Kristin Laemmert 1df423e302 update README.md with current required go version 2018-09-17 08:57:34 -07:00
Chris Griggs 46a40b9c00
Merge pull request #18884 from cgriggs01/cgriggs01-oci-provider
Add Oracle Cloud Infrastructure provider links
2018-09-17 08:40:19 -07:00
cgriggs01 a1b08e16c3 add oci provider links 2018-09-17 08:22:30 -07:00
Sander van Harmelen f76c7cda6d
Merge pull request #18883 from hashicorp/b-empty-list
backend/remote: handle empty results correctly
2018-09-17 17:04:48 +02:00
Sander van Harmelen 4aeb67b8ff backend/remote: handle empty results correctly
The pagination info of a list call that returns an empty list contains:

```go
CurrentPage: 1
TotalPages: 0
```

So checking if we have seen all pages using `CurrentPage == TotalPages` will not work and will result in an endless loop.

The tests are updated so they will fail (timeout after 1m) if this is handled incorreclty.
2018-09-17 16:22:54 +02:00
Sander van Harmelen a13a107bd4
Update CHANGELOG.md 2018-09-17 16:16:56 +02:00