Commit Graph

16502 Commits

Author SHA1 Message Date
Otto Jongerius 2310316666 provider/datadog: Upgrade to Datadog API v2 (#12098)
* provider/datadog: Pulls v2 and removes v1 of library go-datadog-api.

    See https://github.com/zorkian/go-datadog-api/issues/56 for context.

    * Fixes bug in backoff implementation that decreased performance significantly.
    * Uses pointers for field types, providing support of distinguishing
        between if a value is set, or the default value for that type is
        effective.

* provider/datadog: Convert provider to use v2 of go-datadog-api.

* provider/datadog: Update vendored library.

* provider/datadog: Update dashboard resource to reflect API updates.
2017-02-20 14:48:32 +02:00
Cuong Nguyen 6d5feaf526 Fix markdown format (#12090) 2017-02-20 14:43:49 +02:00
Emil Wypych bcadc4c2bd fix #5448 - vm page was changed (#12094) 2017-02-20 14:40:09 +02:00
Joe Topjian 1b5694b7f4 provider/openstack: Enable HTTP Logging (#12089)
This commit adds the ability to log all requests and responses
between Terraform and the OpenStack cloud. To enable, set the
OS_DEBUG environment variable to 1.
2017-02-20 14:36:05 +02:00
Joe Topjian 6d4fc8d21a provider/openstack: Don't allow floating IP and port (#12099)
This commit adds a check to prevent a user from specifying both
a floating IP and a port on a specific network. While this
configuration is currently allowed, the Port will be chosen and
applying the configuration again will show a state mismatch. This
attempts to prevent such a misconfiguration.
2017-02-20 14:32:28 +02:00
Matt Dainty af28c2b3d6 Move AWS Config to be alphabetically correct 2017-02-19 22:40:27 +00:00
Joe Topjian b25b6078b4 Merge pull request #12096 from jtopjian/openstack-image-updates
provider/openstack: Updates to openstack_images_image_v2 resource
2017-02-19 14:34:36 -07:00
Joe Topjian 9188a80192 provider/openstack: Updates to openstack_images_image_v2 resource
This commit has a few more fixes to the recently added
openstack_images_image_v2 resource:

* tags were changed to a Set because the OpenStack Image API does
not seem to respect ordering.
* The visibility argument was fixed.
* Acceptance tests for all updatable fields has been implemented.
* Documentation updates, including a new entry in the sidebar.
2017-02-19 21:20:29 +00:00
Joe Topjian 75e068f146 Merge pull request #12093 from jtopjian/openstack-image-tag-fix
provider/openstack: Fix Creation of Empty Tags
2017-02-19 11:56:35 -07:00
Joe Topjian 96d2ac21d4 provider/openstack: Fix Creation of Empty Tags
This commit fixes a bug where images would be created with empty tags.
Acceptance tests were also tidied up.
2017-02-19 18:44:42 +00:00
Joe Topjian b3b9247ad0 Merge pull request #11942 from yanndegat/master
Add resource_openstack_images_image_v2
2017-02-19 10:21:58 -07:00
George Christou 61277c0dbd website/docs: Run `terraform fmt` on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00
Justin Cardinal 1196114433 Fixes content errors for <h1> and intro text on aws_db_instance data source page (#12080) 2017-02-18 22:19:27 +02:00
Mitchell Hashimoto 7587ac77d1 Merge pull request #12079 from ewypych/docs-fix-icinga2
website/layouts fix Icinga2 provider link
2017-02-18 10:44:00 -08:00
ewypych debd61aa8b fix Icinga2 provider link 2017-02-18 19:31:32 +01:00
Patrick Decat 5d731cd82b Update google_sql_user example as password is a required argument (#12053) 2017-02-18 16:16:14 +02:00
netjunki 70f1113918 provider/aws: aws_ecs_service should output service name along with error (#12072) 2017-02-18 15:59:49 +02:00
Tom Harvey fb016577a8 Updating the docs (#12073) 2017-02-18 15:57:31 +02:00
Paddy 1c3ebd8d78 Update CHANGELOG.md 2017-02-17 16:16:10 -08:00
Paddy 27c185e1c9 Merge pull request #12044 from sbadia/gcs_storage_class
doc: gcs - Update storage_class documentation and tests
2017-02-17 16:13:29 -08:00
Patrick Decat d96b84f331 google_sql_database_instance: pricing_plan only applies to first generation instances (#12054)
As stated in the second generation pricing documentation:

> Second Generation pricing is composed of the following charges:
> 
> Instance pricing
> Storage pricing
> Network pricing
> There is no choice of pricing plan.

cf. https://cloud.google.com/sql/pricing#2nd-gen-pricing
2017-02-18 01:38:38 +02:00
Patrick Decat 2e75fb0174 google_sql_database_instance name cannot be reused for one week, not two months (#12055)
According to the referenced documentation, it is one week, not two months:

> You cannot reuse an instance name for up to a week after you have deleted an instance.

cf. https://cloud.google.com/sql/docs/mysql/delete-instance
2017-02-18 01:37:58 +02:00
Patrick Decat ff4cc0e5b0 Fix deprecation warnings for automatic_restart and on_host_maintenance parameters (#12058)
Fix 
Warnings:

```
  * google_compute_instance_template.nat: "automatic_restart": [DEPRECATED] Please use `scheduling.automatic_restart` instead
  * google_compute_instance_template.nat: "on_host_maintenance": [DEPRECATED] Please use `scheduling.on_host_maintenance` instead
```
2017-02-18 01:37:32 +02:00
Mitchell Hashimoto 5de609d1c1 Merge pull request #12065 from hashicorp/b-make-par
Disallow parallelism in Makefile
2017-02-17 15:37:22 -08:00
Mike Fowler bfdeae0e33 provider/google-cloud: Add maintenance window (#12042)
* provider/google-cloud: Add maintenance window

Allows specification of the `maintenance_window` within the `settings`
block. This controls when Google will restart a database in order to
apply updates. It is also possible to select an `update_track` to
relatively control updating between instances in the same project.

* Adjustments as suggested in code review.
2017-02-18 01:33:47 +02:00
Mitchell Hashimoto 4ed2a563ca
Disallow parallelism in Makefile 2017-02-17 15:31:58 -08:00
Mitchell Hashimoto a2682bc94b
update CHANGELOG 2017-02-17 15:26:04 -08:00
Mitchell Hashimoto 23a1dcdec2 Merge pull request #12063 from hashicorp/b-provisioner-destroy-module
core: the great destroy provisioner 0.9 beta 1 bug fix
2017-02-17 15:24:36 -08:00
clint shryock e0a6669c17 Patch up website docs 2017-02-17 17:08:03 -06:00
clint shryock be6ae20ac1 Merge branch 'pr-8299'
* pr-8299:
  Patch up website docs
  provider/dns: DNS dynamic updates (RFC 2136)
  vendor: Capture new dependency miekg-dns
2017-02-17 17:02:37 -06:00
clint shryock ae2d1c37f7 Patch up website docs 2017-02-17 17:01:25 -06:00
Mitchell Hashimoto f6ab0bc5c4
terraform: interpolation failures on a destroy provisioner should error 2017-02-17 14:32:32 -08:00
Mitchell Hashimoto a1ec81964b
terraform: destroy ordering needs to handle destroy provisioner edges
This ensures that things aren't destroyed before their values are used.
2017-02-17 14:29:22 -08:00
Paddy 672f496344 Merge pull request #12002 from hashicorp/paddy_catch_metadata_delete_error
provider/google: Check for errors when deleting project metadata.
2017-02-17 14:23:48 -08:00
Sean Chittenden 3127998ecd Remove the AWS Access Key and Secret Access keys from the (#12061)
`consul_agent_self` data source.

Pro tip: update consul!  I was using an old branch of Consul, not
`origin/master`.
2017-02-17 13:36:38 -08:00
Mitchell Hashimoto 757217b91f
terraform: destroy resource should depend on destroy-time prov deps 2017-02-17 13:13:44 -08:00
Mitchell Hashimoto 7352be49de Update CHANGELOG.md 2017-02-17 12:48:24 -08:00
James Bardin 3f13a26b04 Merge pull request #12059 from hashicorp/jbardin/windows-locks
fix windows locks
2017-02-17 15:46:20 -05:00
Seth Vargo 8ba987bd57 Merge pull request #12060 from hashicorp/sethvargo/align
hclfmt on homepage configs
2017-02-17 15:39:04 -05:00
Seth Vargo 9c3c05a70c
hclfmt on homepage configs 2017-02-17 15:36:57 -05:00
Mitchell Hashimoto 1e1455acef
update CHANGELOG 2017-02-17 12:36:38 -08:00
Mitchell Hashimoto 388dda4a12 Merge pull request #12050 from hashicorp/b-provider-include
terraform: don't include providers if not targeted
2017-02-17 12:34:04 -08:00
Seth Vargo cd2da52a01 Merge pull request #12056 from pdecat/patch-3
Doc: fix 404 on API link
2017-02-17 13:34:36 -05:00
Seth Vargo 0ad7adbf8e Merge pull request #12057 from pdecat/patch-2
Fix typo: retry_duraction => retry_duration
2017-02-17 13:34:13 -05:00
James Bardin a4283d23f6 fix windows locking
Don't create a new windows handle for the lock.
2017-02-17 13:29:48 -05:00
James Bardin c0dda6a7b3 test failure for windows local locks 2017-02-17 13:29:47 -05:00
Mitchell Hashimoto ef546517be
terraform: close transform should not include untargeted providers 2017-02-17 09:27:47 -08:00
Mitchell Hashimoto 9062a1893e
terraform: don't include providers if not targeted
Fixes #12009

This is a simple change similar to #10911 where we need to exclude
providers that aren't targeted.
2017-02-17 09:21:29 -08:00
Mitchell Hashimoto d1ecaff6f6 Merge pull request #12049 from hashicorp/b-update-hcl
vendor: update HCL (formatting)
2017-02-17 08:56:40 -08:00
Mitchell Hashimoto 3c543a4d6f
vendor: update HCL (formatting) 2017-02-17 08:52:09 -08:00