Commit Graph

697 Commits

Author SHA1 Message Date
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
Jack Pearkes 8f5232313c Merge pull request #15 from hashicorp/add-aws-elb
AWS ELB WIP
2014-07-07 13:18:31 -04:00
Jack Pearkes 69acd6272a providers/aws: elb instance registration 2014-07-07 10:07:06 -04:00
Jack Pearkes d484ebadcd providers/aws: update 2014-07-07 10:07:06 -04:00
Jack Pearkes 0f64ff9387 providers/aws: availability_zones and expandList 2014-07-07 10:07:06 -04:00
Jack Pearkes 1b6faa0eb9 providers/aws: helper for expanding listeners 2014-07-07 10:07:06 -04:00
Jack Pearkes 339355b2f1 providers/aws: elb hack 2014-07-07 10:07:06 -04:00
Mitchell Hashimoto 5d25de017c providers/aws: fix for latest ResourceBuilder API 2014-07-07 10:07:06 -04:00
Jack Pearkes a2815e50eb providers/aws: first pass at elb support 2014-07-07 10:07:06 -04:00
Jack Pearkes fd4eeac7dc providers/aws: timeout in state change conf 2014-07-07 10:07:06 -04:00
Jack Pearkes 2663bb993a providers/aws: use wait helper 2014-07-07 10:07:06 -04:00
Jack Pearkes 5ae69778a1 helper/resource: wait should return obj 2014-07-07 10:07:06 -04:00