Commit Graph

5103 Commits

Author SHA1 Message Date
Paul Hinze 64f0897c82 core: avoid diff mismatch on NewRemoved fields during -/+
fixes #1508

In a DESTROY/CREATE scenario, the plan diff will be run against the
state of the old instance, while the apply diff will be run against an
empty state (because the state is cleared when the destroy node does its
thing.)

For complex attributes, this can result in keys that seem to disappear
between the two diffs, when in reality everything is working just fine.

Same() needs to take into account this scenario by analyzing NewRemoved
and treating as "Same" a diff that does indeed have that key removed.
2015-04-14 17:23:30 -05:00
Luke Amdor b763294926 fixing string format 2015-04-14 16:51:58 -05:00
Clint Shryock 4186ec18c6 providers/aws: Conver AWS ELB to upstream 2015-04-14 16:41:36 -05:00
Paul Hinze e72e344d07 Update CHANGELOG.md
#humblepie
2015-04-14 15:46:15 -05:00
Clint Shryock 900dd4e151 provider/aws: Convert VPN Gateway to upstream 2015-04-14 15:45:48 -05:00
Mitchell Hashimoto a569d206d5 Merge pull request #1529 from jtopper/fix_count_lookup_docs
website: Fix minor error in index/count docs
2015-04-14 13:23:10 -07:00
Mitchell Hashimoto 60e6db2b27 update CHANGELOG 2015-04-14 13:22:51 -07:00
Mitchell Hashimoto c8fb1c7358 Merge pull request #1527 from hashicorp/b-sad-destroy
terraform: when pruning destroy, only match exact nodes, or exact counts
2015-04-14 13:21:51 -07:00
Jon Topper 6e3675e2de Fix minor error in index/count docs 2015-04-14 22:21:30 +02:00
Mitchell Hashimoto 2934824069 terraform: remove debug 2015-04-14 13:20:23 -07:00
Mitchell Hashimoto 486cde44ec terraform: when pruning destroy, only match exact nodes, or exact counts 2015-04-14 13:17:08 -07:00
Mitchell Hashimoto 173d8df0ed up version for dev 2015-04-14 12:54:45 -07:00
Luke Amdor eb43822f68 err-check the resource set 2015-04-14 14:54:38 -05:00
Luke Amdor a4e4ffb87f updating Route53 docs for parent nameserver change 2015-04-14 14:18:38 -05:00
Luke Amdor 8f1acaf026 expose Route53 zone name servers 2015-04-14 14:17:01 -05:00
Paul Hinze d49933b0f8 Merge pull request #1514 from hashicorp/f-dead-evaltree-cbd-code
core: remove dead code from pre-deposed refactor
2015-04-14 13:42:50 -05:00
Mitchell Hashimoto 9b38c8e948 update CHANGELOG 2015-04-14 10:59:02 -07:00
Mitchell Hashimoto 4014710b2f Merge pull request #1523 from hashicorp/b-tainted-cycle
terraform: prune tainted destroys if no tainted in state [GH-1475]
2015-04-14 10:58:08 -07:00
Mitchell Hashimoto b64fd8401c terraform: prune tainted destroys if no tainted in state [GH-1475] 2015-04-14 10:48:45 -07:00
Clint Shryock 95026b6266 provider/aws: Convert AWS VPC Peering to upstream 2015-04-14 11:23:26 -05:00
Mitchell Hashimoto 9d9b419a83 update CHANGELOG 2015-04-14 09:15:29 -07:00
Mitchell Hashimoto 2913b93337 Merge pull request #1521 from hashicorp/b-math-vars
config/lang: support math on variables through implicits
2015-04-14 09:14:50 -07:00
Mitchell Hashimoto 0ff39a3773 config/lang: support math on variables through implicits 2015-04-14 09:09:18 -07:00
Clint Shryock d4e7c2dedc provider/aws: Conver AWS S3 to upstream sdk 2015-04-14 11:07:05 -05:00
Mitchell Hashimoto e7e2aeadab update CHANGELOG 2015-04-14 08:34:57 -07:00
Mitchell Hashimoto e91b5136bf Merge pull request #1356 from koendc/b-remote-plugin-case
command/state: fix for state files containing an upper case remote type
2015-04-14 08:34:28 -07:00
Mitchell Hashimoto 96e05e2f9f Merge pull request #1498 from dublx/patch-2
website: clarify docs for docker params
2015-04-14 08:31:26 -07:00
Mitchell Hashimoto 968a152df4 Merge pull request #1443 from hashicorp/f-acc-tests-check-empty-plan
providers: check for empty plan after each test step
2015-04-14 08:30:11 -07:00
Mitchell Hashimoto c9eb7dc8bf Merge pull request #1465 from tlovett-rmn/fix-security-groups-docs
website: security_groups field expects a list of Group Names, not Group IDs
2015-04-14 08:29:13 -07:00
Mitchell Hashimoto f3129a6313 update cHANGELOG 2015-04-14 08:28:31 -07:00
Mitchell Hashimoto 710d1113eb Merge pull request #1490 from jtopjian/openstack-allow-blank-region
provider/openstack: Allow Blank Region
2015-04-14 08:28:03 -07:00
Mitchell Hashimoto c511524de1 update cHANGELOG 2015-04-14 08:24:21 -07:00
Mitchell Hashimoto 0eb69bcd37 Merge pull request #1518 from hashicorp/b-lc-id
providers/aws: set LC ID after creation
2015-04-14 08:23:31 -07:00
Mitchell Hashimoto 783d912b7c providers/aws: set id outside if/esle 2015-04-14 08:23:16 -07:00
Clint 0eecf070d9 Merge pull request #1489 from hashicorp/f-aws-upstream-route-table
provider/aws: Convert Route table and Route table association to upstream aws-sdk-go
2015-04-14 10:15:24 -05:00
Clint 85c4a134ad Merge pull request #1486 from hashicorp/f-aws-upstream-vpc
provider/aws: Convert AWS VPC to upstream aws-sdk-go
2015-04-14 10:14:56 -05:00
Mitchell Hashimoto f7a2f2a2e7 providers/aws: set ID after creation 2015-04-13 17:03:13 -07:00
Paul Hinze d5f6942755 core: remove dead code from pre-deposed refactor
CBD used to "borrow" the last slot of of the Tainted list in the State,
but as of #1078 it uses its own list. This seems like just a block of
old code that didn't get cleaned up from the refactor. Deposed resources
get their own destroy nodes, so they don't have to mess with the main
destroy node.
2015-04-13 18:33:29 -05:00
Mitchell Hashimoto 0bd7856942 website: update LC docs to note name is optional 2015-04-13 16:00:29 -07:00
Paul Hinze 86d58089d3 Merge pull request #1509 from hashicorp/f-aws-upstream-network-acl
provider/aws: Convert Network ACL and helper library to upstream aws-sdk-go
2015-04-13 16:48:25 -05:00
Jason Waldrip 74bfbece69 Implement Additional ELB Connection Attributes 2015-04-13 14:14:26 -06:00
Thomas Lovett baf1625485 security_groups field expects a list of Security Group Group Names, not IDs 2015-04-13 14:23:11 -05:00
Sander van Harmelen 7a275fb737 Merge pull request #1504 from svanharmelen/f-cloudstack-network
Reverting the behavioural change, while still fixing the logic error
2015-04-13 18:54:12 +02:00
Paul Hinze 755069f60f Merge pull request #1501 from hashicorp/f-diff-mismatch-reason
terraform: add reason to diff mismatch error
2015-04-13 11:46:31 -05:00
Clint Shryock 5394d91657 provider/aws: Convert Network ACL and helper library to upstream aws-sdk-go 2015-04-13 11:14:21 -05:00
Sander van Harmelen 41536c0d58 Reverting the behavioural change, while still fixing the logic error 2015-04-13 17:33:22 +02:00
Clint Shryock 53478c96de provider/aws: Convert AWS Main Route Table Association to upstream 2015-04-13 10:01:56 -05:00
Paul Hinze d168cc1bd1 terraform: add reason to diff mismatch error
Helps with debugging those pesky "diffs did not match" errors.
2015-04-13 09:31:09 -05:00
Paul Hinze eeb46e4642 Merge pull request #1500 from TimeIncOSS/improve-test-helpers
Let test helpers to print out expected output
2015-04-13 08:20:53 -05:00
Radek Simko 8eb6984a89 Test helpers to print expected output 2015-04-13 14:12:43 +01:00