diff --git a/scaleway/resource_instance_security_group.go b/scaleway/resource_instance_security_group.go index f1f6d3c88..201dac2e8 100644 --- a/scaleway/resource_instance_security_group.go +++ b/scaleway/resource_instance_security_group.go @@ -143,8 +143,8 @@ func resourceScalewayInstanceSecurityGroupRead(d *schema.ResourceData, m interfa if err != nil { return err } - d.Set("inbound_rule", inboundRules) - d.Set("outbound_rule", outboundRules) + _ = d.Set("inbound_rule", inboundRules) + _ = d.Set("outbound_rule", outboundRules) } return nil } diff --git a/scaleway/resource_instance_security_group_rules.go b/scaleway/resource_instance_security_group_rules.go index eecf40645..8a54625d0 100644 --- a/scaleway/resource_instance_security_group_rules.go +++ b/scaleway/resource_instance_security_group_rules.go @@ -44,7 +44,7 @@ func customImporterState(d *schema.ResourceData, m interface{}) ([]*schema.Resou // It should be a SecurityGroupZonedID. importZonedID := d.Id() - d.Set("security_group_id", importZonedID) + _ = d.Set("security_group_id", importZonedID) d.SetId(importZonedID) return []*schema.ResourceData{d}, nil