Armon Dadgar
5a3f80559c
helper/ssh: Cleanups
2014-10-13 12:48:06 -07:00
Mitchell Hashimoto
d7e77202ba
website: started updating examples
2014-10-13 12:14:56 -07:00
Mitchell Hashimoto
5f6fe1f931
command: put the modules in ".terraform/modules"
...
This also fixes a case where tests wre leaking files
2014-10-13 12:05:28 -07:00
Mitchell Hashimoto
9ccc8aebf1
website: update getting started guide for TF 0.3 features
2014-10-13 11:57:43 -07:00
Mitchell Hashimoto
edf85de411
terraform: output state in human-readable format
...
/cc @armon - Didn't need to save the bits here, plus it makes it easier
for someone to go in and modify this stuff
2014-10-12 22:56:34 -07:00
Mitchell Hashimoto
ce61b5caec
terraform: no outputs if we have no resources
2014-10-12 22:49:05 -07:00
Mitchell Hashimoto
61660b464b
update dev version
2014-10-12 21:20:25 -07:00
Mitchell Hashimoto
6ee9c06cdc
config/module: copyDir properly copies files in subdirectories
2014-10-12 21:12:42 -07:00
Mitchell Hashimoto
12c178bc63
helper/schema: don't ask for input if provider default would not be nil
2014-10-12 17:37:52 -07:00
Mitchell Hashimoto
c6a165f8c6
command: prov UI should trim only right spaces
2014-10-12 09:59:08 -07:00
Mitchell Hashimoto
06889b8fc7
terraform: make sure taint destroys happen first for counts
2014-10-12 09:50:36 -07:00
Mitchell Hashimoto
7af9179edd
terraform: remove old test
2014-10-12 09:45:01 -07:00
Mitchell Hashimoto
f59e89ccb8
terraform: add count tainted apply test
2014-10-12 09:41:27 -07:00
Mitchell Hashimoto
ac7e494697
terraform: remove an inaccurate TODO
2014-10-12 09:19:38 -07:00
Mitchell Hashimoto
f74a27d75f
terraform: provisioner dependencies are reflected in graph
2014-10-12 09:15:26 -07:00
Mitchell Hashimoto
d4d58ae44b
terraform: turn resource expand into graph
2014-10-12 08:57:08 -07:00
Mitchell Hashimoto
fbeb99ee83
command: make sure the output has a line from a provisioner to output
2014-10-11 17:40:28 -07:00
Mitchell Hashimoto
8fc134caa1
command/destroy: don't show outputs
2014-10-11 17:37:28 -07:00
Mitchell Hashimoto
bb698217f8
command: split on \r too
2014-10-11 17:35:32 -07:00
Mitchell Hashimoto
4cb1ea6ae1
config: allow exact multi-resource references outside slices
2014-10-11 17:20:39 -07:00
Mitchell Hashimoto
ecafcfa682
terraform: don't validate tainted resources
2014-10-11 16:02:07 -07:00
Mitchell Hashimoto
6e7d23d612
terraform: don't crash if validating orphan
2014-10-11 15:58:52 -07:00
Mitchell Hashimoto
bbdb375612
Remove TODO from yore
2014-10-11 13:28:52 -07:00
Mitchell Hashimoto
0914e17a2a
command/apply: more than one ctrl-c properly exits immediately
2014-10-11 13:23:15 -07:00
Mitchell Hashimoto
129e4fc453
terraform: fix crash if depends_on used when state has orphans
2014-10-11 13:20:11 -07:00
Mitchell Hashimoto
1510f12efc
output errors to the proper location in main.go [GH-288]
2014-10-11 13:03:11 -07:00
Mitchell Hashimoto
dac5f0e3df
command/show: update help
2014-10-11 12:57:47 -07:00
Mitchell Hashimoto
d7786473df
fmt
2014-10-11 12:57:06 -07:00
Mitchell Hashimoto
069f758efb
command/show: show default state with no args [GH-349]
2014-10-11 12:56:55 -07:00
Mitchell Hashimoto
d2e836275b
terraform: sort the modules in the state [GH-318]
2014-10-11 12:47:06 -07:00
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