Commit Graph

9406 Commits

Author SHA1 Message Date
Paul Hinze f480ae3430 core: Fix issues with ignore_changes
The ignore_changes diff filter was stripping out attributes on Create
but the diff was still making it down to the provider, so Create would
end up missing attributes, causing a full failure if any required
attributes were being ignored.

In addition, any changes that required a replacement of the resource
were causing problems with `ignore_chages`, which didn't properly filter
out the replacement when the triggering attributes were filtered out.

Refs #5627
2016-03-21 14:20:36 -05:00
James Nugent cb8a0549e1 Merge pull request #5757 from hashicorp/f-output-testing
Add TestCheckOutput helper to resource testing
2016-03-21 17:19:08 +00:00
Radek Simko cabece92e0 Update CHANGELOG.md 2016-03-21 17:08:56 +00:00
Radek Simko 5c21422f7d Merge pull request #5712 from bjss/master
Use timeout_in_minutes for Terraform timeout in AWS CloudFormation
2016-03-21 17:06:20 +00:00
Radek Simko 9a2ce8a207 Update CHANGELOG.md 2016-03-21 17:00:02 +00:00
Radek Simko b6e3788ad0 Merge pull request #5755 from TimeIncOSS/remove-notfound-err-helper
helper/resource: Remove NewNotFoundError function
2016-03-21 16:55:41 +00:00
James Nugent 35f9d2e081 Add TestCheckOutput helper to resource testing
This allows outputs in test configuration to have test functions written
conveniently. Useful for azurerm_template_deployment.
2016-03-21 16:54:02 +00:00
Radek Simko bf9f5879ca helper/resource: Remove NotFoundError function 2016-03-21 16:47:50 +00:00
James Nugent 3e055faf41 Update CHANGELOG.md 2016-03-21 16:47:47 +00:00
James Nugent f946695187 Merge pull request #5444 from TimeIncOSS/f-aws-logs-metric-filter
provider/aws: Add support for CloudWatch Log Metric Filter
2016-03-21 16:43:38 +00:00
Paul Hinze 26f4467966 Update CHANGELOG.md 2016-03-21 11:02:17 -05:00
Paul Hinze 6148229888 Merge pull request #5751 from hashicorp/phinze/fixup-remote-exec
provisioner/remote-exec: Move script cleanup after command wait
2016-03-21 11:01:29 -05:00
Paul Hinze 579680cebc provisioner/remote-exec: Move script cleanup after command wait
The script cleanup step added in #5577 was positioned before the
`cmd.Wait()` call to ensure the command completes. This was causing
non-deterministic failures, especially for longer running scripts.

Fixes #5699
Fixes #5737
2016-03-21 10:49:32 -05:00
Paul Hinze 7e3e3b20b1 Merge pull request #5752 from hashicorp/phinze/remove-missing-equals-test
config: remove missing equals test to fix build
2016-03-21 10:49:07 -05:00
Paul Hinze 567a9b9e06 config: remove missing equals test to fix build
This is behavior that's covered in the parser now - and the error
message is nicer to boot!
2016-03-21 10:39:20 -05:00
James Nugent d1b8f28e2b Update CHANGELOG.md 2016-03-21 14:53:03 +00:00
James Nugent ba0b395450 Merge pull request #5749 from hashicorp/b-update-hcl
deps: Update github.com/hashicorp/hcl
2016-03-21 14:51:14 +00:00
James Nugent 849e916c9d deps: Update github.com/hashicorp/hcl
Fixes #5740.
2016-03-21 14:48:28 +00:00
James Nugent f803c81369 Update CHANGELOG.md 2016-03-21 14:32:03 +00:00
James Nugent 07297f10d6 Merge pull request #5748 from hashicorp/b-5402
provider/digitalocean: Check for nil response
2016-03-21 14:30:55 +00:00
James Nugent fed666a5b6 provider/digitalocean: Check for nil response
This applies the same fix to `digitalocean_ssh_key` as #5588 applies to
droplets. Fixes #5402. The report there gives weight to my theory that
this occurs when there are transport issues.
2016-03-21 14:25:11 +00:00
Paul Hinze 4003905287 Update CHANGELOG.md 2016-03-21 09:21:35 -05:00
Paul Hinze 60dd52dc52 Merge pull request #5558 from higebu/vsphere-provider
provider/vsphere: provide `host` to provisioner connections
2016-03-21 09:20:45 -05:00
Paul Hinze 3051e93458 Merge pull request #5636 from hashicorp/phinze/test-provider
provider/test: a test provider
2016-03-21 09:07:51 -05:00
James Nugent 9a6c4a0d6f Update CHANGELOG.md 2016-03-21 14:02:10 +00:00
James Nugent b9203710e1 Merge pull request #5747 from hashicorp/b-5647
provider/aws: Fix panic in VPN connection resource
2016-03-21 14:00:29 +00:00
Paul Hinze c3e27b3e0a provider/test: a test provider
Here we also introduce a `test` provider meant as an aid to exposing
via automated tests issues involving interactions between
`helper/schema` and Terraform core.

This has been helpful so far in diagnosing `ignore_changes` problems,
and I imagine it will be helpful in other contexts as well.

We'll have to be careful to prevent the `test` provider from becoming a
dumping ground for poorly specified tests that have a clear home
elsewhere. But for bug exposure I think it's useful to have.
2016-03-21 08:59:54 -05:00
James Nugent 6732659fe9 provider/aws: Fix panic in VPN connection resource
Check to ensure that vpnConnection.CustomerGatewayConfiguration is not
nil prior to dereferencing it on read.

Fixes #5647.
2016-03-21 13:52:14 +00:00
Paul Hinze 3bb990311d Merge pull request #5746 from hashicorp/phinze/travis-goget-rate-limit-cookie
travis: add git cookie to get higher rate limits for `go get`
2016-03-21 08:47:12 -05:00
Paul Hinze 39b5bd0efb travis: add git cookie to get higher rate limits for `go get`
Should fix messages like this from the Travis builds:

```
Daily bandwidth rate limit exceeded for IP 52.0.240.122.
```

Refs https://github.com/golang/go/issues/12933
2016-03-21 08:36:18 -05:00
Andrew Tarry c3b3feaf11 Set cloudformation timeout to more than timeout_in_minutes
updated cloudformation timeout to use timeout_in_minutes if greater than 30 minutes

set the retry timeout as int64 when created
2016-03-21 09:08:52 +00:00
James Nugent 2b02d0bf1a Update CHANGELOG.md 2016-03-20 22:08:49 +00:00
James Nugent bd10d908f9 Update CHANGELOG.md 2016-03-20 22:08:05 +00:00
James Nugent bceb795c07 Merge pull request #5739 from hashicorp/deps-update-go-getter
deps: Update hashicorp/go-getter
2016-03-20 22:06:38 +00:00
James Nugent 2ca38c93e4 deps: Update hashicorp/go-getter 2016-03-20 22:01:11 +00:00
James Nugent caca64dfac Update CHANGELOG.md 2016-03-20 20:44:03 +00:00
James Nugent 1f8dede54d Merge pull request #5738 from hashicorp/f-joyent-triton-licenses
provider/triton: New provider for Joyent Triton
2016-03-20 20:42:56 +00:00
James Nugent e70764f64d provider/triton: New provider for Joyent Triton
This brings across the following resources for Triton from the
joyent/triton-terraform repository, and converts them to the canonical
Terraform style, introducing Terraform-style documentation and
acceptance tests which run against the live API rather than the local
APIs:

- triton_firewall_rule
- triton_machine
- triton_key
2016-03-20 20:15:17 +00:00
Paul Hinze 29dff24189 Update CHANGELOG.md 2016-03-20 14:57:53 -05:00
Paul Hinze b1d9bea641 Merge branch 'apparentlymart-influxdb-provider'
Closes #3478
2016-03-20 14:56:20 -05:00
Paul Hinze f450584617 provider/influxdb: vendor dependencies 2016-03-20 14:55:48 -05:00
Martin Atkins 7061448d74 Docs for InfluxDB provider and database resource 2016-03-20 14:53:34 -05:00
Martin Atkins 1c07e0de21 influxdb_database resource.
Creates a database on an InfluxDB server. InfluxDB databases don't have
any schema or other settings, so this is a really simple resource.
2016-03-20 14:53:34 -05:00
Martin Atkins 5ef646e072 InfluxDB provider 2016-03-20 14:53:34 -05:00
Paul Hinze c3c3ea2951 Update CHANGELOG.md 2016-03-20 12:17:01 -05:00
Paul Hinze 66fdd196f1 Merge pull request #5716 from Ensighten/ultradns-provider 2016-03-20 12:13:13 -05:00
Josh Masseo 1b4991163f UltraDNS Provider 2016-03-20 12:10:59 -05:00
James Nugent 85b4b5813f Revert "provider/triton: New provider for Joyent Triton"
This reverts commit f60f04ac70.
2016-03-19 17:53:06 +00:00
James Nugent 5bae6cb1e6 Merge pull request #5277 from hashicorp/f-joyent-triton
provider/triton: New provider for Joyent Triton
2016-03-19 17:49:39 +00:00
James Nugent 0ba04cd6b0 Update CHANGELOG.md 2016-03-19 17:07:58 +00:00