Commit Graph

11358 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto 10e3cad5ce providers/aws: fix error message for aws_subnet 2014-07-07 15:03:18 -07:00
Mitchell Hashimoto 21539d08a8 helper/resource: add id to attributes 2014-07-07 15:00:13 -07:00
Mitchell Hashimoto 177f8c094d helper/diff: add ID to diff 2014-07-07 14:57:41 -07:00
Mitchell Hashimoto a31c4e8788 providers/aws: aws_subnet 2014-07-07 14:46:18 -07:00
Jack Pearkes fac9c6bf10 providers/aws: eip use retrieval helper 2014-07-07 17:42:20 -04:00
Jack Pearkes e83e0f72b2 providers/aws: eip retrieve func, elb fix state saves after create 2014-07-07 17:38:35 -04:00
Jack Pearkes feb32e6f8a providers/aws: add refresh, refactor duplication in retrieve 2014-07-07 17:32:00 -04:00
Mitchell Hashimoto 56e5d20b40 providers/aws: use the proper ID field for vpc 2014-07-07 14:20:36 -07:00
Mitchell Hashimoto 916eb5aaf3 terraform: copy before modifying struct in graphAddDiff
/cc @pearkes - Fixes the destroy bug
2014-07-07 12:53:39 -07:00
Jack Pearkes 4f2388f787 providers/aws: eip destroy and drefresh 2014-07-07 15:37:38 -04:00
Mitchell Hashimoto 6deea2a93b providers/aws: handle eventual consistency of AWS in aws_vpc 2014-07-07 12:23:27 -07:00
Jack Pearkes 4f10569037 providers/aws: add EIP provider
resource "aws_eip" "public_web" {
  instance = "${aws_instance.web.instance_id}"

  # Defaults to false
  # vpc = "true"
}
2014-07-07 15:20:17 -04:00
Mitchell Hashimoto e51bdc92fa providers/aws: aws_vpc 2014-07-07 12:16:58 -07:00
Mitchell Hashimoto 20198cb7aa providers/aws: ABC, Its as Easy as 123
https://www.youtube.com/watch?v=I8GvDLDYhNM&feature=kp
2014-07-07 11:25:54 -07:00
Jack Pearkes 553e0a5d9a providers/aws: elb destroy 2014-07-07 14:03:40 -04:00