Mitchell Hashimoto
6ddcc2ebf8
Merge pull request #309 from alekstorm/aws-db-instance-password
...
Store aws_db_instance.password in tfstate, change to AttrTypeCreate
2014-10-11 12:34:52 -07:00
Mitchell Hashimoto
d8c1ee655c
Merge pull request #308 from alekstorm/aws-db-instance-db-subnet-group-name
...
Rename aws_db_instance.subnet_group_name to db_subnet_group_name
2014-10-11 12:33:58 -07:00
Mitchell Hashimoto
bd0cf94e89
providers/aws: wait for LC to exist [GH-302]
2014-10-11 12:27:23 -07:00
Mitchell Hashimoto
129771df17
Update CHANGELOG
2014-10-11 11:02:40 -07:00
Mitchell Hashimoto
35065fc8c8
providers/aws: properly report errors if DB instance destroy fails
...
[GH-310]
2014-10-11 11:02:11 -07:00
Mitchell Hashimoto
30786ce442
fmt
2014-10-11 10:47:07 -07:00
Mitchell Hashimoto
59349cca11
helper/schema: sets must be treated atomically within ResourceData
...
This fixes a seemingly minor issue (GH-255) around plans showing changes
when in fact there are none. But in reality this turned out to uncover a
really terrible bug.
The effect of what was happening was that multiple items in a set were
being merged. Now, they were being merged in the right order, so if you
didn't have rich types (lists in a set) then you never saw the effect
since the later value would overwrite the earlier. But with lists (such
as in security groups), you would end up with the lists merging. So, if
you had one ingress rule with CIDR blocks and one with SGs, then after
the merge both ingress rules would have BOTH CIDR and SGs, resulting in
an incorrect plan (GH-255).
This fixes the issue by introducing a `getSourceExact` bitflag to the
ResourceData source. When this is set, ALL data must come from this
level, instead of merging lower levels. In the case of sets and diffs,
this is exactly what you want: "Get me the set 'foo' from the config and
the config ONLY (not the state or diff or w/e)".
Andddddd its fixed.
GH-255
2014-10-11 10:40:54 -07:00
Mitchell Hashimoto
a362a97979
providers/aws: forcenew on SGs for now [GH-299]
2014-10-10 17:14:35 -07:00
Mitchell Hashimoto
e4ec2eb0cf
providers/aws: security group VPC ID can be computed in a default VPC
2014-10-10 17:12:03 -07:00
Mitchell Hashimoto
e827180887
providers/aws: main_route_table_id attribute for VPC [GH-193]
2014-10-10 16:57:32 -07:00
Mitchell Hashimoto
51d66b678d
providers/aws: resource ELB listeners [GH-314]
2014-10-10 16:35:52 -07:00
Mitchell Hashimoto
aee9c480b2
Update CHANGELOG
2014-10-10 16:26:23 -07:00
Mitchell Hashimoto
5eccbba606
providers/aws: support non-destructive update of desired_capacity for
...
ASG
2014-10-10 16:25:23 -07:00
Mitchell Hashimoto
ad20bbe6f2
Update CHANGELOG
2014-10-10 16:09:34 -07:00
Mitchell Hashimoto
3a107d2e50
helper/schema: set the field to empty if it is a list and computed
2014-10-10 15:58:38 -07:00
Mitchell Hashimoto
e5d64318bf
helper/schema: don't say that a set is computed if it exists
2014-10-10 15:46:24 -07:00
Mitchell Hashimoto
36f225dea0
fmt
2014-10-10 14:50:35 -07:00
Mitchell Hashimoto
b43cfa3bb0
providers/aws: launch configuration in helper/schema
2014-10-10 14:50:23 -07:00
Mitchell Hashimoto
caaa9d145a
providers/aws: convert autoscaling group to helper/schema
2014-10-10 14:34:40 -07:00
Mitchell Hashimoto
281ba93d39
providers/aws: set the dns_name on create [GH-393]
2014-10-10 13:50:08 -07:00
Mitchell Hashimoto
ab6741f6fc
terraform: require the prefix match with a "." in Diff.Instances
2014-10-10 13:46:44 -07:00
Clint Shryock
95a815deda
Starting point for adding Organization app support for Heroku Provider
2014-10-10 14:07:27 -05:00
Mitchell Hashimoto
b43ca0aa52
providers/aws: handle case where ELB is deleted manually [GH-304]
2014-10-10 10:35:34 -07:00
Mitchell Hashimoto
c5c72b1ce1
providers/aws: fix failing test
2014-10-10 10:26:48 -07:00
Mitchell Hashimoto
bd3bc03c5f
Update CHANGELOG
2014-10-10 10:21:30 -07:00
Mitchell Hashimoto
1acb546d74
Merge pull request #388 from hashicorp/f-elb-schema
...
aws_elb to helper/schema, fix issues in helper/schema around computed sets
2014-10-10 10:03:35 -07:00
Mitchell Hashimoto
e0994c717d
helper/schema: fix issues around computed sets
2014-10-10 09:13:04 -07:00
Mitchell Hashimoto
7dcb386e29
providers/aws: fix some computed attributes on ELB
2014-10-10 00:17:35 -07:00
Mitchell Hashimoto
dd2b1fe442
providers/aws: make health checks work
2014-10-10 00:07:08 -07:00
Mitchell Hashimoto
12ff354749
providers/aws: convert most of ELB to schema
2014-10-09 23:58:48 -07:00
Mitchell Hashimoto
e5ce6a97a3
Merge pull request #385 from hashicorp/f-splat-wtf
...
Fix variable "splatting"
2014-10-09 23:18:10 -07:00
Mitchell Hashimoto
975d564a22
terraform: remove debug stuff
2014-10-09 23:16:59 -07:00
Mitchell Hashimoto
6c96e0f6ac
terraform: nil out the Diff on a resource when expanding
...
This fixes a bug where the Destroy diff was being kept around for
nodes that shouldn't be destroyed. We added a test to verify this
doesn't happen.
2014-10-09 23:15:42 -07:00
Mitchell Hashimoto
1ebcedb22b
config: make the interp split pretty insane
2014-10-09 22:45:22 -07:00
Mitchell Hashimoto
539eca5ee6
Fix failing tests
2014-10-09 21:29:21 -07:00
Mitchell Hashimoto
8aae8099e8
website: update the docs more to say more
2014-10-09 21:25:59 -07:00
Mitchell Hashimoto
f558f7a0c5
website: document the join function
2014-10-09 21:23:49 -07:00
Mitchell Hashimoto
61b46c8612
config: add join() function
2014-10-09 21:22:35 -07:00
Mitchell Hashimoto
7b48924532
config: validate that multi-variables are only used in slices
2014-10-09 21:15:08 -07:00
Mitchell Hashimoto
75e79da9c3
terraform: modify Same to return true if list is computed
2014-10-09 20:52:38 -07:00
Mitchell Hashimoto
dcaf653d6f
helper/schema: properly detect that a list is computed
2014-10-09 19:09:06 -07:00
Mitchell Hashimoto
a931707a6a
config: removeCurrent finds the proper map
2014-10-09 17:23:10 -07:00
Mitchell Hashimoto
3aa655ad3b
helper/schema: test schema diffs with the interpolation splits
2014-10-09 16:31:24 -07:00
Mitchell Hashimoto
865ec6a6bf
terraform: use the InterpSplitDelim
2014-10-09 16:17:00 -07:00
Mitchell Hashimoto
5c7ce2d003
config: make the tests more robust
2014-10-09 16:13:43 -07:00
Mitchell Hashimoto
c6424e9569
config: make the replace function marginally more understandable
2014-10-09 16:12:30 -07:00
Mitchell Hashimoto
22908d67ba
config: first pass at replacing lists within a slice
2014-10-09 15:55:22 -07:00
Mitchell Hashimoto
958f2ec094
Update CHANGELOG
2014-10-09 10:50:52 -07:00
Mitchell Hashimoto
3ad6016d8f
Merge pull request #381 from hashicorp/f-tags
...
AWS Tag Support
2014-10-09 10:49:31 -07:00
Mitchell Hashimoto
6591e63138
providers/aws: should delete tags that are changing in-place
2014-10-09 10:47:33 -07:00