providers/aws: ABC, Its as Easy as 123
https://www.youtube.com/watch?v=I8GvDLDYhNM&feature=kp
This commit is contained in:
parent
553e0a5d9a
commit
20198cb7aa
|
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue