Commit Graph

8552 Commits

Author SHA1 Message Date
clint shryock 53a42eaa0f provider/aws: Add a regression test for Route53 records
This is a follow up on #4892 with tests that demonstrate creating a record and a zone, then destroying said record, and confirming that a new plan is generated, using the ExpectNonEmptyPlan flag

This simulates the bug reported in #4641 by mimicking the state file that one would have if they created a record with Terraform v0.6.6, which is to say a weight = 0 for a default value.

When upgrading, there would be an expected plan change to get that to -1. To mimic the statefile we apply the record and then in a follow up step change the attributes directly. We then try to delete the record.

I tested this by grabbing the source of aws_resource_route53.go from Terraform v0.6.9 and running the included test, which fails. The test will pass with #4892 , because we no longer reconstruct what the record should be based on the state (instead finding via the API and elimination/matching)
2016-02-03 09:16:50 -06:00
clint dce2994151 release: clean up after v0.6.11 2016-02-01 20:17:08 +00:00
clint 3590cfadb0
v0.6.11 2016-02-01 19:16:01 +00:00
James Nugent c23fe545f7 build: Add miissing vendor package 2016-02-01 13:50:49 -05:00
Paul Hinze 55235a8db2 Merge pull request #4937 from hashicorp/b-build-sh-no-deps
build.sh: don't dive into vendored deps when building
2016-02-01 11:34:15 -06:00
Paul Hinze 6791172e21 build.sh: don't dive into vendored deps when building
Doing a straight `./...`  build results in errors from unvendored
package references being picked up in some vendored libraries'
`examples/` subdirs.

So we'll switch to the recommended `go list | grep -v /vendor/` strategy
to determine what to build.
2016-02-01 11:28:41 -06:00
Clint 8d0b289451 Update CHANGELOG.md 2016-02-01 09:37:54 -06:00
Clint 398fa179df Merge pull request #4933 from hashicorp/b-aws-computed-classiclink
provider/aws: Change VPC ClassicLink to be computed
2016-02-01 09:37:29 -06:00
clint shryock 772ac8522a provider/aws: Change VPC ClassicLink to be computed 2016-02-01 09:30:09 -06:00
Joe Topjian e94aa1dc0a Merge pull request #4929 from jtopjian/openstack-fix-lb-member
provider/openstack Fix LB Member Errors
2016-01-31 15:57:56 -07:00
Joe Topjian aefd22ed9b provider/openstack Fix LB Member Errors
Fixing Load Balancer Member errors caused by not rebasing with master
before committing.
2016-01-31 22:51:26 +00:00
Joe Topjian d78a473dbb Update CHANGELOG.md 2016-01-31 15:42:06 -07:00
Joe Topjian baeaee0103 Merge pull request #4359 from jtopjian/jtopjian-openstack-lb-member
provider/openstack: Load Balancing Member Resource
2016-01-31 15:40:15 -07:00
Joe Topjian b144362d3b Update CHANGELOG.md 2016-01-31 15:26:17 -07:00
Joe Topjian 1ccd0491ff Merge pull request #4812 from jtopjian/openstack-per-network-floating-ip
provider/openstack: Per-network Floating IPs
2016-01-31 15:24:59 -07:00
Joe Topjian df660a26a1 provider/openstack: Per-network Floating IPs
This commit adds the ability to associate a Floating IP to a specific
network. Previously, there only existed a top-level floating IP
attribute which was automatically associated with either the first
defined network or the default network (when no network block was
used).

Now floating IPs can be associated with networks beyond the first
defined network as well as each network being able to have their own
floating IP.

Specifying the floating IP by using the top-level floating_ip
attribute and the per-network floating IP attribute is not possible.

Additionally, an `access_network` attribute has been added in order
to easily specify which network should be used for provisioning.
2016-01-31 22:17:51 +00:00
Joe Topjian 7e30b5d877 Merge pull request #4928 from jtopjian/openstack-port-ip-acc-test
provider/openstack Add Acceptance Test for No Port IP
2016-01-31 15:11:33 -07:00
Joe Topjian b488541ee9 provider/openstack Add Acceptance Test for No Port IP 2016-01-31 22:04:06 +00:00
Joe Topjian 2e2ea033c5 Merge pull request #4851 from Sheile/b-openstack-convert-fixedips
provider/openstack Convert FixedIPS from struct to map for ResourceData
2016-01-31 14:59:41 -07:00
James Nugent d404008657 Merge pull request #4927 from stack72/f-aws-redshift-docs
provider/aws: Redshift Cluster Documentation for `skip_final_snapshot` should be true
2016-01-31 16:57:57 -05:00
stack72 9407f538cf Changing the default for ship_final_snapshot on redshift_cluster to be true so as to match the code 2016-01-31 21:48:05 +00:00
Radek Simko 7c9d309d6f Update CHANGELOG.md 2016-01-31 10:05:30 +01:00
James Nugent 8e4f976193 Merge pull request #4917 from ColinHebert/docker_documentation
provider/docker: Update documentation
2016-01-30 17:18:07 -05:00
James Nugent e490b44daa Merge pull request #4918 from ColinHebert/docker_network_error
provider/docker: Catch potential custom network errors in docker
2016-01-30 17:17:29 -05:00
Colin Hebert d89c365838 remove extra parenthesis 2016-01-31 08:49:35 +11:00
Colin Hebert fd3ae2d607 Catch potential custom network errors in docker 2016-01-31 08:31:30 +11:00
Colin Hebert 5ef7e42834 provider/docker: Update documentation
- Use a consistent format
- Remove typos
- Specify the expected parameter type for each entry
- Change importance of block documentation
2016-01-31 08:23:35 +11:00
Radek Simko 8ca660daf7 Update CHANGELOG.md 2016-01-30 15:09:03 +01:00
Radek Simko 9db941a5c5 Merge pull request #4899 from TimeIncOSS/f-base64-sha256
config: Add base64sha256() function
2016-01-30 14:06:54 +01:00
Radek Simko 1018af5662 config: Add docs for new base64sha256 func 2016-01-30 13:19:10 +01:00
Radek Simko ecedcd0032 config: Add base64sha256() function 2016-01-30 13:19:10 +01:00
Radek Simko 150c588e17 Update CHANGELOG.md 2016-01-30 13:09:33 +01:00
Radek Simko f9e369c204 Merge pull request #4910 from ColinHebert/trim
Add the trimspace() interpolation function
2016-01-30 13:07:02 +01:00
Colin Hebert 61a40dce13 Update the test file 2016-01-30 20:52:45 +11:00
Colin Hebert d92d205dd9 rename trim to trimspace 2016-01-30 20:51:28 +11:00
Colin Hebert d45b7b2ddc Fix name from strip to trim 2016-01-30 10:32:18 +11:00
Colin Hebert f5074cd521 Add the trim() interpolation function 2016-01-30 10:28:04 +11:00
Paul Hinze 66803970f0 Merge pull request #4909 from hashicorp/f-godep
Vendor all dependencies w/ Godep
2016-01-29 15:20:13 -06:00
Paul Hinze 6fe2703665 Vendor all dependencies w/ Godep
* Remove `make updatedeps` from Travis build. We'll follow up with more
   specific plans around dependency updating in subsequent PRs.
 * Update all `make` targets to set `GO15VENDOREXPERIMENT=1` and to
   filter out `/vendor/` from `./...` where appropriate.
 * Temporarily remove `vet` from the `make test` target until we can
   figure out how to get it to not vet `vendor/`. (Initial
   experimentation failed to yield the proper incantation.)

Everything is pinned to current master, with the exception of:

 * Azure/azure-sdk-for-go which is pinned before the breaking change today
 * aws/aws-sdk-go which is pinned to the most recent tag

The documentation still needs to be updated, which we can do in a follow
up PR. The goal here is to unblock release.
2016-01-29 15:08:48 -06:00
Clint 2ab5365771 Update CHANGELOG.md 2016-01-29 13:37:04 -06:00
Clint 41de3ee6bd Merge pull request #4892 from hashicorp/b-aws-r53-weight-update
provider/aws: Refactor Route53 record to fix regression in deleting
2016-01-29 13:36:32 -06:00
clint shryock 39f5a7e751 use the same error checking in DELETE 2016-01-29 12:38:22 -06:00
clint shryock 3bbb21d115 refactor error handling in findRecord 2016-01-29 11:56:19 -06:00
James Nugent 4c3e134088 Merge pull request #4904 from bjorand/patch-1
[docs] aws_key_pair resource documentation should be listed in "ec2" …
2016-01-29 11:58:17 -05:00
Benjamin Jorand aea329ae92 [docs] aws_key_pair resource documentation should be listed in "ec2" and not in "vpc" 2016-01-29 17:43:14 +01:00
James Nugent 92367980fb Merge pull request #4903 from kwoods/patch-1
updated referenced zone to use .zone_id vs .id
2016-01-29 11:11:32 -05:00
Kevin Woods a994a9b72f updated referenced zone to use .zone_id vs .id 2016-01-29 11:03:02 -05:00
Paul Hinze b31a547a4e Update CHANGELOG.md 2016-01-29 09:58:57 -06:00
Paul Hinze 7c1f8ddabd Merge pull request #4902 from hashicorp/f-arm-crash-no-credentials
provider/azurerm: Fix panic if no creds supplied
2016-01-29 09:58:25 -06:00
James Nugent f8a40ff371 provider/azurerm: Fix panic if no creds supplied
Using EnvDefaultFunc with a default of empty string causes the
validation which would ordinarily be performed by `Required: true` in
the schema to not have any effect. Instead validate the configuration
used to produce the ARM client before attempting to use it during
provider configuration.
2016-01-29 10:51:25 -05:00