Radek Simko
93613ee526
terraform+dag: Set lower log levels
2017-08-14 11:43:45 +02:00
Ross McFarland
06b4b509d7
Doc state/http supports_locking
2017-08-13 09:49:49 -07:00
Ross McFarland
6cdea5af5d
Clean up code and make the state/http behavior more consistent
2017-08-13 09:49:08 -07:00
Ross McFarland
ce4d9fb3c2
Add tests for state/http with locking
2017-08-13 09:16:42 -07:00
Ross McFarland
1d38569c91
Add Lock/Unlock support to remote/http
2017-08-13 07:39:22 -07:00
Martin Atkins
ee5fc3b986
govendor fetch github.com/hashicorp/go-plugin/...
...
This puts us on a version that has grpc protocol support. Although we're
not actually using that yet, the plugin has handshake changed slightly to
allow plugins to declare whether they use the old or new protocols, and
so this upgrade allows us to support plugins that were built against
newer versions of go-plugin that include this extra field in the
handshake.
This fixes #15756 .
2017-08-11 10:51:30 -07:00
James Bardin
d756e59824
Merge pull request #15780 from hashicorp/jbardin/input-module-vars
...
Allow module variable interpolation to fail during Input
2017-08-11 10:24:27 -04:00
James Bardin
ea3e87b584
Merge pull request #15768 from hashicorp/jbardin/remote-import
...
Don't ForceLocal for the import backend
2017-08-11 09:12:46 -04:00
Martin Atkins
4bc88d2585
website: correct the spelling of the -from-module arg to "terraform init"
2017-08-10 17:56:11 -07:00
James Bardin
1664d4e228
test with bad interpolation during Input
...
The interpolation going into a module variable here will be valid after
Refresh, but Refresh doesn't happen for the Input phase.
2017-08-10 14:14:29 -04:00
James Bardin
97bb7cb65c
Don't allow interpolation failure to stop Input
...
Allow module variables to fail interpolation during input. This is OK
since they will be verified again during Plan. Because Input happens
before Refresh, module variable interpolation can fail when referencing
values that aren't yet in the state, but are expected after Refresh.
2017-08-10 14:14:29 -04:00
Clint
48acba2c9b
Merge pull request #15775 from hashicorp/dev-program-remove
...
Guides: remove the provider development program for now
2017-08-10 10:52:22 -05:00
clint shryock
f291994a3f
Guides: remove the provider development program for now
2017-08-10 10:10:57 -05:00
James Bardin
5bcc1bae59
Merge pull request #15769 from hashicorp/jbardin/discovery-paths
...
load legacy plugin paths
2017-08-09 17:54:59 -04:00
James Bardin
a87161b100
Merge pull request #15772 from hashicorp/jbardin/remote-exec-backoff
...
backoff retries in remote-exec provisioner
2017-08-09 17:49:46 -04:00
James Bardin
2bb5007690
Merge pull request #15683 from hashicorp/jbardin/remote-state-lineage
...
Remove strict lineage check in remote.State
2017-08-09 17:49:19 -04:00
James Bardin
52dbf94834
keep .terraform.d/plugins for discovery
2017-08-09 17:46:49 -04:00
James Bardin
db42015342
backoff retries in remote-exec provisioner
...
Add a simple backoff to the remote-exec retryFunc.
Backoff between tries, up to a 10s max.
2017-08-09 15:54:08 -04:00
James Bardin
37932c3cd6
make state_rm flag description match state_mv
2017-08-09 14:03:40 -04:00
James Bardin
4034f988df
update import command docs
...
Fix the -state and -state-out wording to be consistent with other
commands. Remove the erroneous reference to remote state in the website
version of the flag description.
2017-08-09 14:01:45 -04:00
James Bardin
54998933f5
load Meta.PluginOverrides in dicovery
...
Make sure the override paths from the legacy rc file are loaded for
discovery.
2017-08-09 11:14:33 -04:00
James Bardin
fa20d43d80
test loading of Meta.PluginOverrides
...
These are currently being skipped in discovery
2017-08-09 11:13:54 -04:00
James Bardin
41ab0aef7a
Add missing OS_ARCH dir to global plugin paths
...
When the global directory was added, the discovery system still
attempted to search for OS_ARCH subdirectories. It has since been
changed only search explicit paths.
2017-08-09 10:34:11 -04:00
James Bardin
e3748901b4
Don't ForceLocal for the import backend
...
While the `local.Local` backend is the only implementation of
`backend.Local`, creating the backend with `ForceLocal` bypasses the
`backend.Backend` in the `local.Local` causing a local state to be
implicitly created rather than using the configured state backend.
Add a test that imports into a configured backend (using the "local"
backend as a remote state proxy). This further confirms the confusing
nature of ForceLocal, as the backend _is_ local, but not from the
viewpoint of meta.Backend.
2017-08-09 10:24:32 -04:00
Clint
8b3b678c2f
Merge pull request #15760 from alex1x/master
...
Fix titles on partner contact table on provider development program guide
2017-08-08 10:38:46 -05:00
Alex Tasioulis
5f3e76203b
Fix titles on partner contact table on provider development program guide
...
"Website" and "Email" were the wrong way around.
2017-08-08 16:19:49 +01:00
James Bardin
5769ee745d
Merge pull request #15738 from hashicorp/jbardin/s3-key-validation
...
don't allow leading slashes in s3 remote state key
2017-08-08 09:48:20 -04:00
James Bardin
4c7cd549cd
don't allow leading slashes in s3 remote state key
...
S3 accepts objects with a leading slash and strips them off. This works
fine except in our workspace hierarchy, which then can no longer find
suffixes matching the full key name.
2017-08-08 09:47:44 -04:00
James Bardin
56240023a9
Merge pull request #15755 from hashicorp/jbardin/init-docs
...
plugin docs
2017-08-08 09:14:08 -04:00
James Bardin
a56a97a5f5
mention 'terraform.d/plugins` for automation
2017-08-07 17:35:16 -04:00
James Bardin
2597500b47
reword init documentation for consistency
...
Reword the paragraph to match the voice and point of view of the rest of
the section. Use the term general termn "plugin" rather than "provider"
2017-08-07 17:28:11 -04:00
Clint
399856001a
Merge pull request #15745 from ctavan/improve-provider-plugin-docs
...
Document how to provide provider plugin overrides
2017-08-07 14:40:14 -05:00
Clint
77f74c37c8
Merge pull request #15749 from gregswift/typo-additional
...
Fix typo of additional
2017-08-07 11:50:33 -05:00
Greg Swift
944a9301df
Fix typo of additional
2017-08-07 11:47:42 -05:00
Clint
50108d305d
Merge pull request #15748 from kbrowns/patch-1
...
small typo correction
2017-08-07 11:27:33 -05:00
Sevag Hanssian
3477868804
PR feedback
2017-08-07 12:21:27 -04:00
Kelly Brownsberger
40bb7612c1
small typo correction
...
'used used' => 'used'
2017-08-07 11:52:04 -04:00
Radek Simko
59c9ca5b96
Merge pull request #15737 from josephholsten/clean-vendor
...
vendor: rm unused
2017-08-07 17:33:47 +02:00
Sevag Hanssian
08670763aa
Add salt-masterless provisioner doc
2017-08-07 10:00:29 -04:00
Sevag Hanssian
867760ed56
Add salt-masterless provisioner
2017-08-07 10:00:29 -04:00
Christoph Tavan
b413061fd8
Document how to provide provider plugin overrides
...
The docs did not mention that it is possible to provide overrides for specific
plugins by placing them into a `terraform.d/plugins/os_arch/` directory inside
the working dir.
Closes #15727 .
2017-08-07 10:53:40 +02:00
Joseph Anthony Pasquale Holsten
153202c3b0
vendor: rm github.com/hashicorp/golang-lru(/simplelru)
2017-08-04 13:25:02 -07:00
Joseph Anthony Pasquale Holsten
eccfa6de5c
vendor: rm github.com/hashicorp/go-msgpack/codec
2017-08-04 13:23:08 -07:00
Joseph Anthony Pasquale Holsten
05ce58279e
vendor: rm github.com/armon/go-metrics
2017-08-04 13:22:52 -07:00
Radek Simko
3db3502487
Update CHANGELOG.md
2017-08-04 22:05:46 +02:00
Radek Simko
4acdc53a56
Merge pull request #15695 from radeksimko/f-config-reserve-id
...
config: Make 'id' a reserved field name
2017-08-04 22:04:14 +02:00
James Bardin
550197db50
Merge pull request #15698 from cblecker/go1.8.3
...
build: Update travis and Vagrantfile go versions
2017-08-04 12:15:24 -04:00
James Bardin
11668d5c8a
Merge pull request #15599 from alrs/terraform-tests-swallowed-errors
...
Fix swallowed tests in terraform package tests
2017-08-04 12:09:00 -04:00
Jake Champlin
66971cef70
Update CHANGELOG.md
2017-08-03 18:07:08 -04:00
Jake Champlin
3600f0b730
Merge pull request #15723 from hashicorp/f-get-boolean-non-default
...
core: Add `GetOkExists` schema function
2017-08-03 18:06:17 -04:00