Commit Graph

20340 Commits

Author SHA1 Message Date
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
Sander van Harmelen 7c6c075640 Update CHANGELOG.md 2017-05-24 15:29:19 +02:00
Mickaël Canévet e4bd7e2430 Load Cloudstack configuration from file (#13926)
* Load Cloudstack configuration from file

* Add ConflictsWith
2017-05-24 15:23:32 +02:00
Paul Stack 17bbdef711 Update CHANGELOG.md 2017-05-24 13:06:19 +01:00
Łukasz Jan Niemier 18f2edf729 Add namespcace ID attribute (#14483)
* Add namespcace ID attribute

This commit also introduce `id` comouted value which is numeric value
used by GitLab to iteract with repository. This should simplify use of
`gitlab_project_hook` usage and would allow to introduce other resources
as described in #14471

* Fixes requested by @richardc

* Handle optional `namespace_id`
2017-05-24 13:05:27 +01:00
Paul Stack d820ff9ed5 Update CHANGELOG.md 2017-05-24 13:02:02 +01:00
Richard Clamp 9e90e77be4 provider/gitlab: Add `gitlab_group` resource (#14490)
* vendor: Update go-gitlab to master@e6c11e

Update go-gitlab to master@e6c11e.  This brings in UpdateGroup in
addition to fuller management of other attributes.

* provider/gitlab:  Add `gitlab_group` resource

This adds a gitlab_group resource.

This combined with #14483 will allow you to create projects in a
group.
2017-05-24 13:01:24 +01:00
Seth Rutner c3a76c99da Update sources.html.markdown (#14594)
* Update sources.html.markdown

Moduels not updating was really annoying, should add this documentation in to increase usability of the feature.

* Update sources.html.markdown
2017-05-24 12:29:56 +01:00
cmorent c08253e8d5 providers/heroku: upgrade vendored cyberdelia/heroku-go client (#14672)
* Update vendored github.com/cyberdelia/heroku-go/v3

* Update heroku provider code to work with the newly generated heroku-go API
2017-05-24 12:04:17 +01:00
Tom Harvey 8edaa883fb Merge pull request #14789 from tombuildsstuff/website-fixes
Docs: Fixing typo's
2017-05-24 11:58:08 +01:00
Paul Stack ea44c0eb8a Update CHANGELOG.md 2017-05-24 11:42:18 +01:00
Richard Clamp 395f1d5bbf provider/gitlab: add `gitlab_deploy_key` (#14734)
* provider/gitlab: add `gitlab_deploy_key`

Here we extend the gitlab provider further by adding a `gitlab_deploy_key`
resource.  This resource allows management of a projects deploy
keys.

* provider/gitlab: Do not test `gitlab_deploy_key` `can_push`

Here we remove the testing of the `can_push` attribute.  This makes the
tests less comprehensive, but will allow them to work with the current
release of gitlab-ce.

This change is staged as a distinct commit so it can be easily
dropped/reverted once gitlab MR !11607 has reached a released state.

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11607

* provider/gitlab: Update docs for gitlab_deploy_key/can_push

Note that the can_push attribute of gitlab_deploy_key doesn't currently
work.  This note can be removed once
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11607 is merged
and in general circulation.
2017-05-24 11:41:40 +01:00
Paul Stack a0ebed8fe2 provider/azurerm: Fix example on azurerm_sql_elasticpool (#14788)
Fixes: #14785
2017-05-24 11:39:48 +01:00