From 20198cb7aa1be3e8c451b067beda493be49ae88e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 7 Jul 2014 11:25:54 -0700 Subject: [PATCH] providers/aws: ABC, Its as Easy as 123 https://www.youtube.com/watch?v=I8GvDLDYhNM&feature=kp --- builtin/providers/aws/resources.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/builtin/providers/aws/resources.go b/builtin/providers/aws/resources.go index 2703f024c..6a4a83067 100644 --- a/builtin/providers/aws/resources.go +++ b/builtin/providers/aws/resources.go @@ -11,12 +11,6 @@ var resourceMap *resource.Map func init() { resourceMap = &resource.Map{ Mapping: map[string]resource.Resource{ - "aws_instance": resource.Resource{ - Create: resource_aws_instance_create, - Destroy: resource_aws_instance_destroy, - Diff: resource_aws_instance_diff, - Refresh: resource_aws_instance_refresh, - }, "aws_elb": resource.Resource{ Create: resource_aws_elb_create, Update: resource_aws_elb_update, @@ -24,6 +18,13 @@ func init() { Diff: resource_aws_elb_diff, Refresh: resource_aws_elb_refresh, }, + + "aws_instance": resource.Resource{ + Create: resource_aws_instance_create, + Destroy: resource_aws_instance_destroy, + Diff: resource_aws_instance_diff, + Refresh: resource_aws_instance_refresh, + }, }, } }