From ca43c44a8594fc671f7281d0c613a9e8d31c9f0e Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 23 Jul 2014 23:10:20 -0400 Subject: [PATCH] providers/aws: Re-order entries --- builtin/providers/aws/resources.go | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/builtin/providers/aws/resources.go b/builtin/providers/aws/resources.go index 687cd6479..f03689b14 100644 --- a/builtin/providers/aws/resources.go +++ b/builtin/providers/aws/resources.go @@ -39,6 +39,14 @@ func init() { Update: resource_aws_db_security_group_update, }, + "aws_eip": resource.Resource{ + ConfigValidator: resource_aws_eip_validation(), + Create: resource_aws_eip_create, + Destroy: resource_aws_eip_destroy, + Diff: resource_aws_eip_diff, + Refresh: resource_aws_eip_refresh, + }, + "aws_elb": resource.Resource{ ConfigValidator: resource_aws_elb_validation(), Create: resource_aws_elb_create, @@ -48,14 +56,6 @@ func init() { Refresh: resource_aws_elb_refresh, }, - "aws_eip": resource.Resource{ - ConfigValidator: resource_aws_eip_validation(), - Create: resource_aws_eip_create, - Destroy: resource_aws_eip_destroy, - Diff: resource_aws_eip_diff, - Refresh: resource_aws_eip_refresh, - }, - "aws_instance": resource.Resource{ Create: resource_aws_instance_create, Destroy: resource_aws_instance_destroy, @@ -112,14 +112,6 @@ func init() { Update: resource_aws_route_table_association_update, }, - "aws_route53_zone": resource.Resource{ - ConfigValidator: resource_aws_r53_zone_validation(), - Create: resource_aws_r53_zone_create, - Destroy: resource_aws_r53_zone_destroy, - Diff: resource_aws_r53_zone_diff, - Refresh: resource_aws_r53_zone_refresh, - }, - "aws_route53_record": resource.Resource{ ConfigValidator: resource_aws_r53_record_validation(), Create: resource_aws_r53_record_create, @@ -129,6 +121,14 @@ func init() { Update: resource_aws_r53_record_create, }, + "aws_route53_zone": resource.Resource{ + ConfigValidator: resource_aws_r53_zone_validation(), + Create: resource_aws_r53_zone_create, + Destroy: resource_aws_r53_zone_destroy, + Diff: resource_aws_r53_zone_diff, + Refresh: resource_aws_r53_zone_refresh, + }, + "aws_s3_bucket": resource.Resource{ ConfigValidator: resource_aws_s3_bucket_validation(), Create: resource_aws_s3_bucket_create,