Commit Graph

20340 Commits

Author SHA1 Message Date
Ross McFarland d889ac38b0 Change remote/http store to update, more consistent with doc 2017-08-20 05:59:04 -07:00
Ross McFarland 510563b67f Fully test conf handling in httpFactory 2017-08-19 11:17:25 -07:00
Ross McFarland 69546c4b33 Pass at much more flexible remote/http backend
- Configurable Put (store) method, default POST to preserve behavior
- Configurable Lock method & address
- Configurable Unlock method & address

More thorough testing still needed, but this if functional
2017-08-19 10:31:47 -07:00
Martin Atkins e359930530 Update CHANGELOG.md 2017-08-18 10:00:39 -07:00
Sebastian Maj 28b5708fef config: jsonencode function to support nested lists and maps 2017-08-18 09:57:57 -07:00
James Bardin 0da6b95ef8 Merge pull request #15841 from hashicorp/jbardin/azurerm-backend
Rename the azure backend to azurerm
2017-08-17 16:59:47 -04:00
James Bardin 68da0390b7 remove legacy azure remote state code
The implementation has been moved to a backend.
2017-08-17 12:57:53 -04:00
James Bardin 216a68a41b update backend docs to reflect new azurerm name
The backend has been renamed. Using the old name in the config will
trigger a deprecation warning, but the implementation and the
documentation is the same.
2017-08-17 12:55:48 -04:00
James Bardin 5d50e764ea deprecate the "azure" backend name
Alert users to use the current "azurerm" naming.
2017-08-17 12:49:23 -04:00
James Bardin 0e873d70ed Merge pull request #15840 from hashicorp/jbardin/deprecate-backend
add the ability to mark a backend as deprecated
2017-08-17 12:39:05 -04:00
James Bardin cc454fcc56 add the ability to mark a backend as deprecated
This is a simple wrapper to allow a backend to be marked as deprecated
during initialization.
2017-08-17 12:29:19 -04:00
James Bardin 23b783616e Merge pull request #13036 from pmcatominey/azure-backend
backend: convert Azure remote state to a backend
2017-08-17 12:02:52 -04:00
Peter McAtominey b74b26bcfa backend: alias azurerm to azure 2017-08-17 16:37:51 +01:00
Peter McAtominey 6b9b5ec297 backend/azure: update to latest SDK 2017-08-17 16:32:18 +01:00
Peter McAtominey 4a767987ed vendor github.com/Azure/azure-sdk-for-go/arm/resources/resources 2017-08-17 16:32:17 +01:00
Peter McAtominey f9e8e54835 backend: convert Azure remote state to a backend
Added locking support via blob leasing (requires that an empty state is
created before any lock can be acquired.

Added support for "environments" in much the same way as the S3 backend.
2017-08-17 16:32:17 +01:00
Radek Simko 746881065a Merge pull request #15836 from hashicorp/cmd-init-remove-whitespace
command/init: Remove extra whitespace
2017-08-17 17:22:58 +02:00
Radek Simko aabab16069
command/init: Remove extra whitespace 2017-08-17 09:43:09 +02:00
Martin Atkins a4d182f4e5 Update CHANGELOG.md 2017-08-16 14:45:34 -07:00
Michael Handler 817d1c4869 Output duration in UiHook after successful operation completion. 2017-08-16 14:41:41 -07:00
Martin Atkins fa154bbb48 Update CHANGELOG.md 2017-08-16 13:54:04 -07:00
James Bardin 18af7750d4 Merge pull request #14720 from sevagh/master
Add salt-masterless provisioner
2017-08-16 16:47:46 -04:00
JWal31 117f44bcda config: Add "flatten" interpolation function
This function turns a list of lists or any arbitrary number of nested
lists into a flat list of primitive values.
2017-08-16 13:46:19 -07:00
James Bardin f1042a1338 Merge pull request #15835 from hashicorp/jbardin/mock-provider-race
fix race in MockResourceProvider
2017-08-16 16:33:58 -04:00
Martin Atkins bf97909b8a core: document all of the fields on the Plan struct 2017-08-16 13:30:02 -07:00
James Bardin db6ef69e5b fix race in MockResourceProvider
Input can be called concurrently from multiple nodes in the graph.
2017-08-16 15:19:17 -04:00
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