Commit Graph

20148 Commits

Author SHA1 Message Date
Radek Simko e5a25f69fd
tools/terraform-bundle: Add e2e tests 2017-08-16 18:20:14 +02:00
Radek Simko 9e7e4ff4fb
e2e: Decouple logic for running e2e tests 2017-08-16 18:20:13 +02:00
Radek Simko 698d888210 Update CHANGELOG.md 2017-08-16 17:54:46 +02:00
James Bardin 355c00be78 Merge pull request #15825 from hashicorp/jbardin/go-plugin
update go-plugin
2017-08-16 11:53:33 -04:00
Radek Simko 1ae7b418b4 Merge pull request #15826 from hashicorp/tf-bundle-fix-crash
tools/terraform-bundle: Add missing Ui to ProviderInstaller (fix crash)
2017-08-16 17:52:06 +02:00
Radek Simko bcd692af06
tools/terraform-bundle: Refactor & simplify messages 2017-08-16 17:41:36 +02:00
Radek Simko f4c648f649
tools/terraform-bundle: Add missing Ui to ProviderInstaller (fix crash) 2017-08-16 17:41:29 +02:00
James Bardin 181c5e01f6 update go-plugin 2017-08-16 11:25:28 -04:00
James Bardin bb00fd47c0 release: clean up after v0.10.1 2017-08-15 22:21:17 +00:00
James Bardin f6d16263a0
v0.10.1 2017-08-15 21:50:02 +00:00
James Bardin ecdc96406d update CHANGELOG.md 2017-08-15 16:43:46 -04:00
James Bardin 3dd0f93aed Merge pull request #15816 from hashicorp/jbardin/plugin-logger
specify a logger for go-plugin
2017-08-15 14:55:11 -04:00
James Bardin 714df97a02 specify a logger for go-plugin
The go-plugin package now uses hclog. The default Logger has a level set
to Info, but all plugin output is relayed via Debug. Create a new named
logger for plugins with the level set to Trace so that all output comes
through.
2017-08-15 14:34:04 -04:00
Radek Simko faee1c370b Update CHANGELOG.md 2017-08-15 19:44:30 +02:00
Radek Simko 82c6caa666 Merge pull request #15804 from hashicorp/plugin-transparency
plugin: Display version + source when initializing plugins
2017-08-15 19:43:50 +02:00
Radek Simko 28b33c9299
plugin: Display version + source when initializing plugins 2017-08-15 19:29:13 +02:00
Jake Champlin 95952655cf Merge pull request #15812 from rkhozinov/patch-1
Fix a typo in CHANGELOG.md
2017-08-15 10:17:22 -04:00
Ruslan e9ffa24174 Fix a typo in CHANGELOG.md 2017-08-15 14:10:09 +00:00
Tom Harvey 81f9c78122 Adding `resource_group_name` back in, fixes #15610 (#15809) 2017-08-15 11:54:48 +01:00
Martin Atkins 5c8ff928ba build: scripted local build process for docker images
#15596 set things up with the intent that the docker image build process
would be handled by the automated build system on dockerhub, but after
merging we found that it's impossible to change the source git repository
for an existing dockerhub repository.

To get away from the limitations of dockerhub, we intend to eventually
automate these builds in a separate CI system. Here we add some scripts
that would drive such an automated process. It's split into multiple steps
to allow for situations where the new version should not be tagged as
the latest, and to make it easier and safer to test the build script
while doing development on it.

Since this automated process doesn't yet exist, a wrapper script
release.sh is included to help run a local, manual build and deploy
process in the mean time. The README.md in the docker-release dir here
contains details on the intended usage.
2017-08-14 12:16:21 -07:00
Radek Simko b1e925e9d2 Merge pull request #15802 from hashicorp/vendor-bump-mitchellh-cli
vendor: Bump github.com/mitchellh/cli to latest
2017-08-14 17:55:24 +02:00
Radek Simko 38cb98fb0c
Comply w/ latest changes in mitchellh/cli 2017-08-14 17:19:40 +02:00
Radek Simko 655f1d6500
vendor: Bump github.com/mitchellh/cli to latest 2017-08-14 17:17:48 +02:00
Radek Simko eb20352f41 Merge pull request #15800 from hashicorp/lower-log-lvl-dag
terraform+dag: Set lower log levels
2017-08-14 16:17:04 +02:00
Radek Simko 93613ee526
terraform+dag: Set lower log levels 2017-08-14 11:43:45 +02: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