Commit Graph

4259 Commits

Author SHA1 Message Date
Paul Hinze a2cb77058c command: fix push tests when running outside repo
VCS detection was on by default, and blows up when the tests are run in
a copy of the Terraform source that is not a git repository, like - say
- during a Homebrew formula install, just to pick a random example. :)
2015-04-09 18:46:25 -05:00
Clint Shryock c160058baf provider/aws: Detect creds in AWS config 2015-04-09 17:06:22 -05:00
Sander van Harmelen d90b3aa332 Merge pull request #1469 from svanharmelen/b-communicator-tests
Fixing up the communicator tests
2015-04-09 23:46:59 +02:00
Sander van Harmelen 02a41a8802 Fixing up the communicator tests
It turned out the tests didn’t work as expected due to some missing
config in the `newMockLineServer` and a defer located in the wrong
location. All is good again now…
2015-04-09 23:40:40 +02:00
Paul Hinze 797bf5f879 Merge pull request #1467 from hashicorp/f-0.4.1-deps
record deps for v0.4.1
2015-04-09 16:24:04 -05:00
Paul Hinze 858ac9c270 record deps for v0.4.1 2015-04-09 16:14:26 -05:00
Clint c7cd77b822 Merge pull request #1464 from hashicorp/b-aws-db-fix-name
provider/aws: Fix type mismatch issue with AWS RDS
2015-04-09 15:02:20 -05:00
Clint Shryock 6ff9b0c776 provider/aws: Fix type mismatch issue with AWS RDS 2015-04-09 14:27:52 -05:00
Mitchell Hashimoto 0e3eaa391f Merge pull request #1462 from hashicorp/d-remove-openstack-note
docs: remove note about openstack
2015-04-09 12:16:49 -07:00
Paul Hinze b7403fd14f docs: remove note about openstack
It _is_ a provider now! :)
2015-04-09 14:15:21 -05:00
Mitchell Hashimoto ed2e3636e5 update CHANGELOG 2015-04-09 11:20:14 -07:00
Mitchell Hashimoto 6f82137875 provider/aws: fix potential panic on nil db name [GH-1460] 2015-04-09 11:19:33 -07:00
Mitchell Hashimoto 4289fbbbda Merge pull request #1459 from hashicorp/document-dnsimple-env-vars
provider/dnsimple: Document DNSimple env vars
2015-04-09 11:01:56 -07:00
Justin Campbell 8a60fc1422 provider/dnsimple: Document DNSimple env vars 2015-04-09 14:00:28 -04:00
Mitchell Hashimoto 4e92b8c77f provider/aws: fix network ACL test, at some point we added a second rule 2015-04-09 10:45:22 -07:00
Paul Hinze 1118a86798 providers/aws: make acc test name match pattern 2015-04-09 12:33:20 -05:00
Dave Cunningham d149db41d6 Avoid 'source' being undefined in legacy network Read 2015-04-09 13:29:59 -04:00
Mitchell Hashimoto d189457376 provider/aws: clean up VPC peering connection test 2015-04-09 10:18:50 -07:00
Mitchell Hashimoto 166efa1ba0 v0.4.1 2015-04-09 09:55:56 -07:00
Clint 47f8b50a85 Update CHANGELOG.md 2015-04-09 11:55:10 -05:00
Clint 02c81c479d Merge pull request #1430 from hashicorp/b-aws-route53-record-update
provider/aws: Fix issue in updating Route 53 records on refresh/read.
2015-04-09 11:54:27 -05:00
Mitchell Hashimoto 72d3c0c54a update CHANGELOG 2015-04-09 09:51:07 -07:00
Mitchell Hashimoto d7e8192456 Merge pull request #1456 from hashicorp/b-docker-input
providers/docker: default cert_path to non-nil so input isn't asked [GH-1432]
2015-04-09 09:50:31 -07:00
Mitchell Hashimoto db58c7dd33 providers/docker: default cert_path to non-nil so input isn't asked 2015-04-09 09:49:03 -07:00
Mitchell Hashimoto 146f76e147 update CHANGELOG 2015-04-09 09:34:03 -07:00
Mitchell Hashimoto 80830985c0 Merge pull request #1454 from hashicorp/f-copy-config
terraform: copy RawConfigs to avoid races
2015-04-09 09:33:40 -07:00
Mitchell Hashimoto 06beab6fd8 config: copy the key on Copy 2015-04-09 09:31:04 -07:00
Mitchell Hashimoto b201983304 terraform: copy RawConfigs 2015-04-09 09:21:38 -07:00
Mitchell Hashimoto f0004186cf Merge pull request #1452 from hashicorp/b-inherit-validate
terraform: don't prune, but disable, inherited configs [GH-1447]
2015-04-09 09:03:11 -07:00
Mitchell Hashimoto d8621ca20e Merge pull request #1453 from hashicorp/f-phinze-changelog
Update CHANGELOG
2015-04-09 08:54:38 -07:00
Mitchell Hashimoto eda2e0fdfc terraform: fix disable provider tests 2015-04-09 08:51:38 -07:00
Paul Hinze 271d8e8be3 Update CHANGELOG
Catching up with my post 0.4 CHANGELOG lag.
2015-04-09 10:51:04 -05:00
Mitchell Hashimoto bcff7e070c terraform: don't prune, but disable, inherited configs [GH-1447] 2015-04-09 08:48:08 -07:00
Paul Hinze 4363ac4970 Merge pull request #1444 from hashicorp/b-launch-config-bugs
providers/aws: fix a few more bugs in launch configs
2015-04-09 10:24:18 -05:00
Paul Hinze bfb3134148 Merge pull request #1445 from hashicorp/b-ebs-perpetual-recreate-without-both-volume-fields
providers/aws: reduce scope of block_device set hashcodes
2015-04-09 10:24:07 -05:00
Clint 9563ab301f Merge pull request #1450 from hashicorp/changelog-updates-04092015
Update CHANGELOG
2015-04-09 10:20:09 -05:00
Paul Hinze 7fe34d4547 providers: check for empty plan after each test step
Each acceptance test step plays a Refresh, Plan, Apply for a given
config. This adds a follow up Plan and fails the test if it does not
come back empty. This will catch issues with perpetual, unresolvable
diffs that crop up here and there.

This is going to cause a lot of our existing acceptance tests to fail -
too many to roll into a single PR. I think the best plan is to land this
in master and then fix the failures (each of which should be catching a
legitimate provider bug) one by one until we get the provider suites
back to green.
2015-04-09 10:19:01 -05:00
Clint Shryock 06287f9053 Update CHANGELOG 2015-04-09 10:14:44 -05:00
Mitchell Hashimoto 3a2c60aba0 update CHANGELOG 2015-04-09 07:54:13 -07:00
Clint Shryock ffdd20133a providers/aws: Convert AWS Security Group to upstream aws-sdk-go
Moves structure test lib too, to that `make test` actually runs it
2015-04-09 09:10:04 -05:00
Clint Shryock ef0a763c29 fix pointer references 2015-04-09 09:03:45 -05:00
Paul Hinze c0196d948d Merge pull request #1437 from hashicorp/b-module-provider-validation
terraform: don't validate providers outside of modules if we don't have to
2015-04-09 09:03:13 -05:00
Paul Hinze 34c7bbcf4d providers/aws: reduce scope of block_device set hashcodes
Fixes #1409

Resource set hash calculation is a bit of a devil's bargain when it
comes to optional, computed attributes.

If you omit the optional, computed attribute from the hash function,
changing it in an existing config is not properly detected.

If you include the optional, computed attribute in the hash and do not
specify a value for it in the config, then you'll end up with a
perpetual, unresolvable diff.

We'll need to think about how to get the best of both worlds, here, but
for now I'm switching us to the latter and documenting the fact that
changing these attributes requires manual `terraform taint` to apply.
2015-04-09 08:53:09 -05:00
Paul Hinze 8fccd9cec4 providers/aws: fix a few more bugs in launch configs
These bugs were found by additional check added in #1443

 * Reversed nil err check meant that block devices were broken :(
 * Fixing the err check revealed a few missed pointer derefs
 * Unlike instances, ephemeral block devices do come back in
   `BlockDeviceMappings` from `DescribeLaunchConfigurations` calls, so
   we need to recognize them and filter them properly. Even though
   they're not set as computed, I'm doing a `d.Set` since it doesn't
   hurt and it gives us the benefit of basic drift detection.
2015-04-09 08:36:18 -05:00
Paul Hinze 36e364a239 Merge pull request #1440 from TimeIncOSS/fix-ec2-region
ec2/config: Use provided region instead of hardcoding us-west-2
2015-04-09 07:51:23 -05:00
Radek Simko 947761f34f ec2/config: Use provided region instead of hardcoding us-west-2 2015-04-09 12:36:37 +01:00
Mitchell Hashimoto 8a90bd08a3 terraform: test negative case for disable provider transformer 2015-04-08 21:39:56 -07:00
Mitchell Hashimoto edc97d3afd terraform: expanded resource nodes implement graphNodeConfig 2015-04-08 21:25:17 -07:00
Mitchell Hashimoto 218f147c0c terraform: test fixture modified to not prune provider 2015-04-08 21:25:03 -07:00
Mitchell Hashimoto 36520121b1 terraform: disable providers that are only used by modules 2015-04-08 21:14:19 -07:00