mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-27 17:06:27 -06:00
providers/aws: style
This commit is contained in:
parent
cd1e70faab
commit
e3b64f5bb5
@ -96,8 +96,7 @@ func resourceAwsDbSecurityGroupCreate(d *schema.ResourceData, meta interface{})
|
|||||||
|
|
||||||
ingresses := d.Get("ingress").(*schema.Set)
|
ingresses := d.Get("ingress").(*schema.Set)
|
||||||
for _, ing := range ingresses.List() {
|
for _, ing := range ingresses.List() {
|
||||||
err = resourceAwsDbSecurityGroupAuthorizeRule(ing, sg.Name, conn)
|
err := resourceAwsDbSecurityGroupAuthorizeRule(ing, sg.Name, conn)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user