Commit Graph

19337 Commits

Author SHA1 Message Date
James Bardin 1d585762dd Merge pull request #14834 from hashicorp/jbardin/state-hook
Persist state more frequently
2017-05-25 18:47:12 -04:00
Martin Atkins 0c649fcbb7 website: don't use regexp for sidebar_current in ovh.erb 2017-05-25 10:16:17 -07:00
Martin Atkins f8daafb449 website: correct formatting of gitlab doc preambles 2017-05-25 10:16:02 -07:00
Martin Atkins 539b491deb website: when building, run middleman in verbose mode 2017-05-25 10:15:53 -07:00
Martin Atkins 3cf78809b5 website: don't use regex for sidebar_current, in github.erb 2017-05-25 10:15:43 -07:00
clint shryock 8fd5fd5dab website: fix regex 2017-05-25 10:15:35 -07:00
clint d6fcc82ecc release: clean up after v0.9.6 2017-05-25 16:09:31 +00:00
clint 85e0979c6a
v0.9.6 2017-05-25 15:56:03 +00:00
Jake Champlin 9bb5b60530 Merge pull request #14833 from hashicorp/f-update-opc-provider-vendor
provider/opc: update opc provider vendor
2017-05-25 11:26:16 -04:00
James Bardin 4866f35645 add mutexes to Local, Backup, and InmemState 2017-05-25 11:20:52 -04:00
James Bardin f0f2220abb add mutexes to remote.State 2017-05-25 11:20:52 -04:00
James Bardin 9e4c0ff2ad call PersistState immediately when cancelling
When the backend operation is cancelled, immediately call PersistState.
The is a high likelihood that the user is going to terminate the process
early if the provider doesn't return in a timely manner, so persist as
much state as possible.
2017-05-25 11:20:51 -04:00
James Bardin b73d037761 have StateHook periodically PersistState
Have StateHook periodically call PersistState to flush any cached state
to permanent storage. This uses a minimal 10 second interval between
calls to PersistState.
2017-05-25 11:20:51 -04:00
Jake Champlin eb6ffdeba2
provider/opc: update opc provider vendor 2017-05-25 11:18:57 -04:00
Elad Efrat 10b7418b01 Fix typo (tesr -> test) (#14825) 2017-05-25 14:52:42 +01:00
Paul Stack 96f391dafc Update CHANGELOG.md 2017-05-25 07:55:07 +01:00
Paul Stack 9bbebfbb49 Update CHANGELOG.md 2017-05-25 07:54:14 +01:00
Joe Topjian db47721e15 provider/openstack: Enable Security Group Updates (#14815)
* vendor: Updating Gophercloud for OpenStack Provider

* provider/openstack: Enable Security Group Updates

This commit enables security group names and descriptions to
be updated without causing a recreate.
2017-05-25 07:53:26 +01:00
grafjo e6b776fedd Fix gitlab documentation (#14803)
* fix gitlab_project resource documentation

* improve gitlab provider documentation
2017-05-25 07:51:42 +01:00
Stephen Weatherford b6b71df0a1 Doc fixes for managed disks in VMs (#14811) 2017-05-25 07:51:04 +01:00
Ryon 01a673447b Update news section with Google Cloud webinar post-event info (#14816)
* Update news section with April 4 webinar video

* Use YAML data file for news; add webinar registration CTA

* Update news section with Google Cloud webinar post-event info
2017-05-25 07:49:53 +01:00
Joe Topjian 1de2cca3da Merge pull request #14818 from jtopjian/openstack-dns-docs-update
provider/openstack: Updating DNS docs
2017-05-24 23:11:41 -06:00
Joe Topjian 513c922b2f provider/openstack: Updating DNS docs 2017-05-25 05:04:56 +00:00
Joe Topjian 4b9514eeb0 Update CHANGELOG.md 2017-05-24 22:59:53 -06:00
jrperritt e1c8d760d3 provider/openstack: Add DNS V2 RecordSet resource (#14813)
* vendor gophercloud dns v2 recordset deps

* openstack dns v2 recordset resource

* fix type assertion panic condition

* address pr review feedback
2017-05-24 22:58:44 -06:00
Paddy acedf7228f Update CHANGELOG.md 2017-05-24 21:37:52 -07:00
Paddy 63ce0dae98 Merge pull request #12411 from drebes/cloud_router
provider/google: Cloud router resource
2017-05-24 21:36:17 -07:00
Paddy fb6dd8bfbe Update CHANGELOG.md 2017-05-24 16:47:27 -07:00
Paddy c675b9e3f8 Merge pull request #14643 from hashicorp/pr-8180
provider/google: New Datasource: Google Storage Object Signed URL (supersedes #8180)
2017-05-24 16:46:14 -07:00
Dana Hoffman f510ed0377 Update CHANGELOG.md 2017-05-24 16:26:18 -07:00
Riley Karson 0ea0d86de4 Change google_compute_target_pool's session_affinity field default to NONE. (#14807) 2017-05-24 16:24:45 -07:00
Paddy d59d0a0673 Fix some style things, handle errors.
Fix a typo, follow our acceptance test naming guidelines, simplify some
logic, and handle an unhandled error.
2017-05-24 15:55:01 -07:00
James Bardin 23a6798491 update CHANGELOG.md 2017-05-24 17:57:28 -04:00
James Bardin ef1d53934c Merge pull request #14746 from hashicorp/jbardin/s3-consistency
store and verify s3 remote state checksum to avoid consistency issues.
2017-05-24 16:47:57 -04:00
James Bardin b3795e2d29 remove old state hook code 2017-05-24 16:16:35 -04:00
clint shryock cf1ef167fe Merge branch 'master' of github.com:hashicorp/terraform
* 'master' of github.com:hashicorp/terraform:
  Update CHANGELOG.md
  providers/heroku: import heroku_addon resource (#14508)
2017-05-24 14:26:58 -05:00
clint shryock f583394e6f provider/heroku: document how to import an addon 2017-05-24 14:26:37 -05:00
Clint eb22d24ce0 Update CHANGELOG.md 2017-05-24 14:20:27 -05:00
cmorent e676813eaa providers/heroku: import heroku_addon resource (#14508) 2017-05-24 14:19:46 -05:00
Samuel El-Borai c5bf7a7c60 fix custom providers snippets (#14806) 2017-05-24 20:11:00 +01:00
James Bardin 91be40a577 add detailed error message s3 checksum mismatch
Have the s3 RemoteClient return a detailed error message to the user in
the case of a mismatch state checksum.
2017-05-24 13:51:33 -04:00
James Bardin 0022d224e8 store and verify s3 remote state checksum
Updates to objects in S3 are only eventually consistent. If the
RemoteClient has a DynamoDB table available, use that to store a
checksum of the last written state, so the object can be verified by the
next client to call Get.

Terraform currently doesn't have any sort of user feedback around
RefreshState/Get, so we poll only for a short time before returning an
error.
2017-05-24 13:39:30 -04:00
James Bardin cd7c5cb61d Merge pull request #14801 from hashicorp/jbardin/validate-computed-object
check for IsComputed when validating a schema object
2017-05-24 13:31:05 -04:00
James Bardin e1d9ad40d3 Merge pull request #14680 from hashicorp/jbardin/unlock-s3
Check that a named state in s3 doesn't exist before acquiring a lock
2017-05-24 12:56:00 -04:00
James Bardin 6bc52be0a5 check for IsComputed when validating a schema obj
GH-14784 allowed nested structures to be validate, rather than relying
on the raw value. However this still returns the same validation error
if the structures contain a computed value, since Get will return the
raw string in that case.

This simply skips the validation in the IsComputed case, since there's
nothing that can be checked.
2017-05-24 12:34:53 -04:00
James Bardin d34dee5cc4 Merge pull request #14784 from mattrobenolt/validateobject
helper/schema: fix validating nested objects
2017-05-24 12:27:40 -04:00
Radek Simko ee0b88a788 Update CHANGELOG.md 2017-05-24 17:18:54 +01:00
Radek Simko 2c3e8e3cfb provider/kubernetes: Add support for Horizontal Pod Autoscaler (#14763) 2017-05-24 17:18:02 +01:00
Paul Stack cec3430b33 Update CHANGELOG.md 2017-05-24 17:09:20 +01:00
Sandeep Sidhu 4c6404d012 provider/vsphere: Exposing moid value from vm resource (#14793)
* Exposing moid value from vm resource

moid value is needed by NSX resources, like security tag, when we attached security tags to a VMs, so needed before we commit NSX provider.

* fixing gofmt issue

* Updating docs regarding new exported moid attribute.
2017-05-24 17:08:40 +01:00