diff --git a/internal/services/instance/security_group.go b/internal/services/instance/security_group.go index b8d9d86c16..f998fff1d0 100644 --- a/internal/services/instance/security_group.go +++ b/internal/services/instance/security_group.go @@ -11,6 +11,7 @@ import ( instanceSDK "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/identity" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/zonal" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" @@ -31,6 +32,7 @@ func ResourceSecurityGroup() *schema.Resource { Default: schema.DefaultTimeout(defaultInstanceSecurityGroupTimeout), }, SchemaFunc: securityGroupSchema, + Identity: identity.DefaultZonal(), } } @@ -135,15 +137,43 @@ func ResourceInstanceSecurityGroupCreate(ctx context.Context, d *schema.Resource return diag.FromErr(err) } - d.SetId(zonal.NewIDString(zone, res.SecurityGroup.ID)) + err = identity.SetZonalIdentity(d, res.SecurityGroup.Zone, res.SecurityGroup.ID) + if err != nil { + return diag.FromErr(err) + } if d.Get("external_rules").(bool) { - return ResourceInstanceSecurityGroupRead(ctx, d, m) + return setSecurityGroupState(ctx, instanceAPI, d, res.SecurityGroup) } // We call update instead of read as it will take care of creating rules. return ResourceInstanceSecurityGroupUpdate(ctx, d, m) } +func setSecurityGroupState(ctx context.Context, instanceAPI *instanceSDK.API, d *schema.ResourceData, sg *instanceSDK.SecurityGroup) diag.Diagnostics { + _ = d.Set("zone", sg.Zone) + _ = d.Set("organization_id", sg.Organization) + _ = d.Set("project_id", sg.Project) + _ = d.Set("name", sg.Name) + _ = d.Set("stateful", sg.Stateful) + _ = d.Set("description", sg.Description) + _ = d.Set("inbound_default_policy", sg.InboundDefaultPolicy.String()) + _ = d.Set("outbound_default_policy", sg.OutboundDefaultPolicy.String()) + _ = d.Set("enable_default_security", sg.EnableDefaultSecurity) + _ = d.Set("tags", sg.Tags) + + if !d.Get("external_rules").(bool) { + inboundRules, outboundRules, err := getSecurityGroupRules(ctx, instanceAPI, sg.Zone, sg.ID, d) + if err != nil { + return diag.FromErr(err) + } + + _ = d.Set("inbound_rule", inboundRules) + _ = d.Set("outbound_rule", outboundRules) + } + + return nil +} + func ResourceInstanceSecurityGroupRead(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { instanceAPI, zone, ID, err := NewAPIWithZoneAndID(m, d.Id()) if err != nil { @@ -164,28 +194,12 @@ func ResourceInstanceSecurityGroupRead(ctx context.Context, d *schema.ResourceDa return diag.FromErr(err) } - _ = d.Set("zone", zone) - _ = d.Set("organization_id", res.SecurityGroup.Organization) - _ = d.Set("project_id", res.SecurityGroup.Project) - _ = d.Set("name", res.SecurityGroup.Name) - _ = d.Set("stateful", res.SecurityGroup.Stateful) - _ = d.Set("description", res.SecurityGroup.Description) - _ = d.Set("inbound_default_policy", res.SecurityGroup.InboundDefaultPolicy.String()) - _ = d.Set("outbound_default_policy", res.SecurityGroup.OutboundDefaultPolicy.String()) - _ = d.Set("enable_default_security", res.SecurityGroup.EnableDefaultSecurity) - _ = d.Set("tags", res.SecurityGroup.Tags) - - if !d.Get("external_rules").(bool) { - inboundRules, outboundRules, err := getSecurityGroupRules(ctx, instanceAPI, zone, ID, d) - if err != nil { - return diag.FromErr(err) - } - - _ = d.Set("inbound_rule", inboundRules) - _ = d.Set("outbound_rule", outboundRules) + err = identity.SetZonalIdentity(d, res.SecurityGroup.Zone, res.SecurityGroup.ID) + if err != nil { + return diag.FromErr(err) } - return nil + return setSecurityGroupState(ctx, instanceAPI, d, res.SecurityGroup) } func getSecurityGroupRules(ctx context.Context, instanceAPI *instanceSDK.API, zone scw.Zone, securityGroupID string, d *schema.ResourceData) ([]any, []any, error) { @@ -223,19 +237,28 @@ func getSecurityGroupRules(ctx context.Context, instanceAPI *instanceSDK.API, zo for direction := range apiRules { for index, apiRule := range apiRules[direction] { if index < len(stateRules[direction]) { + stateRuleRaw := stateRules[direction][index].(map[string]any) + + var ipFieldToSet string + if _, ok := stateRuleRaw["ip"]; ok { + ipFieldToSet = "ip" + } else if _, ok := stateRuleRaw["ip_range"]; ok { + ipFieldToSet = "ip_range" + } + stateRule, errGroup := securityGroupRuleExpand(stateRules[direction][index]) if errGroup != nil { return nil, nil, errGroup } if ok, _ := SecurityGroupRuleEquals(stateRule, apiRule); !ok { - stateRules[direction][index], err = securityGroupRuleFlatten(apiRule) + stateRules[direction][index], err = securityGroupRuleFlatten(apiRule, ipFieldToSet) if err != nil { return nil, nil, err } } } else { - rulesGroup, err := securityGroupRuleFlatten(apiRule) + rulesGroup, err := securityGroupRuleFlatten(apiRule, "") if err != nil { return nil, nil, err } @@ -303,7 +326,7 @@ func ResourceInstanceSecurityGroupUpdate(ctx context.Context, d *schema.Resource updateReq.Name = types.ExpandStringPtr(d.Get("name")) } - _, err = instanceAPI.UpdateSecurityGroup(updateReq, scw.WithContext(ctx)) + res, err := instanceAPI.UpdateSecurityGroup(updateReq, scw.WithContext(ctx)) if err != nil { return diag.FromErr(err) } @@ -315,7 +338,7 @@ func ResourceInstanceSecurityGroupUpdate(ctx context.Context, d *schema.Resource } } - return ResourceInstanceSecurityGroupRead(ctx, d, m) + return setSecurityGroupState(ctx, instanceAPI, d, res.SecurityGroup) } // updateSecurityGroupeRules handles updating SecurityGroupRules @@ -479,7 +502,13 @@ func securityGroupRuleExpand(i any) (*instanceSDK.SecurityGroupRule, error) { } // securityGroupRuleFlatten transform an api rule to a state one. -func securityGroupRuleFlatten(rule *instanceSDK.SecurityGroupRule) (map[string]any, error) { +func securityGroupRuleFlatten(rule *instanceSDK.SecurityGroupRule, ipFieldToSet string) (map[string]any, error) { + res := map[string]any{ + "protocol": rule.Protocol.String(), + "action": rule.Action.String(), + } + + // Set port or port_range portFrom, portTo := uint32(0), uint32(0) if rule.DestPortFrom != nil { @@ -490,16 +519,29 @@ func securityGroupRuleFlatten(rule *instanceSDK.SecurityGroupRule) (map[string]a portTo = *rule.DestPortTo } - ipnetRange, err := types.FlattenIPNet(rule.IPRange) - if err != nil { - return nil, err + if portFrom != 0 { + if portTo != 0 { + res["port_range"] = fmt.Sprintf("%d-%d", portFrom, portTo) + } else { + res["port"] = portFrom + } } - res := map[string]any{ - "protocol": rule.Protocol.String(), - "ip_range": ipnetRange, - "port_range": fmt.Sprintf("%d-%d", portFrom, portTo), - "action": rule.Action.String(), + // Set ip or ip_range + switch ipFieldToSet { + case "ip": + res["ip"] = rule.IPRange.IP.String() + case "ip_range": + res["ip_range"] = rule.IPRange.String() + case "": + // If we don't have access to the IP field that was set in the config (most likely in an import context), + // we always set 'ip_range' with the value from the API, and 'ip' if the value is not a range. + res["ip_range"] = rule.IPRange.String() + if one, _ := rule.IPRange.Mask.Size(); one == 32 { + res["ip"] = rule.IPRange.IP.String() + } + default: + return nil, fmt.Errorf("unknown IP field to set: %q", ipFieldToSet) } return res, nil diff --git a/internal/services/instance/security_group_data_source.go b/internal/services/instance/security_group_data_source.go index 622e630b61..25256a9cfa 100644 --- a/internal/services/instance/security_group_data_source.go +++ b/internal/services/instance/security_group_data_source.go @@ -8,6 +8,7 @@ import ( "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/datasource" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" "github.com/scaleway/terraform-provider-scaleway/v2/internal/verify" ) @@ -41,6 +42,8 @@ func DataSourceInstanceSecurityGroupRead(ctx context.Context, d *schema.Resource return diag.FromErr(err) } + var securityGroup *instance.SecurityGroup + securityGroupID, ok := d.GetOk("security_group_id") if !ok { sgName := d.Get("name").(string) @@ -63,12 +66,28 @@ func DataSourceInstanceSecurityGroupRead(ctx context.Context, d *schema.Resource return diag.FromErr(err) } + securityGroup = foundSG securityGroupID = foundSG.ID + } else { + id, err := locality.ExtractUUID(securityGroupID.(string)) + if err != nil { + return diag.FromErr(err) + } + + res, err := instanceAPI.GetSecurityGroup(&instance.GetSecurityGroupRequest{ + Zone: zone, + SecurityGroupID: id, + }, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + securityGroup = res.SecurityGroup } zonedID := datasource.NewZonedID(securityGroupID, zone) d.SetId(zonedID) _ = d.Set("security_group_id", zonedID) - return ResourceInstanceSecurityGroupRead(ctx, d, m) + return setSecurityGroupState(ctx, instanceAPI, d, securityGroup) } diff --git a/internal/services/instance/security_group_rules.go b/internal/services/instance/security_group_rules.go index 176eb5f3f9..26c56786e3 100644 --- a/internal/services/instance/security_group_rules.go +++ b/internal/services/instance/security_group_rules.go @@ -5,7 +5,13 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/scaleway/scaleway-sdk-go/api/instance/v1" + "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/identity" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/zonal" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/verify" ) func ResourceSecurityGroupRules() *schema.Resource { @@ -21,6 +27,7 @@ func ResourceSecurityGroupRules() *schema.Resource { Default: schema.DefaultTimeout(defaultInstanceSecurityGroupRuleTimeout), }, SchemaFunc: securityGroupRulesSchema, + Identity: identity.DefaultZonal(), } } @@ -31,8 +38,9 @@ func securityGroupRulesSchema() map[string]*schema.Schema { Required: true, // Ensure SecurityGroupRules.ID and SecurityGroupRules.security_group_id stay in sync. // If security_group_id is changed, a new SecurityGroupRules is created, with a new ID. - ForceNew: true, - Description: "The security group associated with this volume", + ForceNew: true, + Description: "The security group associated with this volume", + ValidateDiagFunc: verify.IsUUIDWithLocality(), }, "inbound_rule": { Type: schema.TypeList, @@ -50,23 +58,24 @@ func securityGroupRulesSchema() map[string]*schema.Schema { } func ResourceInstanceSecurityGroupRulesCreate(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { - d.SetId(d.Get("security_group_id").(string)) - - // We call update instead of read as it will take care of creating rules. - return ResourceInstanceSecurityGroupRulesUpdate(ctx, d, m) -} - -func ResourceInstanceSecurityGroupRulesRead(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { - securityGroupZonedID := d.Id() + zone, securityGroupID, err := locality.ParseLocalizedID(d.Get("security_group_id").(string)) + if err != nil { + return diag.FromErr(err) + } - instanceAPI, zone, securityGroupID, err := NewAPIWithZoneAndID(m, securityGroupZonedID) + err = identity.SetZonalIdentity(d, scw.Zone(zone), securityGroupID) if err != nil { return diag.FromErr(err) } - _ = d.Set("security_group_id", securityGroupZonedID) + // We call update instead of read as it will take care of creating rules. + return ResourceInstanceSecurityGroupRulesUpdate(ctx, d, m) +} + +func setSecurityGroupRulesState(ctx context.Context, d *schema.ResourceData, instanceAPI *instance.API, sg *instance.SecurityGroup) diag.Diagnostics { + _ = d.Set("security_group_id", zonal.NewID(sg.Zone, sg.ID).String()) - inboundRules, outboundRules, err := getSecurityGroupRules(ctx, instanceAPI, zone, securityGroupID, d) + inboundRules, outboundRules, err := getSecurityGroupRules(ctx, instanceAPI, sg.Zone, sg.ID, d) if err != nil { if httperrors.Is404(err) { d.SetId("") @@ -83,6 +92,30 @@ func ResourceInstanceSecurityGroupRulesRead(ctx context.Context, d *schema.Resou return nil } +func ResourceInstanceSecurityGroupRulesRead(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { + securityGroupZonedID := d.Id() + + instanceAPI, zone, securityGroupID, err := NewAPIWithZoneAndID(m, securityGroupZonedID) + if err != nil { + return diag.FromErr(err) + } + + sg, err := instanceAPI.GetSecurityGroup(&instance.GetSecurityGroupRequest{ + Zone: zone, + SecurityGroupID: securityGroupID, + }, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + err = identity.SetZonalIdentity(d, sg.SecurityGroup.Zone, sg.SecurityGroup.ID) + if err != nil { + return diag.FromErr(err) + } + + return setSecurityGroupRulesState(ctx, d, instanceAPI, sg.SecurityGroup) +} + func ResourceInstanceSecurityGroupRulesUpdate(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { securityGroupZonedID := d.Id() @@ -96,7 +129,15 @@ func ResourceInstanceSecurityGroupRulesUpdate(ctx context.Context, d *schema.Res return diag.FromErr(err) } - return ResourceInstanceSecurityGroupRulesRead(ctx, d, m) + sg, err := instanceAPI.GetSecurityGroup(&instance.GetSecurityGroupRequest{ + Zone: zone, + SecurityGroupID: securityGroupID, + }, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + return setSecurityGroupRulesState(ctx, d, instanceAPI, sg.SecurityGroup) } func ResourceInstanceSecurityGroupRulesDelete(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { diff --git a/internal/services/instance/security_group_rules_test.go b/internal/services/instance/security_group_rules_test.go index 6a7e955bcf..5b46da0b32 100644 --- a/internal/services/instance/security_group_rules_test.go +++ b/internal/services/instance/security_group_rules_test.go @@ -81,6 +81,11 @@ func TestAccSecurityGroupRules_Basic(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group_rules.sgrs01", "outbound_rule.1.ip_range", "0.0.0.0/0"), ), }, + { + ResourceName: "scaleway_instance_security_group_rules.sgrs01", + ImportState: true, + ImportStateVerify: true, + }, { // We test that we can remove some rules Config: ` @@ -114,6 +119,11 @@ func TestAccSecurityGroupRules_Basic(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group_rules.sgrs01", "outbound_rule.0.ip_range", "0.0.0.0/0"), ), }, + { + ResourceName: "scaleway_instance_security_group_rules.sgrs01", + ImportState: true, + ImportStateVerify: true, + }, { // We test that we can remove all rules Config: ` @@ -131,6 +141,11 @@ func TestAccSecurityGroupRules_Basic(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group_rules.sgrs01", "outbound_rule.#", "0"), ), }, + { + ResourceName: "scaleway_instance_security_group_rules.sgrs01", + ImportState: true, + ImportStateVerify: true, + }, }, }) } @@ -202,11 +217,17 @@ func TestAccSecurityGroupRules_IPRanges(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group_rules.sgrs01", "outbound_rule.1.ip_range", "2002::1234:abcd:ffff:c0a8:101/128"), ), }, + { + ResourceName: "scaleway_instance_security_group_rules.sgrs01", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"outbound_rule.0.ip"}, + }, }, }) } -func TestAccSecurityGroupRules_Basic2(t *testing.T) { +func TestAccSecurityGroupRules_ReapplyConfig(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -268,6 +289,11 @@ func TestAccSecurityGroupRules_Basic2(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group_rules.sgrs01", "outbound_rule.1.ip_range", "0.0.0.0/0"), ), }, + { + ResourceName: "scaleway_instance_security_group_rules.sgrs01", + ImportState: true, + ImportStateVerify: true, + }, }, }) } diff --git a/internal/services/instance/security_group_test.go b/internal/services/instance/security_group_test.go index 7e7c37e395..1aea51257e 100644 --- a/internal/services/instance/security_group_test.go +++ b/internal/services/instance/security_group_test.go @@ -39,7 +39,7 @@ func TestAccSecurityGroup_Basic(t *testing.T) { resource "scaleway_instance_security_group" "base" { name = "sg-name" inbound_default_policy = "drop" - + inbound_rule { action = "accept" port = 80 @@ -84,6 +84,15 @@ func TestAccSecurityGroup_Basic(t *testing.T) { }), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "external_rules", + "inbound_rule.1.ip_range", + }, + }, { Config: ` resource "scaleway_instance_security_group" "base" { @@ -94,7 +103,7 @@ func TestAccSecurityGroup_Basic(t *testing.T) { inbound_rule { action = "drop" port = 80 - ip = "8.8.8.8" + ip_range = "8.8.8.8/32" } inbound_rule { @@ -120,7 +129,8 @@ func TestAccSecurityGroup_Basic(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.action", "drop"), resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.protocol", "TCP"), resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.port", "80"), - resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.ip", "8.8.8.8"), + resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.ip_range", "8.8.8.8/32"), + resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.ip", ""), isSecurityGroupRuleMatching(tt, "scaleway_instance_security_group.base", 0, &instanceSDK.SecurityGroupRule{ Direction: instanceSDK.SecurityGroupRuleDirectionInbound, IPRange: ipnetTest, @@ -155,6 +165,16 @@ func TestAccSecurityGroup_Basic(t *testing.T) { }), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "external_rules", + "inbound_rule.0.ip", + "inbound_rule.2.ip_range", + }, + }, { Config: ` resource "scaleway_instance_security_group" "base" { @@ -167,6 +187,12 @@ func TestAccSecurityGroup_Basic(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.#", "0"), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"external_rules"}, + }, }, }) } @@ -235,6 +261,15 @@ func TestAccSecurityGroup_ICMP(t *testing.T) { }), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "external_rules", + "inbound_rule.0.ip_range", + }, + }, }, }) } @@ -280,6 +315,17 @@ func TestAccSecurityGroup_ANY(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.ban_ips", "inbound_rule.2.ip", "3.3.3.3"), ), }, + { + ResourceName: "scaleway_instance_security_group.ban_ips", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "external_rules", + "inbound_rule.0.ip_range", + "inbound_rule.1.ip_range", + "inbound_rule.2.ip_range", + }, + }, }, }) } @@ -315,6 +361,12 @@ func TestAccSecurityGroup_WithNoPort(t *testing.T) { }), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"external_rules"}, + }, }, }) } @@ -374,6 +426,12 @@ func TestAccSecurityGroup_RemovePort(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "tags.#", "0"), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"external_rules"}, + }, }, }) } @@ -401,6 +459,15 @@ func TestAccSecurityGroup_WithPortRange(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.port_range", "1-1024"), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "external_rules", + "inbound_rule.0.ip_range", + }, + }, { Config: ` resource "scaleway_instance_security_group" "base" { @@ -416,6 +483,15 @@ func TestAccSecurityGroup_WithPortRange(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.base", "inbound_rule.0.port", "22"), ), }, + { + ResourceName: "scaleway_instance_security_group.base", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "external_rules", + "inbound_rule.0.ip_range", + }, + }, { Config: ` resource "scaleway_instance_security_group" "base" { @@ -454,6 +530,12 @@ func TestAccSecurityGroup_Tags(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.main", "tags.1", "bar"), ), }, + { + ResourceName: "scaleway_instance_security_group.main", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"external_rules"}, + }, { Config: ` resource "scaleway_instance_security_group" "main" { @@ -474,6 +556,12 @@ func TestAccSecurityGroup_Tags(t *testing.T) { resource.TestCheckResourceAttr("scaleway_instance_security_group.main", "tags.#", "0"), ), }, + { + ResourceName: "scaleway_instance_security_group.main", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"external_rules"}, + }, }, }) } @@ -481,7 +569,7 @@ func TestAccSecurityGroup_Tags(t *testing.T) { func isSecurityGroupRuleMatching(tt *acctest.TestTools, name string, index int, expected *instanceSDK.SecurityGroupRule) resource.TestCheckFunc { return securityGroupRuleIs(tt, name, expected.Direction, index, func(actual *instanceSDK.SecurityGroupRule) error { if ok, _ := instance.SecurityGroupRuleEquals(expected, actual); !ok { - return fmt.Errorf("security group does not match %v, %v", actual, expected) + return fmt.Errorf("security group does not match %+v, %+v", actual, expected) } return nil diff --git a/internal/services/instance/testdata/security-group-any.cassette.yaml b/internal/services/instance/testdata/security-group-any.cassette.yaml index c1bec64fe7..df34376fa1 100644 --- a/internal/services/instance/testdata/security-group-any.cassette.yaml +++ b/internal/services/instance/testdata/security-group-any.cassette.yaml @@ -6,38 +6,38 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 223 + content_length: 224 host: api.scaleway.com - body: '{"name":"tf-sg-confident-allen","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-pedantic-satoshi","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 603 - body: '{"security_group": {"id": "3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f", "creation_date": "2025-10-30T15:42:33.936034+00:00", "modification_date": "2025-10-30T15:42:33.936034+00:00", "name": "tf-sg-confident-allen", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 604 + body: '{"security_group": {"id": "bb1a35c9-d433-4978-aeec-1a765bcc0225", "creation_date": "2026-03-11T17:14:00.692022+00:00", "modification_date": "2026-03-11T17:14:00.692022+00:00", "name": "tf-sg-pedantic-satoshi", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "603" + - "604" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:33 GMT + - Wed, 11 Mar 2026 17:14:00 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225 Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b40a72cb-f7df-474e-aff0-f777b9c8c4bb + - 818ed682-f85f-472e-9a9e-e7387d3db8d1 status: 201 Created code: 201 - duration: 237.192359ms + duration: 330.749691ms - id: 1 request: proto: HTTP/1.1 @@ -50,29 +50,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 603 - body: '{"security_group": {"id": "3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f", "creation_date": "2025-10-30T15:42:33.936034+00:00", "modification_date": "2025-10-30T15:42:33.936034+00:00", "name": "tf-sg-confident-allen", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 604 + body: '{"security_group": {"id": "bb1a35c9-d433-4978-aeec-1a765bcc0225", "creation_date": "2026-03-11T17:14:00.692022+00:00", "modification_date": "2026-03-11T17:14:00.692022+00:00", "name": "tf-sg-pedantic-satoshi", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "603" + - "604" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:34 GMT + - Wed, 11 Mar 2026 17:14:00 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - dd8ef9b2-64e2-4109-8ac5-3ffedeeb103e + - 6162714e-f7ed-49cb-8672-9cdd9598379b status: 200 OK code: 200 - duration: 156.674276ms + duration: 137.269927ms - id: 2 request: proto: HTTP/1.1 @@ -85,29 +85,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8acfe28e-6d73-4749-acbd-7c162ccd35ca", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8eed20d4-91f1-4af5-9905-672281821697", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "c90b3da3-0d3f-4331-b5c7-e0f7a56f8e99", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f17131a3-98de-4b6f-aee3-55d9009ac34b", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "99bddc1f-8930-4b51-a6ea-2f13e8209314", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0a4a4678-55c7-4958-b82d-0354bd6a7c2c", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:34 GMT + - Wed, 11 Mar 2026 17:14:01 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 7f48b153-3918-40f1-83af-72963a45fbcc + - c7fc532c-6d2e-4d20-9031-a356701b092f status: 200 OK code: 200 - duration: 297.712251ms + duration: 247.098976ms - id: 3 request: proto: HTTP/1.1 @@ -115,32 +115,67 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 603 - body: '{"security_group": {"id": "3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f", "creation_date": "2025-10-30T15:42:33.936034+00:00", "modification_date": "2025-10-30T15:42:34.418891+00:00", "name": "tf-sg-confident-allen", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 2298 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f17131a3-98de-4b6f-aee3-55d9009ac34b", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "99bddc1f-8930-4b51-a6ea-2f13e8209314", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0a4a4678-55c7-4958-b82d-0354bd6a7c2c", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - - "603" + - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:34 GMT + - Wed, 11 Mar 2026 17:14:01 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 9df2fad8-7c97-4c2c-8654-62a6df7b2750 + - 2f923089-ed83-45a8-b0d4-e8f25838a381 status: 200 OK code: 200 - duration: 112.79608ms + duration: 76.136028ms - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 604 + body: '{"security_group": {"id": "bb1a35c9-d433-4978-aeec-1a765bcc0225", "creation_date": "2026-03-11T17:14:00.692022+00:00", "modification_date": "2026-03-11T17:14:01.121928+00:00", "name": "tf-sg-pedantic-satoshi", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "604" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:14:01 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - fa6bb17f-9e59-4a7c-a803-e3261ea9d75a + status: 200 OK + code: 200 + duration: 90.630537ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -152,30 +187,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8acfe28e-6d73-4749-acbd-7c162ccd35ca", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8eed20d4-91f1-4af5-9905-672281821697", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "c90b3da3-0d3f-4331-b5c7-e0f7a56f8e99", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f17131a3-98de-4b6f-aee3-55d9009ac34b", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "99bddc1f-8930-4b51-a6ea-2f13e8209314", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0a4a4678-55c7-4958-b82d-0354bd6a7c2c", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:34 GMT + - Wed, 11 Mar 2026 17:14:01 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 19caac9d-1253-4778-aac3-4bf9f540bc17 + - 288223b5-72aa-4cb4-862e-b32b56a3e4ba status: 200 OK code: 200 - duration: 113.955134ms - - id: 5 + duration: 60.58675ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -184,30 +219,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 603 - body: '{"security_group": {"id": "3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f", "creation_date": "2025-10-30T15:42:33.936034+00:00", "modification_date": "2025-10-30T15:42:34.418891+00:00", "name": "tf-sg-confident-allen", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 604 + body: '{"security_group": {"id": "bb1a35c9-d433-4978-aeec-1a765bcc0225", "creation_date": "2026-03-11T17:14:00.692022+00:00", "modification_date": "2026-03-11T17:14:01.121928+00:00", "name": "tf-sg-pedantic-satoshi", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "603" + - "604" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:35 GMT + - Wed, 11 Mar 2026 17:14:01 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 6a1faa5e-0d65-4397-929b-be4e81444ed6 + - 0a5ac528-a8f1-4e31-9bba-66cde3312b61 status: 200 OK code: 200 - duration: 96.619627ms - - id: 6 + duration: 67.988324ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -219,30 +254,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8acfe28e-6d73-4749-acbd-7c162ccd35ca", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8eed20d4-91f1-4af5-9905-672281821697", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "c90b3da3-0d3f-4331-b5c7-e0f7a56f8e99", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f17131a3-98de-4b6f-aee3-55d9009ac34b", "protocol": "ANY", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "99bddc1f-8930-4b51-a6ea-2f13e8209314", "protocol": "ANY", "direction": "inbound", "ip_range": "2.2.2.2", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0a4a4678-55c7-4958-b82d-0354bd6a7c2c", "protocol": "ANY", "direction": "inbound", "ip_range": "3.3.3.3", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:35 GMT + - Wed, 11 Mar 2026 17:14:02 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - f8c1d590-5463-4137-b542-b7fbca3d3589 + - c1f03886-d6fd-4248-a760-00892c1759db status: 200 OK code: 200 - duration: 101.958342ms - - id: 7 + duration: 89.492487ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -251,8 +286,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225 method: DELETE response: proto: HTTP/2.0 @@ -264,15 +299,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:35 GMT + - Wed, 11 Mar 2026 17:14:02 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 9f639264-7b5d-40c1-8d4d-3106d61ea596 + - 8a1a79b9-f18c-4993-b22d-f4741d009934 status: 204 No Content code: 204 - duration: 146.016034ms - - id: 8 + duration: 132.016744ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -281,26 +316,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/bb1a35c9-d433-4978-aeec-1a765bcc0225 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "3de9e9ab-4f91-4d4e-bc92-0e13bfdb767f"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "bb1a35c9-d433-4978-aeec-1a765bcc0225"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:35 GMT + - Wed, 11 Mar 2026 17:14:02 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - eea3487e-42ca-4679-85c5-a692b12ad531 + - e82d86e1-6f7a-4728-85bf-e8fa078b094d status: 404 Not Found code: 404 - duration: 31.27748ms + duration: 42.789636ms diff --git a/internal/services/instance/testdata/security-group-basic.cassette.yaml b/internal/services/instance/testdata/security-group-basic.cassette.yaml index ece748337d..d6e5b26975 100644 --- a/internal/services/instance/testdata/security-group-basic.cassette.yaml +++ b/internal/services/instance/testdata/security-group-basic.cassette.yaml @@ -8,12 +8,12 @@ interactions: proto_minor: 1 content_length: 181 host: api.scaleway.com - body: '{"name":"sg-name","project":"105bdce1-64c0-48ab-899d-868455867ecf","stateful":true,"inbound_default_policy":"drop","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"sg-name","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","stateful":true,"inbound_default_policy":"drop","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: @@ -21,23 +21,23 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 571 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:39.908766+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:07.533933+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "571" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:39 GMT + - Wed, 11 Mar 2026 17:10:07 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 1691fb14-4a75-4e08-90c2-7a80fb14197f + - c37ff76b-8657-43b8-b509-f69e26523e7b status: 201 Created code: 201 - duration: 182.192554ms + duration: 322.349336ms - id: 1 request: proto: HTTP/1.1 @@ -50,29 +50,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 571 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:39.908766+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:07.533933+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "571" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fe4c3720-0833-47a3-9546-75a798081699 + - 97e1ce9e-3e50-4eca-93d8-6c88822b8769 status: 200 OK code: 200 - duration: 125.160405ms + duration: 149.995002ms - id: 2 request: proto: HTTP/1.1 @@ -85,29 +85,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2046 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "cf7feeb8-2db7-4e79-984c-05084ecfd268", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a9585ff1-9617-4552-b976-c0777f1390a4", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - b47459b5-2e80-410b-a1c5-2a774ff26d29 + - 0a50fda2-dba3-48d0-8770-2e2ab093aa76 status: 200 OK code: 200 - duration: 241.787993ms + duration: 513.870628ms - id: 3 request: proto: HTTP/1.1 @@ -115,31 +115,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 569 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:40.082837+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' + content_length: 2046 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "569" + - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 2f259bf3-e1dc-4c1e-8c25-3d00040344f9 + - 0c0209d3-d407-4de9-8b4f-ee0d8608c5db status: 200 OK code: 200 - duration: 122.169515ms + duration: 86.116372ms - id: 4 request: proto: HTTP/1.1 @@ -147,34 +150,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 2046 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "cf7feeb8-2db7-4e79-984c-05084ecfd268", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a9585ff1-9617-4552-b976-c0777f1390a4", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 571 + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:08.236238+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "2046" + - "571" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - f4be4dd0-7208-4ffc-a30f-131fa413cb85 + - 96971ef0-7147-4438-8b44-314309995b49 status: 200 OK code: 200 - duration: 101.804533ms + duration: 81.712554ms - id: 5 request: proto: HTTP/1.1 @@ -182,31 +182,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 571 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:40.310219+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 2046 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "571" + - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 38b83623-1e43-45a3-9805-f93b913fd5d9 + - c4fd4a87-ca97-49b2-a4a8-7716ea368823 status: 200 OK code: 200 - duration: 93.93901ms + duration: 86.655205ms - id: 6 request: proto: HTTP/1.1 @@ -219,30 +222,62 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2046 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "cf7feeb8-2db7-4e79-984c-05084ecfd268", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a9585ff1-9617-4552-b976-c0777f1390a4", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 252c8b9c-1e09-40b3-94e0-992a1bbf91b7 + - 5c59627b-eb0c-4aa9-94ed-a84e216e22bf status: 200 OK code: 200 - duration: 92.409821ms + duration: 74.440965ms - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 571 + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:08.236238+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "571" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:10:08 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge03) + X-Request-Id: + - 7d2f1c75-442e-4d47-a5b1-04ae6c1372c1 + status: 200 OK + code: 200 + duration: 84.507728ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -254,30 +289,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2046 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "cf7feeb8-2db7-4e79-984c-05084ecfd268", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a9585ff1-9617-4552-b976-c0777f1390a4", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:40 GMT + - Wed, 11 Mar 2026 17:10:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 4ae4a812-5878-4bc5-ae2e-08cf8d3366e9 + - 69046141-fc2e-4e11-be17-b9c2aa3ff905 status: 200 OK code: 200 - duration: 106.324031ms - - id: 8 + duration: 86.62597ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -286,30 +321,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 571 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:40.310219+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:08.236238+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "571" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:41 GMT + - Wed, 11 Mar 2026 17:10:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 42b207e2-6b88-4347-ad38-618134c53aa5 + - 638f25a8-8094-4101-8d85-79c13b1df7ee status: 200 OK code: 200 - duration: 101.846734ms - - id: 9 + duration: 68.922201ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -321,30 +356,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2046 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "cf7feeb8-2db7-4e79-984c-05084ecfd268", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a9585ff1-9617-4552-b976-c0777f1390a4", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:41 GMT + - Wed, 11 Mar 2026 17:10:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 49cd99dd-531e-4193-b9da-7cfcc3f694ff + - dbf9b009-1f5c-4252-b95e-00696ee70ae9 status: 200 OK code: 200 - duration: 106.12018ms - - id: 10 + duration: 70.511419ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -353,30 +388,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 571 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:40.310219+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:08.236238+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "drop", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "571" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:41 GMT + - Wed, 11 Mar 2026 17:10:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 4cb56585-d318-4bbd-a030-231a52704b2f + - 4112c5bd-9813-4207-b30b-6271826f1542 status: 200 OK code: 200 - duration: 100.5016ms - - id: 11 + duration: 74.279812ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -388,30 +423,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2046 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "cf7feeb8-2db7-4e79-984c-05084ecfd268", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a9585ff1-9617-4552-b976-c0777f1390a4", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "41127172-e3bf-4d0b-8f43-b3222f032935", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "44957fa7-c873-4a18-81d2-f5e1f2a78c29", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2046" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:41 GMT + - Wed, 11 Mar 2026 17:10:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 4eb08bf0-02ae-4f62-834e-32c4fba4dd94 + - 6a2f70bf-93ba-41ed-aed9-e87c168c2c79 status: 200 OK code: 200 - duration: 91.143857ms - - id: 12 + duration: 77.224577ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -423,30 +458,30 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 587 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:41.833273+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:09.832943+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 5701fbb7-bb5a-4ea3-bd9c-ccb80c01649d + - 8d0d8102-4fc5-4b43-b229-97b799641177 status: 200 OK code: 200 - duration: 240.413195ms - - id: 13 + duration: 204.330051ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -458,30 +493,65 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:10 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - f37c794f-01db-4b71-bf12-92698d1295a4 + - 4d46dcc2-ddac-4a16-8bac-77a3f34ce4ab status: 200 OK code: 200 - duration: 294.726747ms - - id: 14 + duration: 286.514662ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 2298 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "2298" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:10:10 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge03) + X-Request-Id: + - ed577460-76c8-48c0-a92b-64e418146ab5 + status: 200 OK + code: 200 + duration: 77.979387ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -490,30 +560,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 589 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:42.075190+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:10.270105+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "589" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:10 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 62a35f90-f91d-4d3b-a6a6-0d1102a929c6 + - 43de0ec1-6556-4421-8889-43b9c904c340 status: 200 OK code: 200 - duration: 96.978111ms - - id: 15 + duration: 69.298638ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -525,62 +595,65 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:10 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d1bbf766-1812-46e0-856c-c16002397d8f + - f7ecda12-5e7e-494b-b4ca-269d3188fe3e status: 200 OK code: 200 - duration: 129.9446ms - - id: 16 + duration: 62.69225ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 589 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:42.075190+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 2298 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "589" + - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:10 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 7dc93222-5565-48aa-bff6-6a2a878552ae + - 3802bda6-4b17-4210-b767-247736ec7af9 status: 200 OK code: 200 - duration: 92.852903ms - - id: 17 + duration: 54.019707ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -592,65 +665,62 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:10 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - ae98a28a-b871-4131-b197-50cedeadd758 + - b345de87-638b-47ae-a8e1-551d3f116f4a status: 200 OK code: 200 - duration: 92.113506ms - - id: 18 + duration: 71.262179ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 589 + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:10.270105+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "2298" + - "589" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:42 GMT + - Wed, 11 Mar 2026 17:10:10 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 34b0fb72-ce9e-435b-90a8-48cbbee091d9 + - 47ea93e3-cbea-45ac-b9e2-f949e2d10270 status: 200 OK code: 200 - duration: 93.743764ms - - id: 19 + duration: 70.034612ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -662,30 +732,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:43 GMT + - Wed, 11 Mar 2026 17:10:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 53665eb0-c9b4-4a52-8534-f8fa4175287e + - e6fbe413-0090-42df-b1cb-5ccff80c3ab6 status: 200 OK code: 200 - duration: 105.625171ms - - id: 20 + duration: 96.395215ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -694,30 +764,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 589 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:42.075190+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:10.270105+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "589" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:43 GMT + - Wed, 11 Mar 2026 17:10:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 7fddac99-0e7d-45a3-b730-95f07389712d + - 13a8cd13-d11a-40cb-946a-0e50124260de status: 200 OK code: 200 - duration: 91.982921ms - - id: 21 + duration: 54.082764ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -729,30 +799,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:43 GMT + - Wed, 11 Mar 2026 17:10:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fff4007b-72b9-4390-bfd8-600fba155ed7 + - 8717e20f-de39-4dd3-9c6d-8758ac276116 status: 200 OK code: 200 - duration: 97.131649ms - - id: 22 + duration: 63.935227ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -761,30 +831,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 589 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:42.075190+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:10.270105+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "589" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:43 GMT + - Wed, 11 Mar 2026 17:10:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - bbadc235-4615-4768-a631-fd6270bf7a62 + - c023b409-41fd-49b7-9a96-555d7032a3a6 status: 200 OK code: 200 - duration: 90.10094ms - - id: 23 + duration: 93.763148ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -796,30 +866,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2298 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "737a2049-80d4-4bbb-bfba-e0c7c3fabc52", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "b66a71da-fccd-4bb3-9858-4a11bd93e07b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "11f0e5e5-52a6-46d4-bb09-fb91b8299e9a", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "26d38490-6ddc-4282-85b6-a2bba16500de", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "94b7ac4f-eb73-4b9a-864f-7453a1288013", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 2, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0c9525aa-9300-460b-8521-664ef997633d", "protocol": "TCP", "direction": "inbound", "ip_range": "1.1.1.1", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "2298" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:43 GMT + - Wed, 11 Mar 2026 17:10:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - dea82c8c-499c-4ab2-bbc0-7367c5c8a0e8 + - bf70a5ed-f5f9-4be8-9336-fb3d7f63fb60 status: 200 OK code: 200 - duration: 91.09157ms - - id: 24 + duration: 72.666679ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -831,30 +901,30 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 571 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:43.900689+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:11.877019+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "571" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Wed, 11 Mar 2026 17:10:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - b9c9de8e-6ce6-40f4-be5f-af2e1eefff30 + - 6dbfede6-b158-4752-abc6-5b22e8b66690 status: 200 OK code: 200 - duration: 456.944895ms - - id: 25 + duration: 215.816544ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -866,8 +936,8 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules method: PUT response: proto: HTTP/2.0 @@ -881,15 +951,50 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Wed, 11 Mar 2026 17:10:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - b92d1497-bb96-47de-98f0-5f413f1ea3c1 + - 1e46a99b-4e66-4664-962a-6e34a9584416 status: 200 OK code: 200 - duration: 323.125178ms - - id: 26 + duration: 219.950284ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1536 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "1536" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:10:12 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge03) + X-Request-Id: + - 8799c838-681e-41e1-b774-23da6a2f42a8 + status: 200 OK + code: 200 + duration: 61.677712ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -898,30 +1003,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 573 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:44.359260+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:12.266601+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "573" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Wed, 11 Mar 2026 17:10:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - f50ddad9-6b97-4e23-9e09-68ea01da12b9 + - 67bd6ecf-d222-41ca-84a0-0f36fb1aab1d status: 200 OK code: 200 - duration: 102.519556ms - - id: 27 + duration: 64.205254ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -933,8 +1038,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -948,15 +1053,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Wed, 11 Mar 2026 17:10:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 7b923397-6329-4a0f-b0e3-d95fece7d8ad + - a14df621-72f6-4411-b99f-289d6d2ab723 status: 200 OK code: 200 - duration: 97.305245ms - - id: 28 + duration: 77.137473ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -965,30 +1070,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 573 - body: '{"security_group": {"id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8", "creation_date": "2025-10-30T15:42:39.908766+00:00", "modification_date": "2025-10-30T15:42:44.359260+00:00", "name": "sg-name", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7", "creation_date": "2026-03-11T17:10:07.533933+00:00", "modification_date": "2026-03-11T17:10:12.266601+00:00", "name": "sg-name", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "573" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Wed, 11 Mar 2026 17:10:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - af399579-b56e-4bdc-8922-d4aee10e201c + - 210938ab-056c-4e42-a17b-db985b06179f status: 200 OK code: 200 - duration: 114.077627ms - - id: 29 + duration: 62.857791ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1000,8 +1105,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -1015,15 +1120,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Wed, 11 Mar 2026 17:10:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 4a4bac7e-ecd3-4815-b292-b7924b871109 + - 8e42138a-3c9b-4749-b544-1317bb4cc0e2 status: 200 OK code: 200 - duration: 99.194499ms - - id: 30 + duration: 67.353412ms + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1032,8 +1137,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: DELETE response: proto: HTTP/2.0 @@ -1045,15 +1150,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Wed, 11 Mar 2026 17:10:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 5b9a2678-64b1-43a5-aab0-1e8d4ee3a848 + - 75eb8f72-490a-4b35-a00e-4abbb0df778a status: 204 No Content code: 204 - duration: 156.725576ms - - id: 31 + duration: 185.139186ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1062,26 +1167,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/cfea612c-4837-4dce-ba3b-073f5bc4a2e8 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/d098777b-c8c8-40a0-9d89-d26ec0547cc7 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "cfea612c-4837-4dce-ba3b-073f5bc4a2e8"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "d098777b-c8c8-40a0-9d89-d26ec0547cc7"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Wed, 11 Mar 2026 17:10:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fa07ad79-6173-43d2-ac63-a7d27faa48e8 + - 14ad6d02-5bd5-4d64-8764-4a7120f0a0b9 status: 404 Not Found code: 404 - duration: 35.48348ms + duration: 53.289173ms diff --git a/internal/services/instance/testdata/security-group-enable-default-security.cassette.yaml b/internal/services/instance/testdata/security-group-enable-default-security.cassette.yaml index b0d07d8e6b..667b97f2a2 100644 --- a/internal/services/instance/testdata/security-group-enable-default-security.cassette.yaml +++ b/internal/services/instance/testdata/security-group-enable-default-security.cassette.yaml @@ -6,9 +6,9 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 222 + content_length: 227 host: api.scaleway.com - body: '{"name":"tf-sg-eager-haslett","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":false}' + body: '{"name":"tf-sg-flamboyant-greider","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":false}' headers: Content-Type: - application/json @@ -20,24 +20,24 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 602 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:13.838281+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 607 + body: '{"security_group": {"id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5", "creation_date": "2026-03-11T17:16:53.544080+00:00", "modification_date": "2026-03-11T17:16:53.544080+00:00", "name": "tf-sg-flamboyant-greider", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "602" + - "607" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:13 GMT + - Wed, 11 Mar 2026 17:16:53 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 2d6cb12b-3dd6-4b27-af3d-9ed1ef96fb0e + - ce0f7598-a2f9-4866-b103-2d55f0628796 status: 201 Created code: 201 - duration: 205.008659ms + duration: 272.391046ms - id: 1 request: proto: HTTP/1.1 @@ -51,28 +51,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 602 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:13.838281+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 607 + body: '{"security_group": {"id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5", "creation_date": "2026-03-11T17:16:53.544080+00:00", "modification_date": "2026-03-11T17:16:53.544080+00:00", "name": "tf-sg-flamboyant-greider", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "602" + - "607" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:13 GMT + - Wed, 11 Mar 2026 17:16:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 61373156-116f-4f2b-b500-77a3fc95e586 + - 05afea92-3b2d-4df9-b7ee-4443e2f76ca8 status: 200 OK code: 200 - duration: 84.509311ms + duration: 128.077528ms - id: 2 request: proto: HTTP/1.1 @@ -86,7 +86,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules method: PUT response: proto: HTTP/2.0 @@ -100,47 +100,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:14 GMT + - Wed, 11 Mar 2026 17:16:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - b17ed500-e6ce-4a11-bd48-e8d77ef2f397 + - 7f9f5d42-2cd6-4fb3-9f6e-982dada5434b status: 200 OK code: 200 - duration: 79.713907ms + duration: 135.365738ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 602 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:13.838281+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' - headers: - Content-Length: - - "602" - Content-Type: - - application/json - Date: - - Thu, 26 Feb 2026 13:41:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - X-Request-Id: - - 1cfaa663-da7a-430e-936e-3fd288b0b75a - status: 200 OK - code: 200 - duration: 55.994428ms - - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -153,7 +121,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -167,15 +135,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:14 GMT + - Wed, 11 Mar 2026 17:16:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fc65779e-81ef-46ec-a4bd-b72298c7d128 + - c75568d1-8b5f-4210-becf-e5be2a10df73 status: 200 OK code: 200 - duration: 47.323058ms - - id: 5 + duration: 65.236491ms + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -185,29 +153,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 602 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:13.838281+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 607 + body: '{"security_group": {"id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5", "creation_date": "2026-03-11T17:16:53.544080+00:00", "modification_date": "2026-03-11T17:16:53.544080+00:00", "name": "tf-sg-flamboyant-greider", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "602" + - "607" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:14 GMT + - Wed, 11 Mar 2026 17:16:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - a3dc04a5-9d05-45c7-bfcd-762bd0ec8864 + - 2062be70-d271-4963-99bd-a91a936c7935 status: 200 OK code: 200 - duration: 41.8606ms - - id: 6 + duration: 63.855775ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -220,7 +188,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -234,15 +202,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:14 GMT + - Wed, 11 Mar 2026 17:16:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d07ebc0b-13bc-409e-b5e8-b86906c56f94 + - 1c3f6d33-30bb-4c89-a07d-8bb6107ba6d8 status: 200 OK code: 200 - duration: 68.236532ms - - id: 7 + duration: 87.69132ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -252,29 +220,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 602 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:13.838281+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 607 + body: '{"security_group": {"id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5", "creation_date": "2026-03-11T17:16:53.544080+00:00", "modification_date": "2026-03-11T17:16:53.544080+00:00", "name": "tf-sg-flamboyant-greider", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": false, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "602" + - "607" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:14 GMT + - Wed, 11 Mar 2026 17:16:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 38fca171-817c-4978-8d18-8d4db263ed6c + - 1db6e23a-9ef5-4ea4-b7e3-772462cf480e status: 200 OK code: 200 - duration: 44.963563ms - - id: 8 + duration: 62.88008ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -287,7 +255,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -301,50 +269,50 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:14 GMT + - Wed, 11 Mar 2026 17:16:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - bbb71d5a-504e-4906-a9fe-b0c3d2d7970a + - c4bab725-2219-4798-8fc4-436645b2557d status: 200 OK code: 200 - duration: 42.977329ms - - id: 9 + duration: 58.413345ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 172 + content_length: 177 host: api.scaleway.com - body: '{"name":"tf-sg-eager-haslett","enable_default_security":true,"inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' + body: '{"name":"tf-sg-flamboyant-greider","enable_default_security":true,"inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 599 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:14.896214+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 604 + body: '{"security_group": {"id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5", "creation_date": "2026-03-11T17:16:53.544080+00:00", "modification_date": "2026-03-11T17:16:54.729026+00:00", "name": "tf-sg-flamboyant-greider", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "599" + - "604" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d094de97-f34c-4eac-88dd-d340ad4634eb + - f3e45164-3f96-4365-975a-aca0c7a326ab status: 200 OK code: 200 - duration: 175.605305ms - - id: 10 + duration: 198.157363ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -357,7 +325,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules method: PUT response: proto: HTTP/2.0 @@ -371,47 +339,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - X-Request-Id: - - d7df0fc7-5692-4016-9a1f-a54bc43c34cb - status: 200 OK - code: 200 - duration: 89.402019ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:15.037671+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' - headers: - Content-Length: - - "601" - Content-Type: - - application/json - Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fc2a77bb-b0ca-424c-a4bd-2a1e5f176300 + - e83c9109-5aa9-4d82-8e95-4b110c78593f status: 200 OK code: 200 - duration: 38.442584ms - - id: 12 + duration: 93.875866ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -424,7 +360,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -438,15 +374,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 98b96992-d615-4726-bbf0-f628efd23381 + - 97573f43-4073-4bac-a470-b47c905ba6d5 status: 200 OK code: 200 - duration: 51.992886ms - - id: 13 + duration: 68.361485ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -456,29 +392,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "f61af547-5619-459b-9c4d-3d5dbaced83c", "creation_date": "2026-02-26T13:41:13.838281+00:00", "modification_date": "2026-02-26T13:41:15.037671+00:00", "name": "tf-sg-eager-haslett", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 606 + body: '{"security_group": {"id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5", "creation_date": "2026-03-11T17:16:53.544080+00:00", "modification_date": "2026-03-11T17:16:54.885013+00:00", "name": "tf-sg-flamboyant-greider", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "601" + - "606" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 6ccdbfbf-b1a5-4bd0-a2c9-0bb742dee90e + - edd77b56-0adf-4fd7-aa1a-f74b867eafbd status: 200 OK code: 200 - duration: 51.389603ms - - id: 14 + duration: 72.988883ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -491,7 +427,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -505,15 +441,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 80c1f429-ff36-4603-b982-f58cf1c9678a + - 6467bc4c-a400-4e19-b920-d082dce4cbb2 status: 200 OK code: 200 - duration: 42.777152ms - - id: 15 + duration: 61.343212ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -523,7 +459,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: DELETE response: proto: HTTP/2.0 @@ -535,15 +471,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 6cfce9a7-e038-4262-ac52-b45738fa781a + - b993df7c-5f4c-4f7d-9a7c-2206f4585ff1 status: 204 No Content code: 204 - duration: 158.448884ms - - id: 16 + duration: 125.44011ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -553,25 +489,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/f61af547-5619-459b-9c4d-3d5dbaced83c + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/e1efae0d-7568-4ef2-ab93-da4cf07160e5 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "f61af547-5619-459b-9c4d-3d5dbaced83c"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "e1efae0d-7568-4ef2-ab93-da4cf07160e5"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:15 GMT + - Wed, 11 Mar 2026 17:16:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 168323e5-90a0-4774-a8da-8c0190839391 + - 2114f179-76c2-431e-8311-f9cc85874aa9 status: 404 Not Found code: 404 - duration: 28.042946ms + duration: 57.412613ms diff --git a/internal/services/instance/testdata/security-group-icmp.cassette.yaml b/internal/services/instance/testdata/security-group-icmp.cassette.yaml index 1c9c6a9eae..0a73b884de 100644 --- a/internal/services/instance/testdata/security-group-icmp.cassette.yaml +++ b/internal/services/instance/testdata/security-group-icmp.cassette.yaml @@ -6,38 +6,38 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 221 + content_length: 226 host: api.scaleway.com - body: '{"name":"tf-sg-funny-burnell","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-xenodochial-galois","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:35.814049+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:03.238738+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "601" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:35 GMT + - Wed, 11 Mar 2026 17:17:03 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 70501099-172c-4229-a877-17ca28b13c83 + - 64f09edc-cbdb-4cc5-8a2b-005248f01242 status: 201 Created code: 201 - duration: 192.905939ms + duration: 315.473482ms - id: 1 request: proto: HTTP/1.1 @@ -50,29 +50,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:35.814049+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:03.238738+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "601" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:36 GMT + - Wed, 11 Mar 2026 17:17:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 92dc60ed-ce6c-43ae-b70c-dd1b33c4269b + - bf9875f0-c653-4183-b28e-509e5328a984 status: 200 OK code: 200 - duration: 183.441456ms + duration: 120.367854ms - id: 2 request: proto: HTTP/1.1 @@ -85,29 +85,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f9f95342-6ce0-4e48-b63d-41a4504acc3e", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "994624a7-4313-4cfc-acd2-5e4057666543", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1792" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:36 GMT + - Wed, 11 Mar 2026 17:17:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 724744ae-4cb8-45bd-9eec-0b22a09a0cb5 + - 82d6f100-dbf5-4ad0-87fe-f53806ea4bc8 status: 200 OK code: 200 - duration: 482.800829ms + duration: 2.294833431s - id: 3 request: proto: HTTP/1.1 @@ -115,31 +115,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 599 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:36.067157+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1792 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "994624a7-4313-4cfc-acd2-5e4057666543", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "599" + - "1792" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:36 GMT + - Wed, 11 Mar 2026 17:17:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 47764896-a775-45af-bf62-fe8d2f9e13c7 + - 9ace65a4-7897-4ec2-b15f-93405696de21 status: 200 OK code: 200 - duration: 102.78427ms + duration: 70.729347ms - id: 4 request: proto: HTTP/1.1 @@ -152,29 +155,29 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f9f95342-6ce0-4e48-b63d-41a4504acc3e", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "994624a7-4313-4cfc-acd2-5e4057666543", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1792" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:36 GMT + - Wed, 11 Mar 2026 17:17:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 7f6d543e-5edd-4463-bd7e-9553cc639bc7 + - 0faafdea-7425-458e-8798-bf491ee83a4e status: 200 OK code: 200 - duration: 100.187089ms + duration: 63.096548ms - id: 5 request: proto: HTTP/1.1 @@ -182,34 +185,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f9f95342-6ce0-4e48-b63d-41a4504acc3e", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:05.704206+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1792" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:36 GMT + - Wed, 11 Mar 2026 17:17:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 6b5d2c98-c06d-4198-a742-86005e696fcd + - 4709f4ed-6bc8-4b9d-81ce-460cc82d28ac status: 200 OK code: 200 - duration: 104.712327ms + duration: 64.751258ms - id: 6 request: proto: HTTP/1.1 @@ -217,31 +217,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:36.532092+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1792 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "994624a7-4313-4cfc-acd2-5e4057666543", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "601" + - "1792" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:37 GMT + - Wed, 11 Mar 2026 17:17:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 1a1089d1-e1a8-4e66-a3ac-190411b590f8 + - 35e0295b-d963-4ce5-8908-aa23a25b457a status: 200 OK code: 200 - duration: 90.631425ms + duration: 63.870633ms - id: 7 request: proto: HTTP/1.1 @@ -249,34 +252,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f9f95342-6ce0-4e48-b63d-41a4504acc3e", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:05.704206+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1792" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:37 GMT + - Wed, 11 Mar 2026 17:17:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - f3e44631-3536-4d42-bcf0-fe117df14349 + - aa2db6c8-1d7a-4e37-914b-bafa206634fd status: 200 OK code: 200 - duration: 100.991438ms + duration: 70.818132ms - id: 8 request: proto: HTTP/1.1 @@ -284,136 +284,139 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:36.532092+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1792 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "994624a7-4313-4cfc-acd2-5e4057666543", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "601" + - "1792" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:37 GMT + - Wed, 11 Mar 2026 17:17:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 786ed104-4a28-4f90-835a-2a080e5385e7 + - 57e387d8-3e5b-4912-9966-a7f396f86eeb status: 200 OK code: 200 - duration: 86.542355ms + duration: 76.549808ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 146 host: api.scaleway.com - form: - page: - - "1" + body: '{"name":"tf-sg-xenodochial-galois","inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' headers: + Content-Type: + - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "f9f95342-6ce0-4e48-b63d-41a4504acc3e", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:05.704206+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1792" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:37 GMT + - Wed, 11 Mar 2026 17:17:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 629a261b-694c-43ba-915e-5d8ccfcd6228 + - 819932bc-f7fb-42d6-90e8-9fb517ef3ad9 status: 200 OK code: 200 - duration: 125.117784ms + duration: 105.76722ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 141 + content_length: 192 host: api.scaleway.com - body: '{"name":"tf-sg-funny-burnell","inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' + body: '{"rules":[{"id":null,"action":"drop","protocol":"ICMP","direction":"inbound","ip_range":"8.8.8.8/32","dest_port_from":null,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb - method: PATCH + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:36.532092+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1791 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "475ac15b-5ef5-4d13-9ce1-0b3b1b4dbc6d", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - - "601" + - "1791" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:37 GMT + - Wed, 11 Mar 2026 17:17:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 35405d67-1fa5-4bad-995d-86c01bab82ec + - a5b85a57-a7d1-496d-9416-674190d14b51 status: 200 OK code: 200 - duration: 195.029473ms + duration: 249.215431ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 192 + content_length: 0 host: api.scaleway.com - body: '{"rules":[{"id":null,"action":"drop","protocol":"ICMP","direction":"inbound","ip_range":"8.8.8.8/32","dest_port_from":null,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' + form: + page: + - "1" headers: - Content-Type: - - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules - method: PUT + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1791 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7e460fbc-a0e9-458b-9986-09bfd8c3a2fb", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "475ac15b-5ef5-4d13-9ce1-0b3b1b4dbc6d", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "1791" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:38 GMT + - Wed, 11 Mar 2026 17:17:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d7a7163a-4e02-4b95-8ee1-f8a6aad9f123 + - df4c32f0-9f68-479b-9f9b-ee3947b1c39e status: 200 OK code: 200 - duration: 231.388595ms + duration: 60.084907ms - id: 12 request: proto: HTTP/1.1 @@ -421,31 +424,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 599 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:37.973292+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1791 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "475ac15b-5ef5-4d13-9ce1-0b3b1b4dbc6d", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - - "599" + - "1791" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:38 GMT + - Wed, 11 Mar 2026 17:17:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - b949e18f-b918-48b5-8880-130c7567cb34 + - 95dd7ab1-2e82-45bc-901a-384f61256256 status: 200 OK code: 200 - duration: 104.123874ms + duration: 75.802552ms - id: 13 request: proto: HTTP/1.1 @@ -453,34 +459,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1791 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7e460fbc-a0e9-458b-9986-09bfd8c3a2fb", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:06.983439+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1791" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:38 GMT + - Wed, 11 Mar 2026 17:17:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fd0af788-d7f1-4b3a-bb3d-11f5adae16ee + - 47ad3dcf-26ac-4bf3-83c3-1dd8ae543f2b status: 200 OK code: 200 - duration: 97.240863ms + duration: 64.302475ms - id: 14 request: proto: HTTP/1.1 @@ -493,29 +496,29 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1791 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7e460fbc-a0e9-458b-9986-09bfd8c3a2fb", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "475ac15b-5ef5-4d13-9ce1-0b3b1b4dbc6d", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "1791" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:38 GMT + - Wed, 11 Mar 2026 17:17:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 3bf51732-ff33-4419-9596-8de5a834f4e2 + - 06f07bb3-7f1d-4845-8521-55f16f64b727 status: 200 OK code: 200 - duration: 109.140865ms + duration: 61.902293ms - id: 15 request: proto: HTTP/1.1 @@ -525,29 +528,29 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 601 - body: '{"security_group": {"id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb", "creation_date": "2025-10-30T15:42:35.814049+00:00", "modification_date": "2025-10-30T15:42:38.198127+00:00", "name": "tf-sg-funny-burnell", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 606 + body: '{"security_group": {"id": "c2391668-114a-4284-a457-f45e0259ef94", "creation_date": "2026-03-11T17:17:03.238738+00:00", "modification_date": "2026-03-11T17:17:06.983439+00:00", "name": "tf-sg-xenodochial-galois", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "601" + - "606" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:38 GMT + - Wed, 11 Mar 2026 17:17:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 113b6604-12d1-4354-b4ee-3b3a773bb070 + - 7d6d660d-5cbb-49bb-ad8a-a2f03caf8360 status: 200 OK code: 200 - duration: 91.728984ms + duration: 62.630592ms - id: 16 request: proto: HTTP/1.1 @@ -560,29 +563,29 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1791 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7e460fbc-a0e9-458b-9986-09bfd8c3a2fb", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "475ac15b-5ef5-4d13-9ce1-0b3b1b4dbc6d", "protocol": "ICMP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "1791" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:39 GMT + - Wed, 11 Mar 2026 17:17:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 6ee80eae-73e0-418a-9ce1-431982fd3b0a + - 80e52bbe-528f-4b18-92f0-fa94d7148c4e status: 200 OK code: 200 - duration: 251.174109ms + duration: 69.910687ms - id: 17 request: proto: HTTP/1.1 @@ -592,8 +595,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: DELETE response: proto: HTTP/2.0 @@ -605,14 +608,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:39 GMT + - Wed, 11 Mar 2026 17:17:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - aeec9430-5a08-474c-a05d-f4d0b1f10a59 + - 38913224-1a02-48c8-8150-f1d509289a52 status: 204 No Content code: 204 - duration: 142.163098ms + duration: 124.777365ms - id: 18 request: proto: HTTP/1.1 @@ -622,26 +625,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/90eb46d7-71ab-496f-b537-e7d9d9d42cdb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/c2391668-114a-4284-a457-f45e0259ef94 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "90eb46d7-71ab-496f-b537-e7d9d9d42cdb"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "c2391668-114a-4284-a457-f45e0259ef94"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:39 GMT + - Wed, 11 Mar 2026 17:17:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d5ab5bc7-e425-4bc4-b8b7-46b0a7bcde74 + - 65c0c807-5341-4e1b-8cec-009478718643 status: 404 Not Found code: 404 - duration: 25.399874ms + duration: 46.318268ms diff --git a/internal/services/instance/testdata/security-group-remove-port.cassette.yaml b/internal/services/instance/testdata/security-group-remove-port.cassette.yaml index 0c236b4207..d189580d5e 100644 --- a/internal/services/instance/testdata/security-group-remove-port.cassette.yaml +++ b/internal/services/instance/testdata/security-group-remove-port.cassette.yaml @@ -6,9 +6,9 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 220 + content_length: 223 host: api.scaleway.com - body: '{"name":"tf-sg-bold-hypatia","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-jolly-goldstine","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json @@ -20,24 +20,24 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 600 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:19.659991+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 603 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:55.568043+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "600" + - "603" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 16:44:55 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 35215362-2331-462c-b79a-b506606280f2 + - 8196fcd2-3d64-4ae8-a69e-92541093c41d status: 201 Created code: 201 - duration: 186.709806ms + duration: 284.453001ms - id: 1 request: proto: HTTP/1.1 @@ -51,28 +51,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 600 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:19.659991+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 603 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:55.568043+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "600" + - "603" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 16:44:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 98ac8150-ceb0-4964-b8c5-7ab5bfb892dc + - 3a45dd59-e3ba-48d7-833b-df0e57a1a7f8 status: 200 OK code: 200 - duration: 168.616966ms + duration: 101.974824ms - id: 2 request: proto: HTTP/1.1 @@ -86,28 +86,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8178c42b-9e33-453c-8404-9520d1546907", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7dc5f787-29aa-487a-9ea7-cf5933033a68", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1792" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 16258eff-4a3b-4dbd-aac1-c86fdde8d0f9 + - 0bc02536-1663-4ab9-917b-7ddfb76a476b status: 200 OK code: 200 - duration: 286.909691ms + duration: 206.613168ms - id: 3 request: proto: HTTP/1.1 @@ -115,31 +115,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:19.902016+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1792 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7dc5f787-29aa-487a-9ea7-cf5933033a68", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1792" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 14a9d167-14e1-4700-aaf9-8076287a0da1 + - aeadb531-484b-487d-a5a8-52e2bad56f6d status: 200 OK code: 200 - duration: 41.590571ms + duration: 64.730699ms - id: 4 request: proto: HTTP/1.1 @@ -153,28 +156,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8178c42b-9e33-453c-8404-9520d1546907", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7dc5f787-29aa-487a-9ea7-cf5933033a68", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1792" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 1f057e9b-64e0-4b4d-8cef-cad3de48b5cf + - ba5ed8ea-bd03-4acb-8719-3e81f66759f3 status: 200 OK code: 200 - duration: 44.341313ms + duration: 69.95246ms - id: 5 request: proto: HTTP/1.1 @@ -182,34 +185,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8178c42b-9e33-453c-8404-9520d1546907", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 603 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:55.912834+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1792" + - "603" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 10a2c0c3-5bf1-4272-a11e-9cc48833d010 + - 476c1deb-6df5-4b0a-b02d-bcae6b30ed8e status: 200 OK code: 200 - duration: 46.451629ms + duration: 59.942935ms - id: 6 request: proto: HTTP/1.1 @@ -217,31 +217,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 600 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:20.181356+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1792 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7dc5f787-29aa-487a-9ea7-cf5933033a68", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "600" + - "1792" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - a3850ba3-eeb5-496f-94f9-b069683f36f5 + - 8a6471fa-8d59-4c06-9b0a-bd20ceb02e79 status: 200 OK code: 200 - duration: 54.401173ms + duration: 76.585435ms - id: 7 request: proto: HTTP/1.1 @@ -249,34 +252,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8178c42b-9e33-453c-8404-9520d1546907", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 603 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:55.912834+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1792" + - "603" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - ceaf0404-d5e5-42c1-a645-823dda81f432 + - d1444352-6abc-4a79-ab16-84917a97f8a6 status: 200 OK code: 200 - duration: 48.404952ms + duration: 56.61704ms - id: 8 request: proto: HTTP/1.1 @@ -284,136 +284,139 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 600 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:20.181356+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1792 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "7dc5f787-29aa-487a-9ea7-cf5933033a68", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "600" + - "1792" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - adaab26f-c824-4e05-a012-a47d6cbfe8e5 + - 8c113eac-ab73-4870-b8c2-b89804be32f1 status: 200 OK code: 200 - duration: 49.594347ms + duration: 71.984871ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 127 host: api.scaleway.com - form: - page: - - "1" + body: '{"name":"tf-sg-jolly-goldstine","inbound_default_policy":"accept","tags":[],"outbound_default_policy":"accept","stateful":true}' headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 - method: GET + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1792 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "8178c42b-9e33-453c-8404-9520d1546907", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 585 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:56.873400+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "1792" + - "585" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 16:44:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 0de49568-1d86-4ad9-9a42-91f9eec008cb + - 11e052dd-67a9-41a0-a61a-f9986facefcb status: 200 OK code: 200 - duration: 45.312048ms + duration: 210.537989ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 124 + content_length: 192 host: api.scaleway.com - body: '{"name":"tf-sg-bold-hypatia","inbound_default_policy":"accept","tags":[],"outbound_default_policy":"accept","stateful":true}' + body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":null,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 - method: PATCH + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 582 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:21.009622+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' + content_length: 1794 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "0d19928b-68e0-42d9-b210-5a478321ba06", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "582" + - "1794" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 16c12448-2a2d-4fe1-b3cf-fcb1bb363f63 + - 98456d6e-5c76-477b-82c2-69f57a3205da status: 200 OK code: 200 - duration: 194.50542ms + duration: 227.571223ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 192 + content_length: 0 host: api.scaleway.com - body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":null,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' + form: + page: + - "1" headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules - method: PUT + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "a9f81a74-1c5b-4e7d-9f8a-b6777c94b86d", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "0d19928b-68e0-42d9-b210-5a478321ba06", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d64649dc-f486-43f8-a096-f9fa097759a0 + - fe476027-e92d-486f-9089-fb8ef570e0a3 status: 200 OK code: 200 - duration: 191.560784ms + duration: 85.799744ms - id: 12 request: proto: HTTP/1.1 @@ -421,31 +424,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 584 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:21.364438+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 1794 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "0d19928b-68e0-42d9-b210-5a478321ba06", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "584" + - "1794" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - d05d339a-e884-402b-bac1-40cba877a9b3 + - 4aff274d-1762-48f0-a894-7e6d62e51446 status: 200 OK code: 200 - duration: 41.745673ms + duration: 88.721277ms - id: 13 request: proto: HTTP/1.1 @@ -453,34 +459,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "a9f81a74-1c5b-4e7d-9f8a-b6777c94b86d", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 587 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:57.274129+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "1794" + - "587" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 02256878-50eb-4ae9-96d1-f526a3f0c037 + - dce33f4b-9f38-44ae-8187-b3a36b48cad7 status: 200 OK code: 200 - duration: 44.175742ms + duration: 83.97447ms - id: 14 request: proto: HTTP/1.1 @@ -494,28 +497,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "a9f81a74-1c5b-4e7d-9f8a-b6777c94b86d", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "0d19928b-68e0-42d9-b210-5a478321ba06", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - fd4e5dcd-2c1f-46da-979f-48dbced8c971 + - b74bc2d1-b097-43a1-92f0-71ba1bd15f29 status: 200 OK code: 200 - duration: 42.200769ms + duration: 67.285755ms - id: 15 request: proto: HTTP/1.1 @@ -526,28 +529,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 584 - body: '{"security_group": {"id": "3d50745b-227d-45c4-a239-0ea6c3568a27", "creation_date": "2026-02-26T13:41:19.659991+00:00", "modification_date": "2026-02-26T13:41:21.364438+00:00", "name": "tf-sg-bold-hypatia", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea", "creation_date": "2026-03-11T16:44:55.568043+00:00", "modification_date": "2026-03-11T16:44:57.274129+00:00", "name": "tf-sg-jolly-goldstine", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "584" + - "587" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - dcb2dff4-9f11-4cd5-805d-e5545f36490a + - 95bbe518-b4c6-4c6b-b582-ba983797de6e status: 200 OK code: 200 - duration: 42.627311ms + duration: 76.872293ms - id: 16 request: proto: HTTP/1.1 @@ -561,28 +564,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "a9f81a74-1c5b-4e7d-9f8a-b6777c94b86d", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "0d19928b-68e0-42d9-b210-5a478321ba06", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 16:44:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 7d063119-99ee-434d-9e68-abaf4886281f + - c72ce9eb-a79d-45a4-ab09-91b64e0c6dda status: 200 OK code: 200 - duration: 53.840689ms + duration: 80.146954ms - id: 17 request: proto: HTTP/1.1 @@ -593,7 +596,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: DELETE response: proto: HTTP/2.0 @@ -605,14 +608,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:22 GMT + - Wed, 11 Mar 2026 16:44:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 8d833ec7-4dd1-43eb-8cec-282c54741c76 + - fef763b3-26c9-4ad5-82ce-e3d207b47fa7 status: 204 No Content code: 204 - duration: 158.681357ms + duration: 126.659068ms - id: 18 request: proto: HTTP/1.1 @@ -623,25 +626,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3d50745b-227d-45c4-a239-0ea6c3568a27 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/4ee9ecd0-c105-4a76-914d-3387c0bd9cea method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "3d50745b-227d-45c4-a239-0ea6c3568a27"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "4ee9ecd0-c105-4a76-914d-3387c0bd9cea"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:22 GMT + - Wed, 11 Mar 2026 16:44:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 27d1112d-efd0-43d7-a276-0f5fe005c2a3 + - afc6a1bf-b5ec-45ed-85e5-a466d0d624f3 status: 404 Not Found code: 404 - duration: 32.867093ms + duration: 45.070914ms diff --git a/internal/services/instance/testdata/security-group-rules-basic.cassette.yaml b/internal/services/instance/testdata/security-group-rules-basic.cassette.yaml index 4658f2ef2b..af3db46b4b 100644 --- a/internal/services/instance/testdata/security-group-rules-basic.cassette.yaml +++ b/internal/services/instance/testdata/security-group-rules-basic.cassette.yaml @@ -6,105 +6,105 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 195 + content_length: 197 host: api.scaleway.com - body: '{"name":"tf-sg-strange-euler","project":"105bdce1-64c0-48ab-899d-868455867ecf","stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-fervent-goodall","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:48.739125+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:48 GMT + - Mon, 16 Mar 2026 17:13:41 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 38d4233d-9a6f-4a71-8939-ce1e3ea74450 + - 3a33bc40-6726-4dcb-8ed0-093d220f96dc status: 201 Created code: 201 - duration: 188.446099ms + duration: 224.464877ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 12 host: api.scaleway.com + body: '{"rules":[]}' headers: + Content-Type: + - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:48.739125+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 1536 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - - "585" + - "1536" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:48 GMT + - Mon, 16 Mar 2026 17:13:41 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 3a95fc6a-6290-41d6-9c85-a09fc987b3ee + - fd8c5dc0-aba9-406d-a5e6-8badae5be105 status: 200 OK code: 200 - duration: 96.018842ms + duration: 77.597741ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 12 + content_length: 0 host: api.scaleway.com - body: '{"rules":[]}' headers: - Content-Type: - - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules - method: PUT + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1536 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}]}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "1536" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:49 GMT + - Mon, 16 Mar 2026 17:13:41 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - e9bb9a14-5558-4138-9647-a90336aa81a5 + - e98cfa72-6e1b-45e9-9986-45a09387371a status: 200 OK code: 200 - duration: 185.567168ms + duration: 50.025535ms - id: 3 request: proto: HTTP/1.1 @@ -117,8 +117,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -132,14 +132,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:49 GMT + - Mon, 16 Mar 2026 17:13:41 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - a26c4b58-9505-4acb-b9f7-8f3f067e3778 + - 8760eada-8f28-4b78-8262-bbf21382df6a status: 200 OK code: 200 - duration: 119.011953ms + duration: 52.66035ms - id: 4 request: proto: HTTP/1.1 @@ -149,29 +149,29 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:48.739125+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:49 GMT + - Mon, 16 Mar 2026 17:13:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - e40dd69b-c750-495d-b7ef-e448607b64f6 + - bcc6a3bc-4d32-4196-bb1c-fe43bd7ed052 status: 200 OK code: 200 - duration: 94.462163ms + duration: 43.729911ms - id: 5 request: proto: HTTP/1.1 @@ -181,30 +181,62 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:48.739125+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:49 GMT + - Mon, 16 Mar 2026 17:13:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 93b1cec3-14d9-4eae-9144-6e1f48ca1756 + - b915b490-8227-4dcd-a93c-ace2d197c416 status: 200 OK code: 200 - duration: 98.535604ms + duration: 39.373222ms - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:42 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 50182ec1-4b4c-4ac8-a79c-1280546f6a71 + status: 200 OK + code: 200 + duration: 40.673803ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -216,8 +248,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -231,15 +263,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:49 GMT + - Mon, 16 Mar 2026 17:13:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 8d3d0d32-7676-4a41-a14c-46f0d853fd5d + - 3856d43a-4196-4168-a1a5-fe2f9f9730aa status: 200 OK code: 200 - duration: 97.741755ms - - id: 7 + duration: 35.049064ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -248,30 +280,62 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:48.739125+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:49 GMT + - Mon, 16 Mar 2026 17:13:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 6cf59818-aa90-4c5f-954c-1b747509450c + - 653e1566-e0f5-4243-99ee-f3b8f4276b92 status: 200 OK code: 200 - duration: 108.885398ms - - id: 8 + duration: 47.904016ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:41.671662+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:42 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - ba497f0f-11ed-4bd1-9d88-7c256537fbfe + status: 200 OK + code: 200 + duration: 40.798558ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -283,8 +347,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -298,15 +362,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:50 GMT + - Mon, 16 Mar 2026 17:13:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 17df3bbe-8aad-4dd4-9850-af14a4e86aa7 + - c40d236a-7536-4e59-b281-a38594229c01 status: 200 OK code: 200 - duration: 120.074637ms - - id: 9 + duration: 42.999626ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -318,30 +382,62 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "c04c495c-b63d-4829-8630-91cb34fe9ca7", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a2086fff-6f35-47b2-a47c-ae6ca2b665f1", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "af00bef2-3c3e-4d0e-b659-2695e8f86c6b", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "ea40f3f0-5d86-4ebe-951b-132323e09057", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "1d1d54f0-ca98-494a-9afe-988c02d0f82b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "4351d20b-8a0a-476b-a62e-c25d621a36fb", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0d142e75-5420-4680-8150-8132292f740a", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "7c910841-07ad-407d-a28b-d4c5497d58e3", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:50 GMT + - Mon, 16 Mar 2026 17:13:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 8e50951e-cc69-40f2-875a-342c3c1bc1af + - 304080be-0e26-474c-b130-977c851a3a36 status: 200 OK code: 200 - duration: 263.97652ms - - id: 10 + duration: 211.178339ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:42 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 6a3eaea9-4b82-48e2-98c2-2edcf26e08f2 + status: 200 OK + code: 200 + duration: 46.796289ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -353,30 +449,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "c04c495c-b63d-4829-8630-91cb34fe9ca7", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a2086fff-6f35-47b2-a47c-ae6ca2b665f1", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "af00bef2-3c3e-4d0e-b659-2695e8f86c6b", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "ea40f3f0-5d86-4ebe-951b-132323e09057", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "1d1d54f0-ca98-494a-9afe-988c02d0f82b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "4351d20b-8a0a-476b-a62e-c25d621a36fb", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0d142e75-5420-4680-8150-8132292f740a", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "7c910841-07ad-407d-a28b-d4c5497d58e3", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:50 GMT + - Mon, 16 Mar 2026 17:13:43 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - e9e6f0e3-32aa-4fa5-9251-67ee96e39694 + - 01b5c142-91dc-4f4e-85e0-d1c5ce29a6ea status: 200 OK code: 200 - duration: 124.493366ms - - id: 11 + duration: 49.682578ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -385,30 +481,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:50.430533+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:50 GMT + - Mon, 16 Mar 2026 17:13:43 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 8de2bc9e-9016-4812-903e-1add6fb06526 + - c7cd51ae-fbb5-4f46-b768-aec0b1fd98c7 status: 200 OK code: 200 - duration: 96.996026ms - - id: 12 + duration: 59.661221ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -417,30 +513,62 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:50.430533+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:50 GMT + - Mon, 16 Mar 2026 17:13:43 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 6a8e7a9e-f25e-4e06-946c-baceeab7d006 + - ab0a1073-f4df-4411-9b25-c36cd7b0e82b status: 200 OK code: 200 - duration: 105.767349ms - - id: 13 + duration: 44.672276ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 8cd3a292-b725-4a02-980d-a03f8b6a71e5 + status: 200 OK + code: 200 + duration: 65.637082ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -452,30 +580,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "c04c495c-b63d-4829-8630-91cb34fe9ca7", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a2086fff-6f35-47b2-a47c-ae6ca2b665f1", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "af00bef2-3c3e-4d0e-b659-2695e8f86c6b", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "ea40f3f0-5d86-4ebe-951b-132323e09057", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "1d1d54f0-ca98-494a-9afe-988c02d0f82b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "4351d20b-8a0a-476b-a62e-c25d621a36fb", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0d142e75-5420-4680-8150-8132292f740a", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "7c910841-07ad-407d-a28b-d4c5497d58e3", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:51 GMT + - Mon, 16 Mar 2026 17:13:43 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 16df6222-40c8-4efb-ad70-6dc1cd4aedd9 + - a44d50db-568b-4494-85e3-32061334bf27 status: 200 OK code: 200 - duration: 114.385135ms - - id: 14 + duration: 35.104378ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -484,30 +612,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:50.430533+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:51 GMT + - Mon, 16 Mar 2026 17:13:43 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 41ce1a81-b6bc-4a5d-952f-35b28dc68e88 + - d130aba6-a84e-4c36-aff6-96255c945f53 status: 200 OK code: 200 - duration: 97.444027ms - - id: 15 + duration: 43.107338ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -519,30 +647,129 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "c04c495c-b63d-4829-8630-91cb34fe9ca7", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "a2086fff-6f35-47b2-a47c-ae6ca2b665f1", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "af00bef2-3c3e-4d0e-b659-2695e8f86c6b", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "ea40f3f0-5d86-4ebe-951b-132323e09057", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "1d1d54f0-ca98-494a-9afe-988c02d0f82b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "4351d20b-8a0a-476b-a62e-c25d621a36fb", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0d142e75-5420-4680-8150-8132292f740a", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "7c910841-07ad-407d-a28b-d4c5497d58e3", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:51 GMT + - Mon, 16 Mar 2026 17:13:43 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - f241423a-bcd0-4ea5-9a76-ad08538146ba + - f2282b9c-f511-4662-ad77-f2fb463a2a36 status: 200 OK code: 200 - duration: 96.605133ms - - id: 16 + duration: 56.293585ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - a8684fcb-2a3c-4305-a776-ca1f77f426ab + status: 200 OK + code: 200 + duration: 41.515899ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:42.952131+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 92c304d8-7b36-4c24-ad04-fb4527961308 + status: 200 OK + code: 200 + duration: 44.037841ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 2560 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "1d1d54f0-ca98-494a-9afe-988c02d0f82b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "4351d20b-8a0a-476b-a62e-c25d621a36fb", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0d142e75-5420-4680-8150-8132292f740a", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "7c910841-07ad-407d-a28b-d4c5497d58e3", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "2560" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 2351be54-6540-477c-bba2-631c154009e5 + status: 200 OK + code: 200 + duration: 39.822457ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -554,30 +781,62 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2047 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d7720282-7888-45b9-9f73-923976b8ee77", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "f7a7af13-87e6-4899-8c86-30cf94929332", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "37af5825-dc04-42c7-8a15-3e144d13ffee", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8fad141a-7ae2-4d68-89a5-18222cc001c0", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2047" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:51 GMT + - Mon, 16 Mar 2026 17:13:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 11dc4beb-79cf-4a3b-85c5-0ad870456246 + - 42b30762-d194-4016-9d8d-7fbfb1fa809f status: 200 OK code: 200 - duration: 363.774813ms - - id: 17 + duration: 187.48023ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 585 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.274085+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "585" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 2bff1a28-5555-4d18-8bfe-a9cc036aa8cd + status: 200 OK + code: 200 + duration: 39.964726ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -589,30 +848,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2047 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d7720282-7888-45b9-9f73-923976b8ee77", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "f7a7af13-87e6-4899-8c86-30cf94929332", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "37af5825-dc04-42c7-8a15-3e144d13ffee", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8fad141a-7ae2-4d68-89a5-18222cc001c0", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2047" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:52 GMT + - Mon, 16 Mar 2026 17:13:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 2020d47e-654b-4c61-8cf0-e91d5d66e2a7 + - 0124b1bd-fdc7-4681-9632-9329b8f1bad8 status: 200 OK code: 200 - duration: 90.113626ms - - id: 18 + duration: 40.713688ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -621,30 +880,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:51.965054+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.442314+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:52 GMT + - Mon, 16 Mar 2026 17:13:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 0ce1f2cd-3ca5-4304-bd17-bf855fb50f61 + - 529cee09-4301-402e-b845-de57bf6c62d2 status: 200 OK code: 200 - duration: 90.844327ms - - id: 19 + duration: 40.515483ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -653,30 +912,62 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:51.965054+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.442314+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:52 GMT + - Mon, 16 Mar 2026 17:13:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 3447dc66-81e8-4b86-9321-02d6dcd4bbfa + - 287395cd-992e-4666-a68f-7f97d6e0bedc status: 200 OK code: 200 - duration: 95.719843ms - - id: 20 + duration: 36.954654ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.442314+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 445b0375-df73-46d2-ad9a-09c7f199cd34 + status: 200 OK + code: 200 + duration: 34.51664ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -688,30 +979,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2047 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d7720282-7888-45b9-9f73-923976b8ee77", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "f7a7af13-87e6-4899-8c86-30cf94929332", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "37af5825-dc04-42c7-8a15-3e144d13ffee", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8fad141a-7ae2-4d68-89a5-18222cc001c0", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2047" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:52 GMT + - Mon, 16 Mar 2026 17:13:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - fba124a1-6ad1-4ded-8e60-6e5fc328c60d + - cf2a92b9-93b2-43d9-ac85-a20338874f98 status: 200 OK code: 200 - duration: 104.891427ms - - id: 21 + duration: 42.208573ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -720,30 +1011,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:51.965054+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.442314+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:52 GMT + - Mon, 16 Mar 2026 17:13:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 5d48a379-d66a-437b-943f-84691f7520f3 + - d7339063-4276-4e83-8d98-b7ed0bd8ad24 status: 200 OK code: 200 - duration: 114.85715ms - - id: 22 + duration: 46.093273ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -755,30 +1046,129 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2047 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d7720282-7888-45b9-9f73-923976b8ee77", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "f7a7af13-87e6-4899-8c86-30cf94929332", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "37af5825-dc04-42c7-8a15-3e144d13ffee", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8fad141a-7ae2-4d68-89a5-18222cc001c0", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2047" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:52 GMT + - Mon, 16 Mar 2026 17:13:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 9d13f74d-5174-4237-a85a-58cff495a307 + - 89c9e161-d6d6-4b9e-b760-c86053ec9a9d status: 200 OK code: 200 - duration: 92.470176ms - - id: 23 + duration: 46.2665ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.442314+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:45 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - ae72f0eb-8f23-4bfc-9b6a-1a6754b7accb + status: 200 OK + code: 200 + duration: 36.771839ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:44.442314+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:45 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - c1683118-9612-4538-83c9-e342a355f8ff + status: 200 OK + code: 200 + duration: 34.952672ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 2047 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "37af5825-dc04-42c7-8a15-3e144d13ffee", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 1, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "8fad141a-7ae2-4d68-89a5-18222cc001c0", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "2047" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:45 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 292bcc64-fbde-4187-98c4-a9ad01a25f01 + status: 200 OK + code: 200 + duration: 45.660889ms + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -790,8 +1180,8 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules method: PUT response: proto: HTTP/2.0 @@ -805,15 +1195,47 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:53 GMT + - Mon, 16 Mar 2026 17:13:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - abae0c8c-873c-4f47-8946-e605a353bedc + - d2b2bb86-5616-4058-8424-bd83be83a081 status: 200 OK code: 200 - duration: 724.88988ms - - id: 24 + duration: 194.510074ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:45.856296+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:45 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - ef701732-b079-401c-98a1-4f06d250fd13 + status: 200 OK + code: 200 + duration: 45.949492ms + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -825,8 +1247,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -840,15 +1262,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:53 GMT + - Mon, 16 Mar 2026 17:13:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 4b6666bd-ae5a-48cd-af3d-0123fd5d2f2b + - ef88799f-c769-4a66-ab1c-4883645e7fe2 status: 200 OK code: 200 - duration: 101.102599ms - - id: 25 + duration: 41.542298ms + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -857,30 +1279,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:53.819801+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:45.856296+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:54 GMT + - Mon, 16 Mar 2026 17:13:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 90e0a00d-57b7-4c75-8836-8760f99b186f + - 854bc88c-794e-40a8-b5f6-1631ed914362 status: 200 OK code: 200 - duration: 97.139706ms - - id: 26 + duration: 41.357089ms + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -889,30 +1311,62 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "51d19372-f160-4780-903c-cf77df76f3f7", "creation_date": "2025-10-30T15:42:48.739125+00:00", "modification_date": "2025-10-30T15:42:53.819801+00:00", "name": "tf-sg-strange-euler", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:45.856296+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "587" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:54 GMT + - Mon, 16 Mar 2026 17:13:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 15dc6c0a-63a6-4ae4-96ac-1fea01f12f01 + - b110d380-84ad-4180-8f97-0bc692979e8f status: 200 OK code: 200 - duration: 97.776381ms - - id: 27 + duration: 48.923045ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:45.856296+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:46 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 2614d5a7-f85b-43f4-bdb5-c8f9ccc0032c + status: 200 OK + code: 200 + duration: 46.27746ms + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -924,8 +1378,8 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -939,15 +1393,82 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:54 GMT + - Mon, 16 Mar 2026 17:13:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - c0751fb0-40ca-4de5-9f4b-b9afc5c4ae07 + - c8ca162c-a24b-476f-bddf-d86b13bad45d status: 200 OK code: 200 - duration: 113.569125ms - - id: 28 + duration: 41.481112ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 587 + body: '{"security_group": {"id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07", "creation_date": "2026-03-16T17:13:41.671662+00:00", "modification_date": "2026-03-16T17:13:45.856296+00:00", "name": "tf-sg-fervent-goodall", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "587" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:46 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - b93286a3-612b-46c6-b81c-0da3fe881131 + status: 200 OK + code: 200 + duration: 41.812086ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1536 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "1536" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:46 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 74dc3901-4870-42f2-9b60-8b6871f9f952 + status: 200 OK + code: 200 + duration: 47.280591ms + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -959,8 +1480,8 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07/rules method: PUT response: proto: HTTP/2.0 @@ -974,15 +1495,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:54 GMT + - Mon, 16 Mar 2026 17:13:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 30eac3ef-5355-4835-817a-72c24781a229 + - 54d34aa8-b9f9-4e0f-b4f1-0489eb1677f6 status: 200 OK code: 200 - duration: 161.646579ms - - id: 29 + duration: 76.203529ms + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -991,8 +1512,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: DELETE response: proto: HTTP/2.0 @@ -1004,15 +1525,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:54 GMT + - Mon, 16 Mar 2026 17:13:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 09a5f612-c052-42c1-a191-660d36d2ccdd + - d11e56da-2468-4d57-981b-d824675f2bb9 status: 204 No Content code: 204 - duration: 151.924642ms - - id: 30 + duration: 118.38473ms + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -1021,26 +1542,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/51d19372-f160-4780-903c-cf77df76f3f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/889342bd-a5af-4fa6-a267-6b40b2a0ba07 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "51d19372-f160-4780-903c-cf77df76f3f7"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "889342bd-a5af-4fa6-a267-6b40b2a0ba07"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:55 GMT + - Mon, 16 Mar 2026 17:13:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 116cc159-3182-4249-959e-a4a1c3f322b2 + - c8a3dfcc-ff4f-46ff-b6c4-67768446589b status: 404 Not Found code: 404 - duration: 25.867843ms + duration: 31.888617ms diff --git a/internal/services/instance/testdata/security-group-rules-ip-ranges.cassette.yaml b/internal/services/instance/testdata/security-group-rules-ip-ranges.cassette.yaml index b7ffcfd454..1353398115 100644 --- a/internal/services/instance/testdata/security-group-rules-ip-ranges.cassette.yaml +++ b/internal/services/instance/testdata/security-group-rules-ip-ranges.cassette.yaml @@ -6,106 +6,205 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 195 + content_length: 198 host: api.scaleway.com - body: '{"name":"tf-sg-quirky-bhabha","project":"105bdce1-64c0-48ab-899d-868455867ecf","stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-focused-margulis","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "71fd47a2-ddb4-4c75-b66b-c59350584c15", "creation_date": "2025-10-30T15:42:46.760587+00:00", "modification_date": "2025-10-30T15:42:46.760587+00:00", "name": "tf-sg-quirky-bhabha", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 588 + body: '{"security_group": {"id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb", "creation_date": "2026-03-16T17:13:53.194700+00:00", "modification_date": "2026-03-16T17:13:53.194700+00:00", "name": "tf-sg-focused-margulis", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "588" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:46 GMT + - Mon, 16 Mar 2026 17:13:53 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15 + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 022eaa24-ec0c-40e8-945d-e3b81316a356 + - 098ca2a7-42e0-4704-a492-ce5b2966d8b6 status: 201 Created code: 201 - duration: 223.305126ms + duration: 169.245325ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 1120 host: api.scaleway.com + body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"inbound","ip_range":"1.2.0.0/16","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"accept","protocol":"TCP","direction":"outbound","ip_range":"1.2.3.0/32","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"2002::/24","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"2002:0:0:1234::/64","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"2002::1234:abcd:ffff:c0a8:101/128","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' headers: + Content-Type: + - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15 - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb/rules + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "71fd47a2-ddb4-4c75-b66b-c59350584c15", "creation_date": "2025-10-30T15:42:46.760587+00:00", "modification_date": "2025-10-30T15:42:46.760587+00:00", "name": "tf-sg-quirky-bhabha", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 3100 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d897416d-3429-48ae-824c-3425a9cd5996", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "be7ca9ab-9cac-42f1-807b-6cdee9f5c4ae", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "d1a9ef53-8e77-4561-a852-dd1e20f62a7b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "c0ad8d6a-fbf5-4c27-821b-00378428730e", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "e09ad226-0012-4111-b1f8-f86c9e18527d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 5, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "6a71749d-b506-4405-88ed-cbaa9e64b987", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - - "585" + - "3100" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:46 GMT + - Mon, 16 Mar 2026 17:13:53 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 7a4dcce9-9acd-4a3b-8ee5-2d05ddebf789 + - 00a6466a-ee11-4705-827e-e9ecf167062c status: 200 OK code: 200 - duration: 104.731005ms + duration: 220.370145ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 1120 + content_length: 0 host: api.scaleway.com - body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"outbound","ip_range":"1.2.3.0/32","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"2002::/24","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"2002:0:0:1234::/64","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"2002::1234:abcd:ffff:c0a8:101/128","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"inbound","ip_range":"1.2.0.0/16","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 586 + body: '{"security_group": {"id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb", "creation_date": "2026-03-16T17:13:53.194700+00:00", "modification_date": "2026-03-16T17:13:53.279876+00:00", "name": "tf-sg-focused-margulis", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "586" Content-Type: - application/json + Date: + - Mon, 16 Mar 2026 17:13:53 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 21ffe337-662b-415e-afc5-dbf016916b54 + status: 200 OK + code: 200 + duration: 41.870944ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15/rules - method: PUT + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb/rules?page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 3100 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "08f20f40-3d2e-4f7a-902a-6551f5159f5b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "5b0178ed-39bb-41d7-a467-16f0da563b5d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "2a719530-fa2f-461f-8a40-ddf446e6f423", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "1169b573-1ba5-4e64-8d0a-3cee6a938401", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "9e26c79a-67cb-45cc-96c6-26f6fb34546b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 5, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "370e869f-314d-4ce0-8b16-ffac9265f449", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d897416d-3429-48ae-824c-3425a9cd5996", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "be7ca9ab-9cac-42f1-807b-6cdee9f5c4ae", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "d1a9ef53-8e77-4561-a852-dd1e20f62a7b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "c0ad8d6a-fbf5-4c27-821b-00378428730e", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "e09ad226-0012-4111-b1f8-f86c9e18527d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 5, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "6a71749d-b506-4405-88ed-cbaa9e64b987", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "3100" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:47 GMT + - Mon, 16 Mar 2026 17:13:53 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - f8f6a12f-061e-41f8-b954-a30fd86e41fd + - e237d57f-1fbe-4714-8a05-c67392b6eaa9 status: 200 OK code: 200 - duration: 292.771442ms - - id: 3 + duration: 38.345521ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 588 + body: '{"security_group": {"id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb", "creation_date": "2026-03-16T17:13:53.194700+00:00", "modification_date": "2026-03-16T17:13:53.475119+00:00", "name": "tf-sg-focused-margulis", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "588" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:53 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 6c6941c8-306d-431a-bfeb-6c311e051dbb + status: 200 OK + code: 200 + duration: 40.733511ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 588 + body: '{"security_group": {"id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb", "creation_date": "2026-03-16T17:13:53.194700+00:00", "modification_date": "2026-03-16T17:13:53.475119+00:00", "name": "tf-sg-focused-margulis", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "588" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:53 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - 9e206df8-8e99-4807-8fc6-4652073e9f5f + status: 200 OK + code: 200 + duration: 38.221367ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -117,30 +216,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 3100 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "08f20f40-3d2e-4f7a-902a-6551f5159f5b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "5b0178ed-39bb-41d7-a467-16f0da563b5d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "2a719530-fa2f-461f-8a40-ddf446e6f423", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "1169b573-1ba5-4e64-8d0a-3cee6a938401", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "9e26c79a-67cb-45cc-96c6-26f6fb34546b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 5, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "370e869f-314d-4ce0-8b16-ffac9265f449", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d897416d-3429-48ae-824c-3425a9cd5996", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "be7ca9ab-9cac-42f1-807b-6cdee9f5c4ae", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "d1a9ef53-8e77-4561-a852-dd1e20f62a7b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "c0ad8d6a-fbf5-4c27-821b-00378428730e", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "e09ad226-0012-4111-b1f8-f86c9e18527d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 5, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "6a71749d-b506-4405-88ed-cbaa9e64b987", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "3100" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:47 GMT + - Mon, 16 Mar 2026 17:13:53 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 9d61ceb9-f217-41d3-8fa3-d3af7da0c0ab + - 59fa5647-0d4e-41dd-8b34-652e1f74b81e status: 200 OK code: 200 - duration: 111.527053ms - - id: 4 + duration: 45.029365ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -149,30 +248,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 585 - body: '{"security_group": {"id": "71fd47a2-ddb4-4c75-b66b-c59350584c15", "creation_date": "2025-10-30T15:42:46.760587+00:00", "modification_date": "2025-10-30T15:42:47.200103+00:00", "name": "tf-sg-quirky-bhabha", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + content_length: 588 + body: '{"security_group": {"id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb", "creation_date": "2026-03-16T17:13:53.194700+00:00", "modification_date": "2026-03-16T17:13:53.475119+00:00", "name": "tf-sg-focused-margulis", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - - "585" + - "588" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:47 GMT + - Mon, 16 Mar 2026 17:13:54 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - a630abf1-7d03-4a42-a17e-0de5a5603929 + - 1fb1eb22-7cc5-4b86-87cf-1a8c1922e2b0 status: 200 OK code: 200 - duration: 102.497175ms - - id: 5 + duration: 61.891326ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -184,30 +283,62 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 3100 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "08f20f40-3d2e-4f7a-902a-6551f5159f5b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "5b0178ed-39bb-41d7-a467-16f0da563b5d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "2a719530-fa2f-461f-8a40-ddf446e6f423", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "1169b573-1ba5-4e64-8d0a-3cee6a938401", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "9e26c79a-67cb-45cc-96c6-26f6fb34546b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 5, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "370e869f-314d-4ce0-8b16-ffac9265f449", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d897416d-3429-48ae-824c-3425a9cd5996", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "be7ca9ab-9cac-42f1-807b-6cdee9f5c4ae", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "d1a9ef53-8e77-4561-a852-dd1e20f62a7b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "c0ad8d6a-fbf5-4c27-821b-00378428730e", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "e09ad226-0012-4111-b1f8-f86c9e18527d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 5, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "6a71749d-b506-4405-88ed-cbaa9e64b987", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "3100" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:47 GMT + - Mon, 16 Mar 2026 17:13:54 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 0b2e7cfe-b9cb-42d5-bc5b-740f1f3069aa + - 08c2f88c-0b19-4e0c-9f2e-3f862a3536ba status: 200 OK code: 200 - duration: 109.997023ms - - id: 6 + duration: 43.101181ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 588 + body: '{"security_group": {"id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb", "creation_date": "2026-03-16T17:13:53.194700+00:00", "modification_date": "2026-03-16T17:13:53.475119+00:00", "name": "tf-sg-focused-margulis", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "588" + Content-Type: + - application/json + Date: + - Mon, 16 Mar 2026 17:13:54 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + X-Request-Id: + - b90c3dc5-9387-4c51-97da-8c40d3d7f9e7 + status: 200 OK + code: 200 + duration: 48.037392ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -219,30 +350,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 3100 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "08f20f40-3d2e-4f7a-902a-6551f5159f5b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "5b0178ed-39bb-41d7-a467-16f0da563b5d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "2a719530-fa2f-461f-8a40-ddf446e6f423", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 3, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "1169b573-1ba5-4e64-8d0a-3cee6a938401", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "9e26c79a-67cb-45cc-96c6-26f6fb34546b", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 5, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "370e869f-314d-4ce0-8b16-ffac9265f449", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "d897416d-3429-48ae-824c-3425a9cd5996", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "be7ca9ab-9cac-42f1-807b-6cdee9f5c4ae", "protocol": "TCP", "direction": "inbound", "ip_range": "1.2.0.0/16", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "d1a9ef53-8e77-4561-a852-dd1e20f62a7b", "protocol": "TCP", "direction": "outbound", "ip_range": "1.2.3.0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "c0ad8d6a-fbf5-4c27-821b-00378428730e", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::/24", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "e09ad226-0012-4111-b1f8-f86c9e18527d", "protocol": "TCP", "direction": "outbound", "ip_range": "2002:0:0:1234::/64", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 5, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "6a71749d-b506-4405-88ed-cbaa9e64b987", "protocol": "TCP", "direction": "outbound", "ip_range": "2002::1234:abcd:ffff:c0a8:101", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 6, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "3100" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:48 GMT + - Mon, 16 Mar 2026 17:13:54 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - d983fc6e-2b7f-4dec-9caf-6956aaef6ba0 + - 50f66d36-9cae-410a-bfa8-6fef7aa56f43 status: 200 OK code: 200 - duration: 110.601978ms - - id: 7 + duration: 43.132441ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -254,8 +385,8 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb/rules method: PUT response: proto: HTTP/2.0 @@ -269,15 +400,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:48 GMT + - Mon, 16 Mar 2026 17:13:54 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 9a3200d9-ff49-4966-9ac7-c6d4f372d201 + - a225d656-3721-4eb3-adb1-43aafa1aca8f status: 200 OK code: 200 - duration: 459.425343ms - - id: 8 + duration: 196.969662ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -286,8 +417,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb method: DELETE response: proto: HTTP/2.0 @@ -299,15 +430,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:48 GMT + - Mon, 16 Mar 2026 17:13:55 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 04adba36-6456-4c10-8bc2-20c58f356bcf + - c868f6d0-3514-4aac-adfe-71450f9a0a81 status: 204 No Content code: 204 - duration: 161.704967ms - - id: 9 + duration: 124.324373ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -316,26 +447,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/71fd47a2-ddb4-4c75-b66b-c59350584c15 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3dffb717-9c8c-4e45-984d-e0df2117b4cb method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "71fd47a2-ddb4-4c75-b66b-c59350584c15"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "3dffb717-9c8c-4e45-984d-e0df2117b4cb"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:48 GMT + - Mon, 16 Mar 2026 17:13:55 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) X-Request-Id: - - 827a6946-97ac-4bab-a232-889b32300012 + - adf1b7a7-e04d-4812-8e36-d328de753943 status: 404 Not Found code: 404 - duration: 28.398511ms + duration: 28.469302ms diff --git a/internal/services/instance/testdata/security-group-rules-basic2.cassette.yaml b/internal/services/instance/testdata/security-group-rules-reapply-config.cassette.yaml similarity index 60% rename from internal/services/instance/testdata/security-group-rules-basic2.cassette.yaml rename to internal/services/instance/testdata/security-group-rules-reapply-config.cassette.yaml index 6b53ac70b3..ef62e2f22f 100644 --- a/internal/services/instance/testdata/security-group-rules-basic2.cassette.yaml +++ b/internal/services/instance/testdata/security-group-rules-reapply-config.cassette.yaml @@ -8,12 +8,12 @@ interactions: proto_minor: 1 content_length: 196 host: api.scaleway.com - body: '{"name":"tf-sg-strange-sammet","project":"105bdce1-64c0-48ab-899d-868455867ecf","stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-musing-khayyam","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: @@ -21,24 +21,59 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 586 - body: '{"security_group": {"id": "03f313c6-5601-42a4-a394-708341949bfc", "creation_date": "2025-10-30T15:42:44.243901+00:00", "modification_date": "2025-10-30T15:42:44.243901+00:00", "name": "tf-sg-strange-sammet", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "6788da88-db9f-4c68-80fb-94f26bc26437", "creation_date": "2026-03-17T09:15:17.618990+00:00", "modification_date": "2026-03-17T09:15:17.618990+00:00", "name": "tf-sg-musing-khayyam", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "586" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Tue, 17 Mar 2026 09:15:17 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 704b2f09-0472-409e-8884-f5657375200d + - 906807d9-7053-42ec-b54b-9a4839ea0e3a status: 201 Created code: 201 - duration: 199.449738ms + duration: 242.686119ms - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 727 + host: api.scaleway.com + body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"accept","protocol":"TCP","direction":"outbound","ip_range":"0.0.0.0/0","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"0.0.0.0/0","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437/rules + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 2560 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "5892447e-080a-4e87-a2de-d7db13a1dd8a", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "42624c21-5e86-4b5a-8b1a-803bf890e8ad", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "adb8352d-32d3-4a1e-b392-321c64e120e6", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "dd5c1791-5468-456a-aed9-b10514a989e7", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "2560" + Content-Type: + - application/json + Date: + - Tue, 17 Mar 2026 09:15:17 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - d8f779eb-079c-4d08-8591-8da4140f20b3 + status: 200 OK + code: 200 + duration: 260.533077ms + - id: 2 request: proto: HTTP/1.1 proto_major: 1 @@ -47,65 +82,129 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 586 - body: '{"security_group": {"id": "03f313c6-5601-42a4-a394-708341949bfc", "creation_date": "2025-10-30T15:42:44.243901+00:00", "modification_date": "2025-10-30T15:42:44.243901+00:00", "name": "tf-sg-strange-sammet", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "6788da88-db9f-4c68-80fb-94f26bc26437", "creation_date": "2026-03-17T09:15:17.618990+00:00", "modification_date": "2026-03-17T09:15:17.929513+00:00", "name": "tf-sg-musing-khayyam", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "586" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Tue, 17 Mar 2026 09:15:17 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 1d38e943-3384-4aa0-bcfd-387eff7a2d22 + - 5ef09f89-bc8c-402f-89e6-5dce09aa0227 status: 200 OK code: 200 - duration: 108.180836ms - - id: 2 + duration: 53.867928ms + - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 727 + content_length: 0 host: api.scaleway.com - body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"inbound","ip_range":"0.0.0.0/0","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"accept","protocol":"TCP","direction":"outbound","ip_range":"0.0.0.0/0","dest_port_from":80,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"},{"id":null,"action":"drop","protocol":"TCP","direction":"outbound","ip_range":"0.0.0.0/0","dest_port_from":443,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' + form: + page: + - "1" headers: - Content-Type: - - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc/rules - method: PUT + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437/rules?page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "579b9e6e-73aa-4580-84b7-9da793b33cf0", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0b9b4492-68f0-4553-a365-5193c9c879dc", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0e55f541-955b-4c37-965e-0b5378115219", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "27cad5d6-a3c9-41ee-bd41-2866d2d63dc1", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "5892447e-080a-4e87-a2de-d7db13a1dd8a", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "42624c21-5e86-4b5a-8b1a-803bf890e8ad", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "adb8352d-32d3-4a1e-b392-321c64e120e6", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "dd5c1791-5468-456a-aed9-b10514a989e7", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Tue, 17 Mar 2026 09:15:18 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - c3ae970c-7de2-433a-8956-c6b1beb8e603 + - be4c853a-80f0-4077-ba72-2d46815d59bc status: 200 OK code: 200 - duration: 341.257971ms - - id: 3 + duration: 76.5365ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 586 + body: '{"security_group": {"id": "6788da88-db9f-4c68-80fb-94f26bc26437", "creation_date": "2026-03-17T09:15:17.618990+00:00", "modification_date": "2026-03-17T09:15:17.929513+00:00", "name": "tf-sg-musing-khayyam", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "586" + Content-Type: + - application/json + Date: + - Tue, 17 Mar 2026 09:15:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 19cdd897-d5a0-4c19-9ca1-f407b5f04e44 + status: 200 OK + code: 200 + duration: 82.073648ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 586 + body: '{"security_group": {"id": "6788da88-db9f-4c68-80fb-94f26bc26437", "creation_date": "2026-03-17T09:15:17.618990+00:00", "modification_date": "2026-03-17T09:15:17.929513+00:00", "name": "tf-sg-musing-khayyam", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "586" + Content-Type: + - application/json + Date: + - Tue, 17 Mar 2026 09:15:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - e67e7f34-d474-4ec8-bdc7-87853b997e16 + status: 200 OK + code: 200 + duration: 94.474599ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -117,30 +216,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "579b9e6e-73aa-4580-84b7-9da793b33cf0", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0b9b4492-68f0-4553-a365-5193c9c879dc", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0e55f541-955b-4c37-965e-0b5378115219", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "27cad5d6-a3c9-41ee-bd41-2866d2d63dc1", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "5892447e-080a-4e87-a2de-d7db13a1dd8a", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "42624c21-5e86-4b5a-8b1a-803bf890e8ad", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "adb8352d-32d3-4a1e-b392-321c64e120e6", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "dd5c1791-5468-456a-aed9-b10514a989e7", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:44 GMT + - Tue, 17 Mar 2026 09:15:18 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - cf49f6be-d11e-437b-870f-2e69ba961bec + - ffa5bdd6-cdf6-4fd3-892b-120f1f888a84 status: 200 OK code: 200 - duration: 104.430511ms - - id: 4 + duration: 65.472502ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -149,30 +248,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 586 - body: '{"security_group": {"id": "03f313c6-5601-42a4-a394-708341949bfc", "creation_date": "2025-10-30T15:42:44.243901+00:00", "modification_date": "2025-10-30T15:42:44.753312+00:00", "name": "tf-sg-strange-sammet", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "6788da88-db9f-4c68-80fb-94f26bc26437", "creation_date": "2026-03-17T09:15:17.618990+00:00", "modification_date": "2026-03-17T09:15:17.929513+00:00", "name": "tf-sg-musing-khayyam", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "586" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Tue, 17 Mar 2026 09:15:18 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3687ce99-eb15-48d8-a191-7b39732d9963 + - 010efaac-1391-4e4e-8f0c-d85a866a44db status: 200 OK code: 200 - duration: 111.382171ms - - id: 5 + duration: 69.355381ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -184,30 +283,62 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "579b9e6e-73aa-4580-84b7-9da793b33cf0", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0b9b4492-68f0-4553-a365-5193c9c879dc", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0e55f541-955b-4c37-965e-0b5378115219", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "27cad5d6-a3c9-41ee-bd41-2866d2d63dc1", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "5892447e-080a-4e87-a2de-d7db13a1dd8a", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "42624c21-5e86-4b5a-8b1a-803bf890e8ad", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "adb8352d-32d3-4a1e-b392-321c64e120e6", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "dd5c1791-5468-456a-aed9-b10514a989e7", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Tue, 17 Mar 2026 09:15:18 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3dcbd1a8-4c47-4c30-8adb-ae772f593942 + - 185ffca4-3b5a-473e-bc17-0c2682f0bb36 status: 200 OK code: 200 - duration: 100.242665ms - - id: 6 + duration: 80.700066ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 586 + body: '{"security_group": {"id": "6788da88-db9f-4c68-80fb-94f26bc26437", "creation_date": "2026-03-17T09:15:17.618990+00:00", "modification_date": "2026-03-17T09:15:17.929513+00:00", "name": "tf-sg-musing-khayyam", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "586" + Content-Type: + - application/json + Date: + - Tue, 17 Mar 2026 09:15:19 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 407fd8f9-ba5e-4c18-9460-fd5032042d8a + status: 200 OK + code: 200 + duration: 65.46046ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -219,30 +350,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 2560 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "579b9e6e-73aa-4580-84b7-9da793b33cf0", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "0b9b4492-68f0-4553-a365-5193c9c879dc", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "0e55f541-955b-4c37-965e-0b5378115219", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "27cad5d6-a3c9-41ee-bd41-2866d2d63dc1", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "5892447e-080a-4e87-a2de-d7db13a1dd8a", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "42624c21-5e86-4b5a-8b1a-803bf890e8ad", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 2, "editable": true, "action": "drop", "zone": "fr-par-1"}, {"id": "adb8352d-32d3-4a1e-b392-321c64e120e6", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 80, "dest_port_to": null, "position": 3, "editable": true, "action": "accept", "zone": "fr-par-1"}, {"id": "dd5c1791-5468-456a-aed9-b10514a989e7", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 443, "dest_port_to": null, "position": 4, "editable": true, "action": "drop", "zone": "fr-par-1"}]}' headers: Content-Length: - "2560" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:45 GMT + - Tue, 17 Mar 2026 09:15:19 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - c8e38a2e-b085-4f4c-9167-2fcbd28bd2c2 + - 5929e1a2-1835-4385-926d-4bb013e265ee status: 200 OK code: 200 - duration: 115.979554ms - - id: 7 + duration: 71.170323ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -254,8 +385,8 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437/rules method: PUT response: proto: HTTP/2.0 @@ -269,15 +400,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:46 GMT + - Tue, 17 Mar 2026 09:15:19 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 025b861a-01de-4e9d-8b3d-0284dab0a30c + - dc762871-e51e-4647-80f0-0dff94a3856a status: 200 OK code: 200 - duration: 271.582785ms - - id: 8 + duration: 310.005212ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -286,8 +417,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 method: DELETE response: proto: HTTP/2.0 @@ -299,15 +430,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:46 GMT + - Tue, 17 Mar 2026 09:15:19 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 6db6f0d7-8a5a-47d0-a414-7a9f5439075c + - d6b3346c-b633-4287-b7f5-764b341eb6cd status: 204 No Content code: 204 - duration: 213.162931ms - - id: 9 + duration: 117.977328ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -316,26 +447,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/03f313c6-5601-42a4-a394-708341949bfc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6788da88-db9f-4c68-80fb-94f26bc26437 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "03f313c6-5601-42a4-a394-708341949bfc"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "6788da88-db9f-4c68-80fb-94f26bc26437"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:46 GMT + - Tue, 17 Mar 2026 09:15:20 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - ce62c849-c081-4c8b-88ef-2978268ec79c + - 600effb1-ae57-4563-8c40-7534d369cca4 status: 404 Not Found code: 404 - duration: 30.696861ms + duration: 32.247778ms diff --git a/internal/services/instance/testdata/security-group-tags.cassette.yaml b/internal/services/instance/testdata/security-group-tags.cassette.yaml index bbfca815d6..980baedbc2 100644 --- a/internal/services/instance/testdata/security-group-tags.cassette.yaml +++ b/internal/services/instance/testdata/security-group-tags.cassette.yaml @@ -8,7 +8,7 @@ interactions: proto_minor: 1 content_length: 214 host: api.scaleway.com - body: '{"name":"tf-sg-boring-cray","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["foo","bar"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-lucid-chaum","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["foo","bar"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json @@ -21,23 +21,23 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 595 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:16.362413+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:43.341480+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' headers: Content-Length: - "595" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:16 GMT + - Wed, 11 Mar 2026 17:16:43 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - ba3bb94b-2045-498d-8703-72d92cdcc3cc + - e8e1b10f-ed56-41fb-bfab-8ef88198c691 status: 201 Created code: 201 - duration: 181.860241ms + duration: 344.609922ms - id: 1 request: proto: HTTP/1.1 @@ -51,28 +51,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 595 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:16.362413+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:43.341480+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' headers: Content-Length: - "595" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:16 GMT + - Wed, 11 Mar 2026 17:16:43 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - ec12ff7c-fc2c-49d9-8e36-f267d040f98b + - 4c37e155-98e6-4076-b446-de9746286a54 status: 200 OK code: 200 - duration: 87.682565ms + duration: 156.106606ms - id: 2 request: proto: HTTP/1.1 @@ -86,7 +86,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules method: PUT response: proto: HTTP/2.0 @@ -100,14 +100,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:16 GMT + - Wed, 11 Mar 2026 17:16:43 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - a4c7aa38-5947-49ea-a149-5241741e4584 + - 3deab55a-553f-4678-87e9-230686c10249 status: 200 OK code: 200 - duration: 117.541796ms + duration: 129.830173ms - id: 3 request: proto: HTTP/1.1 @@ -115,32 +115,67 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1536 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "1536" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:16:43 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 6cbdb5ae-fedc-43fa-a44d-6276c5e72a23 + status: 200 OK + code: 200 + duration: 72.484675ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 595 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:16.362413+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:43.341480+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' headers: Content-Length: - "595" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:16 GMT + - Wed, 11 Mar 2026 17:16:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 8af8d2e4-2f03-4331-81ff-d46629d85132 + - 38838a6c-bbbd-4950-9bc9-ea62b5c4db71 status: 200 OK code: 200 - duration: 46.268626ms - - id: 4 + duration: 82.612223ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -153,7 +188,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -167,15 +202,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:16 GMT + - Wed, 11 Mar 2026 17:16:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5191f9ac-d742-4e5d-b92f-126e0e3a11b5 + - c16a4f70-3c10-474b-8129-51e16b9de7fe status: 200 OK code: 200 - duration: 48.147858ms - - id: 5 + duration: 64.240739ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -185,29 +220,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 595 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:16.362413+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:43.341480+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' headers: Content-Length: - "595" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b6e12129-afca-40c6-a371-9654fcaf9b6d + - 6a5f698e-1b59-4e58-bdd8-3c7bf36480db status: 200 OK code: 200 - duration: 43.640876ms - - id: 6 + duration: 62.618449ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -220,7 +255,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -234,15 +269,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 9fc8391c-7d12-412f-be86-379076ac1fc0 + - 608ff04a-4a0d-4392-b79d-9102cad8b4be status: 200 OK code: 200 - duration: 42.008969ms - - id: 7 + duration: 63.875793ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -252,29 +287,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 595 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:16.362413+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:43.341480+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "bar"], "zone": "fr-par-1"}}' headers: Content-Length: - "595" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - c99cfb11-2766-49b1-9742-084f53bc75e1 + - eb37bc44-8c15-417e-93c7-6f48e6ef4285 status: 200 OK code: 200 - duration: 45.328268ms - - id: 8 + duration: 58.894268ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -287,7 +322,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -301,50 +336,50 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b4631fab-85e3-450f-9ee5-d0906e49703e + - 1f542e18-6014-4747-9a6a-a1e6a6c222c8 status: 200 OK code: 200 - duration: 56.445606ms - - id: 9 + duration: 73.190413ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 135 host: api.scaleway.com - body: '{"name":"tf-sg-boring-cray","inbound_default_policy":"accept","tags":["foo","buzz"],"outbound_default_policy":"accept","stateful":true}' + body: '{"name":"tf-sg-lucid-chaum","inbound_default_policy":"accept","tags":["foo","buzz"],"outbound_default_policy":"accept","stateful":true}' headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 594 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:17.446151+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:44.968147+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' headers: Content-Length: - "594" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - e502718e-e6b1-4293-8fd6-383d316a0aae + - aa68811c-7eba-423a-aebe-7d22d5305ac0 status: 200 OK code: 200 - duration: 277.711963ms - - id: 10 + duration: 233.155903ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -357,7 +392,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules method: PUT response: proto: HTTP/2.0 @@ -371,46 +406,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b4332400-3f04-4472-8e3e-09be3e9d619e + - d083ff7b-8c57-4085-a7c4-856aaa23be39 status: 200 OK code: 200 - duration: 75.202316ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 596 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:17.692958+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' - headers: - Content-Length: - - "596" - Content-Type: - - application/json - Date: - - Thu, 26 Feb 2026 13:41:17 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - X-Request-Id: - - 67d17d02-26c0-42b5-9a1a-8177e5382759 - status: 200 OK - code: 200 - duration: 37.34424ms + duration: 114.184382ms - id: 12 request: proto: HTTP/1.1 @@ -424,7 +427,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -438,14 +441,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:17 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 7f004ab1-0bcf-4825-9ea4-b92c00864726 + - 07932078-19c1-49f6-888e-c91bffc07850 status: 200 OK code: 200 - duration: 41.903931ms + duration: 69.950351ms - id: 13 request: proto: HTTP/1.1 @@ -456,28 +459,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 596 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:17.692958+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:45.159542+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' headers: Content-Length: - "596" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 08e603b5-d662-4238-9375-5c84d873bec2 + - c8981ad6-8950-4511-9126-f437d073208a status: 200 OK code: 200 - duration: 51.916934ms + duration: 80.713093ms - id: 14 request: proto: HTTP/1.1 @@ -491,7 +494,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -505,14 +508,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 01f14afc-e5dd-4b4c-8dd4-2f8446dfcc63 + - b36130d1-a568-4195-9b6f-00d3c197f9f6 status: 200 OK code: 200 - duration: 55.04838ms + duration: 58.109273ms - id: 15 request: proto: HTTP/1.1 @@ -523,28 +526,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 596 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:17.692958+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:45.159542+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["foo", "buzz"], "zone": "fr-par-1"}}' headers: Content-Length: - "596" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - a8c72567-52ca-41d6-b7af-349c88ac2a7e + - 2c412eca-2f8f-467c-a893-fe37e021ba61 status: 200 OK code: 200 - duration: 35.843699ms + duration: 62.064779ms - id: 16 request: proto: HTTP/1.1 @@ -558,7 +561,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -572,14 +575,14 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3e37efe2-48e7-499d-a57e-01650954bf45 + - 14925d04-0a23-45f8-96f6-4c5dee9c79ee status: 200 OK code: 200 - duration: 80.366713ms + duration: 60.709912ms - id: 17 request: proto: HTTP/1.1 @@ -587,34 +590,34 @@ interactions: proto_minor: 1 content_length: 123 host: api.scaleway.com - body: '{"name":"tf-sg-boring-cray","inbound_default_policy":"accept","tags":[],"outbound_default_policy":"accept","stateful":true}' + body: '{"name":"tf-sg-lucid-chaum","inbound_default_policy":"accept","tags":[],"outbound_default_policy":"accept","stateful":true}' headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 581 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:18.690722+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:46.145816+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "581" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - bfa8e760-4256-4975-aa73-b855cebb6e57 + - cec74c06-a7a6-418c-9dc6-f7897b49d188 status: 200 OK code: 200 - duration: 189.15352ms + duration: 186.868974ms - id: 18 request: proto: HTTP/1.1 @@ -628,7 +631,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules method: PUT response: proto: HTTP/2.0 @@ -642,15 +645,50 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 57583a5c-32e9-45b4-b96c-9ba56007f2e0 + - 60a060d3-9901-451d-b560-e1bcef618f90 status: 200 OK code: 200 - duration: 75.80571ms + duration: 118.76376ms - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1536 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}]}' + headers: + Content-Length: + - "1536" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:16:46 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - decc9c48-b9f6-4336-aa75-0fe478b5f1e0 + status: 200 OK + code: 200 + duration: 62.70936ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -660,29 +698,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 583 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:18.859335+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:46.287916+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "583" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 861247f8-0d78-439c-8990-fd049cb45ac0 + - 87e8f6f3-5935-4688-9e28-6d2f29699621 status: 200 OK code: 200 - duration: 45.862863ms - - id: 20 + duration: 66.849112ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -695,7 +733,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -709,15 +747,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5ed270a6-c22c-4f52-b1ad-d53627309126 + - 4d370d2d-2a3a-4076-9d4b-9a535558e65d status: 200 OK code: 200 - duration: 41.671164ms - - id: 21 + duration: 59.225722ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -727,29 +765,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 583 - body: '{"security_group": {"id": "3e153e61-33ff-484f-8929-307525682891", "creation_date": "2026-02-26T13:41:16.362413+00:00", "modification_date": "2026-02-26T13:41:18.859335+00:00", "name": "tf-sg-boring-cray", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "432fb3b0-68fe-4caf-927f-5381be1f9e92", "creation_date": "2026-03-11T17:16:43.341480+00:00", "modification_date": "2026-03-11T17:16:46.287916+00:00", "name": "tf-sg-lucid-chaum", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": [], "zone": "fr-par-1"}}' headers: Content-Length: - "583" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b188f64c-88d3-45f5-a29d-515f2c1efab6 + - dce72e0b-fc51-48c5-a954-df1d6931bca9 status: 200 OK code: 200 - duration: 53.137908ms - - id: 22 + duration: 59.122618ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -762,7 +800,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92/rules?page=1 method: GET response: proto: HTTP/2.0 @@ -776,15 +814,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - c74c8896-e342-4381-a08b-37008ef43dd8 + - d612b588-2d1b-4e6f-ac4b-9add0e34740d status: 200 OK code: 200 - duration: 49.258997ms - - id: 23 + duration: 63.536575ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -794,7 +832,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: DELETE response: proto: HTTP/2.0 @@ -806,15 +844,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 875bc3d8-d93c-4e55-a3ec-878baba35608 + - 204b5ecc-9cf2-400a-85e3-7ea1cad97474 status: 204 No Content code: 204 - duration: 240.012184ms - - id: 24 + duration: 137.800195ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -824,25 +862,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3e153e61-33ff-484f-8929-307525682891 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/432fb3b0-68fe-4caf-927f-5381be1f9e92 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "3e153e61-33ff-484f-8929-307525682891"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "432fb3b0-68fe-4caf-927f-5381be1f9e92"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - cd2d9c1c-812d-48c3-aff1-6459fa339882 + - b4e0b22f-4ab9-4d52-80cd-48a12e917d1b status: 404 Not Found code: 404 - duration: 30.948927ms + duration: 46.21815ms diff --git a/internal/services/instance/testdata/security-group-with-no-port.cassette.yaml b/internal/services/instance/testdata/security-group-with-no-port.cassette.yaml index 28da6512e5..7a24d47732 100644 --- a/internal/services/instance/testdata/security-group-with-no-port.cassette.yaml +++ b/internal/services/instance/testdata/security-group-with-no-port.cassette.yaml @@ -8,12 +8,12 @@ interactions: proto_minor: 1 content_length: 220 host: api.scaleway.com - body: '{"name":"tf-sg-bold-galileo","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-boring-kirch","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups method: POST response: @@ -21,23 +21,23 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 600 - body: '{"security_group": {"id": "6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427", "creation_date": "2025-10-30T15:42:31.085022+00:00", "modification_date": "2025-10-30T15:42:31.085022+00:00", "name": "tf-sg-bold-galileo", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "3090a646-d6fd-458d-a340-df9c64e69331", "creation_date": "2026-03-11T17:14:07.800953+00:00", "modification_date": "2026-03-11T17:14:07.800953+00:00", "name": "tf-sg-boring-kirch", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "600" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:31 GMT + - Wed, 11 Mar 2026 17:14:07 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427 + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331 Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - e61b3ae1-0c86-43c0-bdd6-47cb2fdbaf92 + - 66f0eab2-b06a-4bc1-89f1-c3f5a034010f status: 201 Created code: 201 - duration: 196.947278ms + duration: 275.361362ms - id: 1 request: proto: HTTP/1.1 @@ -50,29 +50,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 600 - body: '{"security_group": {"id": "6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427", "creation_date": "2025-10-30T15:42:31.085022+00:00", "modification_date": "2025-10-30T15:42:31.085022+00:00", "name": "tf-sg-bold-galileo", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "3090a646-d6fd-458d-a340-df9c64e69331", "creation_date": "2026-03-11T17:14:07.800953+00:00", "modification_date": "2026-03-11T17:14:07.800953+00:00", "name": "tf-sg-boring-kirch", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "600" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:31 GMT + - Wed, 11 Mar 2026 17:14:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 401171da-139f-40b6-8565-6f283d3b111b + - 22a13313-8ad1-4fbd-8019-2353fe00bcd3 status: 200 OK code: 200 - duration: 208.957346ms + duration: 129.701191ms - id: 2 request: proto: HTTP/1.1 @@ -85,29 +85,29 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427/rules + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "52623d16-b0de-4a36-a044-890bbb148778", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "049c1625-a078-400f-80ad-8e65bdf21cab", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:31 GMT + - Wed, 11 Mar 2026 17:14:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - ac7c44c6-04dc-436b-91c1-452cdea1bf12 + - eca5c412-f4ed-4806-8e04-cb6b4deadc7e status: 200 OK code: 200 - duration: 309.139665ms + duration: 219.77951ms - id: 3 request: proto: HTTP/1.1 @@ -115,31 +115,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427", "creation_date": "2025-10-30T15:42:31.085022+00:00", "modification_date": "2025-10-30T15:42:31.377108+00:00", "name": "tf-sg-bold-galileo", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1794 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "049c1625-a078-400f-80ad-8e65bdf21cab", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1794" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:31 GMT + - Wed, 11 Mar 2026 17:14:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - f471d2cc-9a20-4caa-9cd1-551e95a858f3 + - bd7cb1b9-fd1a-48e0-9de1-4931d11c5e9e status: 200 OK code: 200 - duration: 98.197857ms + duration: 89.750722ms - id: 4 request: proto: HTTP/1.1 @@ -152,30 +155,62 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "52623d16-b0de-4a36-a044-890bbb148778", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "049c1625-a078-400f-80ad-8e65bdf21cab", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:31 GMT + - Wed, 11 Mar 2026 17:14:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 9ae773bc-dc0f-42e2-8bb1-e8227e43bc5a + - 5ae59c9f-cedb-4fcd-8ea8-942ad06ec36a status: 200 OK code: 200 - duration: 95.419134ms + duration: 65.295963ms - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 600 + body: '{"security_group": {"id": "3090a646-d6fd-458d-a340-df9c64e69331", "creation_date": "2026-03-11T17:14:07.800953+00:00", "modification_date": "2026-03-11T17:14:08.201253+00:00", "name": "tf-sg-boring-kirch", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "600" + Content-Type: + - application/json + Date: + - Wed, 11 Mar 2026 17:14:08 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge03) + X-Request-Id: + - 7b7f62f3-37ba-4217-b446-8db71341f15c + status: 200 OK + code: 200 + duration: 82.256845ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -187,30 +222,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "52623d16-b0de-4a36-a044-890bbb148778", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "049c1625-a078-400f-80ad-8e65bdf21cab", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:32 GMT + - Wed, 11 Mar 2026 17:14:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 64a64a9c-c489-4475-9e63-fbcdc8e997f4 + - cb65623d-154f-45df-a9d4-5cc8291f6362 status: 200 OK code: 200 - duration: 114.899105ms - - id: 6 + duration: 71.328703ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -219,30 +254,30 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 600 - body: '{"security_group": {"id": "6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427", "creation_date": "2025-10-30T15:42:31.085022+00:00", "modification_date": "2025-10-30T15:42:31.660058+00:00", "name": "tf-sg-bold-galileo", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + body: '{"security_group": {"id": "3090a646-d6fd-458d-a340-df9c64e69331", "creation_date": "2026-03-11T17:14:07.800953+00:00", "modification_date": "2026-03-11T17:14:08.201253+00:00", "name": "tf-sg-boring-kirch", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - "600" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:32 GMT + - Wed, 11 Mar 2026 17:14:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 8d2db609-8ea5-438c-a1e3-5cdfdd5c9baa + - 42b9db4f-75f9-46dc-8690-82b15b3756b4 status: 200 OK code: 200 - duration: 106.048974ms - - id: 7 + duration: 60.336811ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -254,30 +289,30 @@ interactions: - "1" headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427/rules?page=1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1794 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "52623d16-b0de-4a36-a044-890bbb148778", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "049c1625-a078-400f-80ad-8e65bdf21cab", "protocol": "TCP", "direction": "inbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": null, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1794" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:32 GMT + - Wed, 11 Mar 2026 17:14:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - dbbf5399-f726-4037-a5a7-d15de72e58b5 + - 387ad24a-3e59-4f6e-a80d-4d309b9361ad status: 200 OK code: 200 - duration: 96.326637ms - - id: 8 + duration: 84.080283ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -286,8 +321,8 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331 method: DELETE response: proto: HTTP/2.0 @@ -299,15 +334,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:32 GMT + - Wed, 11 Mar 2026 17:14:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - e1cd6dba-c89d-4681-9e0d-37d3fe244cfe + - 721d8ce3-ef1d-4779-ad99-d1c3a6729ca4 status: 204 No Content code: 204 - duration: 149.647575ms - - id: 9 + duration: 141.128772ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -316,26 +351,26 @@ interactions: host: api.scaleway.com headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/3090a646-d6fd-458d-a340-df9c64e69331 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "6dc3b2d2-e9c4-4540-b1a2-1fea4fa4a427"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "3090a646-d6fd-458d-a340-df9c64e69331"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 15:42:32 GMT + - Wed, 11 Mar 2026 17:14:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) X-Request-Id: - - 33271318-6cf2-41c1-80f3-6468d7849edb + - eda074c9-1d58-4f6a-a805-9e04bfe1c1be status: 404 Not Found code: 404 - duration: 26.85313ms + duration: 48.39381ms diff --git a/internal/services/instance/testdata/security-group-with-port-range.cassette.yaml b/internal/services/instance/testdata/security-group-with-port-range.cassette.yaml index 27b34e341c..37068e36c6 100644 --- a/internal/services/instance/testdata/security-group-with-port-range.cassette.yaml +++ b/internal/services/instance/testdata/security-group-with-port-range.cassette.yaml @@ -6,9 +6,9 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 218 + content_length: 220 host: api.scaleway.com - body: '{"name":"tf-sg-kind-brown","project":"105bdce1-64c0-48ab-899d-868455867ecf","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' + body: '{"name":"tf-sg-dreamy-wiles","project":"fa1e3217-dc80-42ac-85c3-3f034b78b552","tags":["test-terraform"],"stateful":true,"inbound_default_policy":"accept","outbound_default_policy":"accept","enable_default_security":true}' headers: Content-Type: - application/json @@ -20,24 +20,24 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:18.340106+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:24.483454+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "598" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:24 GMT Location: - - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + - https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 8266e8f9-fdde-415c-8448-00091f48834e + - f333098e-3ae3-4770-bf4c-0a8336349e21 status: 201 Created code: 201 - duration: 167.646261ms + duration: 279.208863ms - id: 1 request: proto: HTTP/1.1 @@ -51,28 +51,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:18.340106+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:24.483454+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "598" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:24 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3e857922-ece6-4002-a2e6-33ec6b6f7542 + - b16d0b87-ae9f-433b-a53b-a2ba4d4c040c status: 200 OK code: 200 - duration: 157.626907ms + duration: 123.185472ms - id: 2 request: proto: HTTP/1.1 @@ -86,28 +86,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "09c84376-717d-4006-ae45-ff33bd232298", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "de914349-8469-4531-857f-43762b977862", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 278e6052-7b69-40c8-a20a-ee3adf658121 + - d186b38a-0f3c-4433-9e9f-42eccceec881 status: 200 OK code: 200 - duration: 172.77389ms + duration: 401.294157ms - id: 3 request: proto: HTTP/1.1 @@ -115,31 +115,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 596 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:18.555159+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1789 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "de914349-8469-4531-857f-43762b977862", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "596" + - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5baefecc-4eaa-4b24-9561-7c6f59b38911 + - 74a37edd-dae3-403d-a049-15dafe170c6b status: 200 OK code: 200 - duration: 37.33413ms + duration: 77.206491ms - id: 4 request: proto: HTTP/1.1 @@ -147,34 +150,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "09c84376-717d-4006-ae45-ff33bd232298", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:25.042127+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1789" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:18 GMT + - Wed, 11 Mar 2026 17:16:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - bb1b43cd-e950-4db5-8bf4-333381e8c392 + - 979146ff-ccd3-421c-8a12-60ce9f84b293 status: 200 OK code: 200 - duration: 43.846713ms + duration: 82.102716ms - id: 5 request: proto: HTTP/1.1 @@ -182,31 +182,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:18.706956+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1789 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "de914349-8469-4531-857f-43762b977862", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - fa3eef4e-82d0-4186-9885-b8a0a78337be + - 92e88c38-bd99-4da5-a5b3-ba3fe2f8f1df status: 200 OK code: 200 - duration: 39.441692ms + duration: 96.284825ms - id: 6 request: proto: HTTP/1.1 @@ -214,34 +217,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "09c84376-717d-4006-ae45-ff33bd232298", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:25.042127+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1789" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - c6a32cf8-2389-4565-96e4-01fb52cb9fc5 + - 0febed29-f647-4701-8bea-ad0c10e41e82 status: 200 OK code: 200 - duration: 38.918659ms + duration: 83.13204ms - id: 7 request: proto: HTTP/1.1 @@ -249,31 +249,34 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:18.706956+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1789 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "de914349-8469-4531-857f-43762b977862", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 00542661-dcf6-44d3-9324-f88b9edec212 + - 3859879f-3b4c-4391-84f6-a04cf97395ed status: 200 OK code: 200 - duration: 54.456217ms + duration: 98.873942ms - id: 8 request: proto: HTTP/1.1 @@ -281,136 +284,136 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "09c84376-717d-4006-ae45-ff33bd232298", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:25.042127+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1789" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:26 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 59b7a375-8957-47e7-9c7b-bf3c1c4d021f + - 113aa76c-01c6-4e49-98ee-fc1857986de8 status: 200 OK code: 200 - duration: 41.477699ms + duration: 90.737928ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 138 + content_length: 0 host: api.scaleway.com - body: '{"name":"tf-sg-kind-brown","inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' + form: + page: + - "1" headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec - method: PATCH + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:18.706956+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1789 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "de914349-8469-4531-857f-43762b977862", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:26 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5d23e6ff-b355-442f-af1a-b43f600782d7 + - a2d6bb93-3575-4be4-83c7-b19173d46fd2 status: 200 OK code: 200 - duration: 73.884588ms + duration: 72.510574ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 191 + content_length: 140 host: api.scaleway.com - body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"8.8.8.8/32","dest_port_from":22,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' + body: '{"name":"tf-sg-dreamy-wiles","inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules - method: PUT + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1790 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "fcd484b8-828e-4a19-8d00-47ff2335f747", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:25.042127+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1790" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:26 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - bb59dc72-850f-4d91-b88a-e236377ce4a4 + - c6b95ae1-dee3-4841-b28c-7b31a948a2f2 status: 200 OK code: 200 - duration: 235.901096ms + duration: 112.538248ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 191 host: api.scaleway.com + body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"8.8.8.8/32","dest_port_from":22,"dest_port_to":null,"position":0,"editable":null,"zone":"fr-par-1"}]}' headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec - method: GET + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:19.883448+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1790 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "b87b38b6-83f6-4208-a758-12f4a2f080e6", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1790" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:26 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - df24caa2-4716-4bcc-b545-2fb4714ba682 + - a0b7405e-9e8e-4613-9120-a9c1746f1ecf status: 200 OK code: 200 - duration: 50.907395ms + duration: 244.800522ms - id: 12 request: proto: HTTP/1.1 @@ -424,28 +427,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1790 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "fcd484b8-828e-4a19-8d00-47ff2335f747", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "b87b38b6-83f6-4208-a758-12f4a2f080e6", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1790" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:19 GMT + - Wed, 11 Mar 2026 17:16:26 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3536b5ed-7b44-4c7b-87b1-bade4a6a366a + - b3bfd119-e956-4b4c-bf72-51d33997c357 status: 200 OK code: 200 - duration: 59.476444ms + duration: 75.900767ms - id: 13 request: proto: HTTP/1.1 @@ -456,28 +459,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:19.883448+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:26.745224+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "598" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - d42dcb80-d2b9-42ad-9e8b-c388c49ac277 + - 14ecdd45-dcc4-4ab6-9c69-de0300a64287 status: 200 OK code: 200 - duration: 42.691792ms + duration: 79.323321ms - id: 14 request: proto: HTTP/1.1 @@ -491,28 +494,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1790 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "fcd484b8-828e-4a19-8d00-47ff2335f747", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "b87b38b6-83f6-4208-a758-12f4a2f080e6", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1790" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 2b6677ff-0951-47ec-b11b-db26597d3d56 + - 1f4e6c46-2fa5-4e42-ba14-6241127d625a status: 200 OK code: 200 - duration: 50.611789ms + duration: 89.394282ms - id: 15 request: proto: HTTP/1.1 @@ -523,28 +526,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:19.883448+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:26.745224+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "598" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 25fd079b-8539-4a2b-81ec-b8cc4709c0f2 + - 008ba9bd-20b2-4dda-abca-c7c80750b4d4 status: 200 OK code: 200 - duration: 40.678397ms + duration: 83.454096ms - id: 16 request: proto: HTTP/1.1 @@ -558,131 +561,166 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1790 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "fcd484b8-828e-4a19-8d00-47ff2335f747", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "b87b38b6-83f6-4208-a758-12f4a2f080e6", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1790" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - d47500a6-b450-4429-adb7-c9b3da0c7f65 + - 721e92dd-1b11-42ec-ad81-0fcbe9389f0b status: 200 OK code: 200 - duration: 41.441331ms + duration: 85.859488ms - id: 17 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 138 + content_length: 0 host: api.scaleway.com - body: '{"name":"tf-sg-kind-brown","inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:26.745224+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + headers: + Content-Length: + - "600" Content-Type: - application/json + Date: + - Wed, 11 Mar 2026 17:16:27 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 4a313170-4e73-4a04-9b47-ba44a7782f9d + status: 200 OK + code: 200 + duration: 82.126481ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec - method: PATCH + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:19.883448+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1790 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "b87b38b6-83f6-4208-a758-12f4a2f080e6", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 22, "dest_port_to": null, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "598" + - "1790" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 1d1c29aa-2e58-4c2a-8be5-db0dcdca5b3d + - 073694c9-4705-4db6-a8ad-63c064844229 status: 200 OK code: 200 - duration: 91.284055ms - - id: 18 + duration: 79.991988ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 190 + content_length: 140 host: api.scaleway.com - body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"8.8.8.8/32","dest_port_from":1,"dest_port_to":1024,"position":0,"editable":null,"zone":"fr-par-1"}]}' + body: '{"name":"tf-sg-dreamy-wiles","inbound_default_policy":"accept","tags":["test-terraform"],"outbound_default_policy":"accept","stateful":true}' headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules - method: PUT + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "75be212e-94ae-4de1-a9ed-f2527055e130", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:26.745224+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "1789" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - a65e09dd-51f6-47b8-9dec-55099f0fa8c1 + - 6bb09e4f-d547-414d-b02a-f5246d302a20 status: 200 OK code: 200 - duration: 206.072664ms - - id: 19 + duration: 109.846918ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 190 host: api.scaleway.com + body: '{"rules":[{"id":null,"action":"accept","protocol":"TCP","direction":"inbound","ip_range":"8.8.8.8/32","dest_port_from":1,"dest_port_to":1024,"position":0,"editable":null,"zone":"fr-par-1"}]}' headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec - method: GET + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 596 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:20.716037+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "syncing", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 1789 + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "ca8d383b-d025-4829-8f25-89b7ea990835", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - - "596" + - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - e6041394-e7d6-4ebd-952b-4527de3d81a8 + - 959ffaf5-20a2-44d1-8359-9607b15e9918 status: 200 OK code: 200 - duration: 36.050828ms - - id: 20 + duration: 200.801002ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -695,29 +733,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "75be212e-94ae-4de1-a9ed-f2527055e130", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "ca8d383b-d025-4829-8f25-89b7ea990835", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:20 GMT + - Wed, 11 Mar 2026 17:16:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - f9044c15-6b03-4fbe-aee1-62235585353b + - feb5a71e-d7c1-477c-b717-cf41b1ea8e95 status: 200 OK code: 200 - duration: 46.947262ms - - id: 21 + duration: 71.591446ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -727,29 +765,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 598 - body: '{"security_group": {"id": "99f744ba-9c33-4051-81fe-286cad05b9ec", "creation_date": "2026-02-26T13:41:18.340106+00:00", "modification_date": "2026-02-26T13:41:20.918720+00:00", "name": "tf-sg-kind-brown", "description": null, "organization": "105bdce1-64c0-48ab-899d-868455867ecf", "project": "105bdce1-64c0-48ab-899d-868455867ecf", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' + content_length: 600 + body: '{"security_group": {"id": "6c59656a-c5d3-4104-9b17-5bed70729776", "creation_date": "2026-03-11T17:16:24.483454+00:00", "modification_date": "2026-03-11T17:16:28.368287+00:00", "name": "tf-sg-dreamy-wiles", "description": null, "organization": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "project": "fa1e3217-dc80-42ac-85c3-3f034b78b552", "servers": [], "stateful": true, "inbound_default_policy": "accept", "outbound_default_policy": "accept", "organization_default": false, "project_default": false, "enable_default_security": true, "state": "available", "tags": ["test-terraform"], "zone": "fr-par-1"}}' headers: Content-Length: - - "598" + - "600" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 17:16:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 8db50322-91d6-40c0-b8b0-cb5b9bc5483d + - aa2898a6-c8e2-4464-90e5-18f170491cf3 status: 200 OK code: 200 - duration: 45.094288ms - - id: 22 + duration: 64.567413ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -762,29 +800,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec/rules?page=1 + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776/rules?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 1789 - body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "75be212e-94ae-4de1-a9ed-f2527055e130", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' + body: '{"rules": [{"id": "11111111-2222-4333-8444-000000000001", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 1, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000002", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 2, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000003", "protocol": "TCP", "direction": "outbound", "ip_range": "0.0.0.0/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 3, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000004", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 25, "dest_port_to": null, "position": 4, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000005", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 465, "dest_port_to": null, "position": 5, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "11111111-2222-4333-8444-000000000006", "protocol": "TCP", "direction": "outbound", "ip_range": "::/0", "dest_ip_range": null, "dest_port_from": 587, "dest_port_to": null, "position": 6, "editable": false, "action": "drop", "zone": "fr-par-1"}, {"id": "ca8d383b-d025-4829-8f25-89b7ea990835", "protocol": "TCP", "direction": "inbound", "ip_range": "8.8.8.8", "dest_ip_range": null, "dest_port_from": 1, "dest_port_to": 1024, "position": 1, "editable": true, "action": "accept", "zone": "fr-par-1"}]}' headers: Content-Length: - "1789" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 17:16:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3a75c8aa-6c9c-4c28-a321-3c9641fb995e + - 482f8e73-8b4c-4ac6-a81e-6785fd63cb22 status: 200 OK code: 200 - duration: 47.503447ms - - id: 23 + duration: 64.510355ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -794,7 +832,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: DELETE response: proto: HTTP/2.0 @@ -806,15 +844,15 @@ interactions: Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 17:16:29 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 598748b9-585a-4976-8436-5ca66d2ac117 + - ca65939a-cb3b-4d71-bf9c-524b26425169 status: 204 No Content code: 204 - duration: 175.425082ms - - id: 24 + duration: 138.710096ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -824,25 +862,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/99f744ba-9c33-4051-81fe-286cad05b9ec + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/security_groups/6c59656a-c5d3-4104-9b17-5bed70729776 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 151 - body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "99f744ba-9c33-4051-81fe-286cad05b9ec"}' + body: '{"type": "not_found", "message": "resource is not found", "resource": "instance_security_group", "resource_id": "6c59656a-c5d3-4104-9b17-5bed70729776"}' headers: Content-Length: - "151" Content-Type: - application/json Date: - - Thu, 26 Feb 2026 13:41:21 GMT + - Wed, 11 Mar 2026 17:16:29 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 236d34d9-01e2-4913-a02c-0497f2bfef09 + - 5ebf4d10-0292-4ad4-9f22-b8cc7d3e68aa status: 404 Not Found code: 404 - duration: 23.894757ms + duration: 45.793161ms diff --git a/provider/sdkv2_test.go b/provider/sdkv2_test.go index 432df39320..e2e2604410 100644 --- a/provider/sdkv2_test.go +++ b/provider/sdkv2_test.go @@ -181,7 +181,6 @@ func TestSDKProvider_ResourceIdentityNotEmpty(t *testing.T) { "scaleway_inference_deployment", "scaleway_inference_model", "scaleway_instance_security_group", - "scaleway_instance_security_group_rules", "scaleway_instance_server", "scaleway_iot_device", "scaleway_iot_hub",