Commit Graph

20211 Commits

Author SHA1 Message Date
James Bardin 08339b004b release: clean up after v0.10.2 2017-08-16 17:38:16 +00:00
James Bardin a1d06eb973
v0.10.2 2017-08-16 17:25:37 +00:00
James Bardin 98171102d9 update CHANGELOG.md 2017-08-16 12:48:11 -04:00
Chris Marchesi 6ecf535ed9 Merge pull request #15819 from hashicorp/f-schema-set-hashequal
helper/schema: Add Set.HashEqual
2017-08-16 09:28:42 -07:00
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
Chris Marchesi 287a5eb66a
helper/schema: More tests for Set.HashEqual
Just to make sure equality on outer and inner values does not affect
anything.
2017-08-15 21:56:01 -07:00
Chris Marchesi ca42980e49
helper/schema: Add Set.HashEqual
Equality of schema.Sets gets tricky when dealing with nested sets -
Set.Equal only superficially compares the underlying maps and hence any
sets nested under the root sets cause issues.

This adds a simple method, HashEqual, that does a top-level hash
comparison, helping to work around this without any complex re-invention
of things like reflect.DeepEqual.

Of course, in order to make effective use of this function, the user
needs to make sure they are properly hashing their nested sets, however
this is trivial with things like HashResource.
2017-08-15 21:50:52 -07: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
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