Commit Graph

7023 Commits

Author SHA1 Message Date
Mitchell Hashimoto a46cafc975 providers/aws: internet gateway is more robust 2014-07-09 09:16:47 -07:00
Mitchell Hashimoto fa3e9fab42 helper/resource: wait 2 seconds between each 2014-07-09 09:16:46 -07:00
Jack Pearkes 5ad8d418f2 providers/aws: sg flattening of refresh 2014-07-08 20:25:52 -04:00
Mitchell Hashimoto eda3cb009c terraform: make sure the "id" attribute is in the state 2014-07-08 17:15:41 -07:00
Mitchell Hashimoto 611e0668e7 terraform: remove debugging 2014-07-08 17:03:25 -07:00
Mitchell Hashimoto b700eee3e0 helper/diff: don't output ID anymore since Terraform does it 2014-07-08 16:59:58 -07:00
Mitchell Hashimoto 251790f05a terraform: add ID to diff implicitly 2014-07-08 16:58:31 -07:00
Mitchell Hashimoto 2fd5b36550 providers/aws: validation of route table 2014-07-08 16:17:30 -07:00
Mitchell Hashimoto d0dc045282 terraform: make sure the config is initialized 2014-07-08 16:17:29 -07:00
Armon Dadgar 8f4cd641df terraform: minimal apply test case 2014-07-08 16:12:30 -07:00
Mitchell Hashimoto 66c716540f providers/aws: internet gateway delete is more flexible 2014-07-08 16:05:08 -07:00
Mitchell Hashimoto 5bec1ac383 providers/aws: gateway detach is idempotent 2014-07-08 16:02:01 -07:00
Mitchell Hashimoto c9bb814917 providers/aws: basic route table creation 2014-07-08 15:56:19 -07:00
Mitchell Hashimoto 021a0db636 config: deterministic test ordering 2014-07-08 14:57:47 -07:00
Mitchell Hashimoto d83e687865 terraform: TODO the checksum struct 2014-07-08 14:51:51 -07:00
Jack Pearkes 637d68140c providers/aws: ingress and egress rules 2014-07-08 17:47:03 -04:00
Mitchell Hashimoto 1277c324d0 flatmap: deeper nesting tests 2014-07-08 13:57:55 -07:00
Jack Pearkes 47468c32a4 providers/aws: egress and ingress for sg 2014-07-08 16:34:10 -04:00
Mitchell Hashimoto 3318fe97dc terraform: ContextOpts can set a max parallelism 2014-07-08 11:42:03 -07:00
Mitchell Hashimoto 7f86bcb873 Update TODO 2014-07-08 11:26:16 -07:00
Mitchell Hashimoto 9ae5358217 update TODO 2014-07-08 11:20:36 -07:00
Mitchell Hashimoto 663be265dc helper/config: can validate nested structures
/cc @pearkes - See docs
2014-07-08 11:14:53 -07:00
Jack Pearkes 6368526ac3 providers/aws: security groups 2014-07-08 14:06:51 -04:00
Mitchell Hashimoto 7c588eca58 add readme to helper dir 2014-07-08 10:20:44 -07:00
Mitchell Hashimoto e4a1b2485a providers/aws: call ValidateResource on Map
/cc @pearkes - Here is the thing that hooks it up. Good to go!
2014-07-08 10:18:39 -07:00
Mitchell Hashimoto 0c812ba9e8 helper/resource: automatically validate resources
/cc @pearkes - So, just set a ConfigValidator struct up on your
resources and it'll now automatically validate.
2014-07-08 10:17:36 -07:00
Mitchell Hashimoto 50b8e761f1 helper/config: Validator
/cc @pearkes - Here is the beginning of that helper. It can't really validate
deeper keys (i.e. listeners in ELB), but my goal is for it to support that
soon. Working on it.
2014-07-08 10:02:02 -07:00
Mitchell Hashimoto 6a7e3668a2 command: apply saves state even if error occurs 2014-07-07 21:20:48 -07:00
Mitchell Hashimoto 5263306f1f terraform: more logging 2014-07-07 21:12:21 -07:00
Mitchell Hashimoto d3d45ca064 command: fix some issues with refresh, tests passing 2014-07-07 21:12:12 -07:00
Mitchell Hashimoto 7fd1a06426 update TODO 2014-07-07 21:06:02 -07:00
Mitchell Hashimoto f7b7c30055 providers/aws: internet gateway belongs to VPC 2014-07-07 21:03:53 -07:00
Mitchell Hashimoto c0dbb8febd providers/aws: much better logic for attaching/detaching internet gateways 2014-07-07 21:00:46 -07:00
Mitchell Hashimoto 037bed71ed providers/aws: support attaching/detaching internet gateway 2014-07-07 20:51:45 -07:00
Mitchell Hashimoto f1d782031b helper/resource: don't assign to nil map 2014-07-07 20:45:09 -07:00
Mitchell Hashimoto bdc2a53c9d providers/aws: style 2014-07-07 17:12:22 -07:00
Mitchell Hashimoto e33739209b providers/aws: its okay to delete something that is already gone 2014-07-07 17:09:05 -07:00
Mitchell Hashimoto b0a83adea4 terraform: manually interpolate variables in walker functions
This avoids issues where we were interpolating when we didn't need to
2014-07-07 16:56:23 -07:00
Mitchell Hashimoto c96886edce terraform: Refresh should work on Context state 2014-07-07 16:22:09 -07:00
Mitchell Hashimoto 38b3734d12 terraform: don't refresh resources that aren't created 2014-07-07 16:19:25 -07:00
Mitchell Hashimoto 5b95271819 providers/aws: clean up internet gateway code 2014-07-07 16:14:08 -07:00
Mitchell Hashimoto 42e999923a providers/aws: aws_internet_gateway 2014-07-07 16:12:03 -07:00
Mitchell Hashimoto 2ef36e191b providers/aws: wait for resource to be gon 2014-07-07 15:44:08 -07:00
Mitchell Hashimoto 9f56fc8ddc terraform: copy the proper dependencies over on destroy plan 2014-07-07 15:43:32 -07:00
Mitchell Hashimoto 55eb06929e terraform: fix cycle that could happen during destroy 2014-07-07 15:38:27 -07:00
Mitchell Hashimoto 1c725896ca helper/resource: support waiting on absense of thing 2014-07-07 15:38:26 -07:00
Mitchell Hashimoto b80e8364d0 terraform: fix potential nil access on graph 2014-07-07 15:38:25 -07:00
Mitchell Hashimoto 65d959003f providers/aws: setup subnet dependenyc on VPC 2014-07-07 15:38:24 -07:00
Jack Pearkes 0319e89281 providers/aws: remove instance_id manual storage 2014-07-07 18:08:42 -04:00
Mitchell Hashimoto 8acd3a6373 helper/resource: set to valid ID 2014-07-07 15:06:17 -07:00