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
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
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
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
Sander van Harmelen
a361a8beee
Merge pull request #1496 from svanharmelen/f-cloudstack-template-docs
...
provider/cloudstack: adding docs for the new resource...
2015-04-12 10:59:56 +02:00
Sander van Harmelen
e2e7ee6d75
Slipped in, shouldn't be here...
2015-04-12 10:56:59 +02:00
Sander van Harmelen
d678b79fce
Adding docs for the new resource...
2015-04-12 10:52:29 +02:00
Sander van Harmelen
852e7a3554
Merge pull request #1492 from svanharmelen/f-cloudstack-network
...
Fixing a small logic error
2015-04-11 17:56:09 +02:00
Sander van Harmelen
3fc6397343
Merge pull request #1491 from svanharmelen/f-cloudstack-refactor-template
...
provider/cloudstack: refactored the template provider to make it fit in nicely
2015-04-11 17:53:39 +02:00
Sander van Harmelen
8c37a95a5e
Fixing a small logic error
2015-04-11 17:53:25 +02:00
Sander van Harmelen
0963d556a3
Refactored the template provider to make it fit in nicely
...
Fixing a few things while add it and added a additional test as well.
2015-04-11 17:50:06 +02:00
Sander van Harmelen
365251f7a3
Merge pull request #1228 from benjvi/cloudstack-template-resource
...
provider/cloudstack: added template resource for CloudStack
2015-04-11 17:42:13 +02:00
Mitchell Hashimoto
9c5e1aa1f8
website: a change to kick deploy
2015-04-10 17:13:59 -07:00
Mitchell Hashimoto
8175d7f821
v0.4.2
2015-04-10 16:46:43 -07:00
Mitchell Hashimoto
161d1e8489
update CHANGELOG
2015-04-10 16:45:56 -07:00
Mitchell Hashimoto
6514bf5f25
config: clarify unknown variable error [GH-1480]
2015-04-10 16:45:15 -07:00
Paul Hinze
6761424309
Merge pull request #1487 from hashicorp/b-provider-vars-inherit
...
terraform: fix provider config inheritance during input
2015-04-10 16:35:17 -05:00
Mitchell Hashimoto
87d64a1db1
update CHANGELOG
2015-04-10 14:34:23 -07:00
Mitchell Hashimoto
62bc562c97
Merge pull request #1485 from hashicorp/b-refresh-outputs
...
terraform: return value for resource interpolation on refresh
2015-04-10 14:33:47 -07:00
Paul Hinze
d1b40de242
terraform: fix provider config inheritance during input
...
The provider config was not being properly merged across module
boundaries during the Input walk over the graph, so when a provider was
configured at the top level, resources in modules could improperly
trigger a request for input for a provider attribute that's already
defined.
2015-04-10 16:28:47 -05:00
Mitchell Hashimoto
4c3923e32a
terraform: return value for resource interpolation on refresh
...
Instead of returning UnknownVariableValue every time, attempt to return
the real value. If we don't find it, return unknown value. This fixes
removing outputs from state on refresh.
2015-04-10 13:51:22 -07:00
Paul Hinze
56836c236f
Merge pull request #1482 from hashicorp/d-aws-sg-tags
...
docs: move aws SG tags from rules to resource
2015-04-10 14:53:35 -05:00
Paul Hinze
00ede71fcf
Merge pull request #1463 from hashicorp/d-provider-env-vars
...
docs: fill out all provider env var configuration
2015-04-10 14:53:24 -05:00
Sander van Harmelen
56adfce61f
Merge pull request #1481 from svanharmelen/f-cloudstack-connection
...
provider/cloudstack: adding a few lines to set the connection info
2015-04-10 21:36:39 +02:00
Paul Hinze
5b53c26d33
docs: fill out all provider env var configuration
...
I find env vars a lot easier to use in day-to-day practice, so it's
probably a good idea to let the users have that benefit too!
2015-04-10 14:31:53 -05:00
Paul Hinze
de3735bd6f
docs: move aws SG tags from rules to resource
...
fixes #1479
2015-04-10 14:29:31 -05:00
Sander van Harmelen
b7a6692548
Adding a few lines to set the connection info
2015-04-10 20:39:52 +02:00
Clint
9f56addf0c
Merge pull request #1446 from hashicorp/f-aws-upstream-security-group
...
providers/aws: Convert AWS Security Group to upstream aws-sdk-go
2015-04-10 11:06:55 -05:00
Paul Hinze
0bde9b0cb2
Merge pull request #1473 from hashicorp/b-fix-push-tests-outside-git-repo
...
command: fix push tests when running outside repo
2015-04-10 11:00:09 -05:00
Clint
b7462518eb
Update CHANGELOG.md
2015-04-10 10:10:48 -05:00
Clint
7c676f8c91
Merge pull request #1470 from hashicorp/b-aws-fix-credential-detection
...
provider/aws: Detect creds in AWS config
2015-04-10 10:06:08 -05:00
Paul Hinze
d0d18aa113
Update CHANGELOG.md
2015-04-10 09:36:59 -05:00
Paul Hinze
8f5ac1d06f
Merge pull request #1458 from sparkprime/fix-network-source
...
Avoid 'source' being undefined in legacy network Read
2015-04-10 09:34:56 -05:00
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