providers/aws: remove security_group_update
This commit is contained in:
parent
5c2f4d49d8
commit
f6fa012e82
|
@ -83,19 +83,6 @@ func resource_aws_security_group_create(
|
||||||
return resource_aws_security_group_refresh(rs, meta)
|
return resource_aws_security_group_refresh(rs, meta)
|
||||||
}
|
}
|
||||||
|
|
||||||
func resource_aws_security_group_update(
|
|
||||||
s *terraform.ResourceState,
|
|
||||||
d *terraform.ResourceDiff,
|
|
||||||
meta interface{}) (*terraform.ResourceState, error) {
|
|
||||||
|
|
||||||
rs := s.MergeDiff(d)
|
|
||||||
log.Printf("ResourceDiff: %s", d)
|
|
||||||
log.Printf("ResourceState: %s", s)
|
|
||||||
log.Printf("Merged: %s", rs)
|
|
||||||
|
|
||||||
return nil, fmt.Errorf("Did not update")
|
|
||||||
}
|
|
||||||
|
|
||||||
func resource_aws_security_group_destroy(
|
func resource_aws_security_group_destroy(
|
||||||
s *terraform.ResourceState,
|
s *terraform.ResourceState,
|
||||||
meta interface{}) error {
|
meta interface{}) error {
|
||||||
|
|
|
@ -36,7 +36,6 @@ func init() {
|
||||||
Destroy: resource_aws_db_security_group_destroy,
|
Destroy: resource_aws_db_security_group_destroy,
|
||||||
Diff: resource_aws_db_security_group_diff,
|
Diff: resource_aws_db_security_group_diff,
|
||||||
Refresh: resource_aws_db_security_group_refresh,
|
Refresh: resource_aws_db_security_group_refresh,
|
||||||
Update: resource_aws_db_security_group_update,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"aws_eip": resource.Resource{
|
"aws_eip": resource.Resource{
|
||||||
|
|
Loading…
Reference in New Issue