Paul Hinze
975a96f271
core: protect against count.index in modules
...
Modules should get a validation error just like outputs do.
refs #1528
2015-04-15 10:41:56 -05:00
Clint Shryock
dc54d6a852
refactor out a refresh fun that wasn't really used
2015-04-15 10:26:39 -05:00
Paul Hinze
347690a73e
core: don't crash when count.index is used in the wrong context
...
It's bad manners! :)
Also adds a validation error up at the configuration layer so the user
sees the case from #1528 as an error message.
fixes #1528
2015-04-15 10:23:53 -05:00
Radek Simko
6a720d087c
length added to built-in functions
2015-04-15 16:20:11 +01:00
Clint Shryock
a3ffb6ea6e
fix test failure
2015-04-15 09:43:43 -05:00
Clint Shryock
7078753733
Merge branch 'master' into f-aws-upstream-elb
...
* master:
Update CHANGELOG.md
core: avoid diff mismatch on NewRemoved fields during -/+
2015-04-15 09:34:28 -05:00
Eli Shvartsman
44d6123894
get dependencies without installing them
...
For now, make dev creates in ${MAIN_GOPATH}/bin/ files like 'provider-google' alongside with 'terraform-provider-google'.
If we decided to build plugins with custom names and install them manually with 'cp' command, it could make sense not to do it here.
2015-04-15 13:08:37 +03:00
Paul Hinze
062947556a
Update CHANGELOG.md
2015-04-14 17:50:04 -05:00
Paul Hinze
6365b3af89
Merge pull request #1515 from hashicorp/b-diff-mismatch-on-instance-replacement
...
core: avoid diff mismatch on NewRemoved fields during -/+
2015-04-14 17:44:28 -05:00
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