diff --git a/go.mod b/go.mod index 783f5f635..481e46530 100644 --- a/go.mod +++ b/go.mod @@ -18,6 +18,7 @@ require ( github.com/robfig/cron/v3 v3.0.1 github.com/scaleway/scaleway-sdk-go v1.0.0-beta.25.0.20240325161646-a49fad6abe89 github.com/stretchr/testify v1.9.0 + golang.org/x/crypto v0.19.0 ) require ( @@ -82,7 +83,6 @@ require ( go.opentelemetry.io/otel/metric v1.22.0 // indirect go.opentelemetry.io/otel/sdk v1.22.0 // indirect go.opentelemetry.io/otel/trace v1.22.0 // indirect - golang.org/x/crypto v0.19.0 // indirect golang.org/x/mod v0.15.0 // indirect golang.org/x/net v0.19.0 // indirect golang.org/x/sys v0.17.0 // indirect diff --git a/scaleway/data_source_account_ssh_key_test.go b/scaleway/data_source_account_ssh_key_test.go index 740efc12f..1eaf0d729 100644 --- a/scaleway/data_source_account_ssh_key_test.go +++ b/scaleway/data_source_account_ssh_key_test.go @@ -11,6 +11,7 @@ import ( func TestAccScalewayDataSourceAccountSSHKey_Basic(t *testing.T) { dataSourceAccountSSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com" + dataSourceAccountSSHKeyWithoutComment := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ" sshKeyName := "TestAccScalewayDataSourceAccountSSHKey_Basic" tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -44,10 +45,10 @@ func TestAccScalewayDataSourceAccountSSHKey_Basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "data.scaleway_account_ssh_key.prod"), resource.TestCheckResourceAttr("data.scaleway_account_ssh_key.prod", "name", sshKeyName), - resource.TestCheckResourceAttr("data.scaleway_account_ssh_key.prod", "public_key", dataSourceAccountSSHKey), + resource.TestCheckResourceAttr("data.scaleway_account_ssh_key.prod", "public_key", dataSourceAccountSSHKeyWithoutComment), iam.CheckSSHKeyExists(tt, "data.scaleway_account_ssh_key.stg"), resource.TestCheckResourceAttr("data.scaleway_account_ssh_key.stg", "name", sshKeyName), - resource.TestCheckResourceAttr("data.scaleway_account_ssh_key.stg", "public_key", dataSourceAccountSSHKey), + resource.TestCheckResourceAttr("data.scaleway_account_ssh_key.stg", "public_key", dataSourceAccountSSHKeyWithoutComment), ), }, }, diff --git a/scaleway/data_source_iam_ssh_key_test.go b/scaleway/data_source_iam_ssh_key_test.go index 8f482da4b..d2e1fd0f2 100644 --- a/scaleway/data_source_iam_ssh_key_test.go +++ b/scaleway/data_source_iam_ssh_key_test.go @@ -11,6 +11,7 @@ import ( func TestAccScalewayDataSourceIamSSHKey_Basic(t *testing.T) { dataSourceIamSSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com" + dataSourceIamSSHKeyWithoutComment := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ" sshKeyName := "tf-test-ds-iam-ssh-key-basic" tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -44,10 +45,10 @@ func TestAccScalewayDataSourceIamSSHKey_Basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "data.scaleway_iam_ssh_key.prod"), resource.TestCheckResourceAttr("data.scaleway_iam_ssh_key.prod", "name", sshKeyName), - resource.TestCheckResourceAttr("data.scaleway_iam_ssh_key.prod", "public_key", dataSourceIamSSHKey), + resource.TestCheckResourceAttr("data.scaleway_iam_ssh_key.prod", "public_key", dataSourceIamSSHKeyWithoutComment), iam.CheckSSHKeyExists(tt, "data.scaleway_iam_ssh_key.stg"), resource.TestCheckResourceAttr("data.scaleway_iam_ssh_key.stg", "name", sshKeyName), - resource.TestCheckResourceAttr("data.scaleway_iam_ssh_key.stg", "public_key", dataSourceIamSSHKey), + resource.TestCheckResourceAttr("data.scaleway_iam_ssh_key.stg", "public_key", dataSourceIamSSHKeyWithoutComment), ), }, }, diff --git a/scaleway/resource_account_ssh_key_test.go b/scaleway/resource_account_ssh_key_test.go index c58d5fe7d..affd4827f 100644 --- a/scaleway/resource_account_ssh_key_test.go +++ b/scaleway/resource_account_ssh_key_test.go @@ -12,6 +12,7 @@ import ( func TestAccScalewayAccountSSHKey_basic(t *testing.T) { name := "tf-test-account-ssh-key-basic" SSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com" + FormattedSSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX" tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -30,7 +31,7 @@ func TestAccScalewayAccountSSHKey_basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_account_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "public_key", FormattedSSHKey), ), }, { @@ -43,7 +44,7 @@ func TestAccScalewayAccountSSHKey_basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_account_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "name", name+"-updated"), - resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "public_key", FormattedSSHKey), ), }, }, @@ -53,6 +54,7 @@ func TestAccScalewayAccountSSHKey_basic(t *testing.T) { func TestAccScalewayAccountSSHKey_WithNewLine(t *testing.T) { name := "tf-test-account-ssh-key-newline" SSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup opensource@scaleway.com" + FormattedSSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup" tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -71,7 +73,7 @@ func TestAccScalewayAccountSSHKey_WithNewLine(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_account_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_account_ssh_key.main", "public_key", FormattedSSHKey), ), }, }, @@ -81,6 +83,7 @@ func TestAccScalewayAccountSSHKey_WithNewLine(t *testing.T) { func TestAccScalewayAccountSSHKey_ChangeResourceName(t *testing.T) { name := "TestAccScalewayAccountSSHKey_ChangeResourceName" SSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com" + FormattedSSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO" tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -99,7 +102,7 @@ func TestAccScalewayAccountSSHKey_ChangeResourceName(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_account_ssh_key.first"), resource.TestCheckResourceAttr("scaleway_account_ssh_key.first", "name", name), - resource.TestCheckResourceAttr("scaleway_account_ssh_key.first", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_account_ssh_key.first", "public_key", FormattedSSHKey), ), }, { @@ -112,7 +115,7 @@ func TestAccScalewayAccountSSHKey_ChangeResourceName(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_account_ssh_key.second"), resource.TestCheckResourceAttr("scaleway_account_ssh_key.second", "name", name), - resource.TestCheckResourceAttr("scaleway_account_ssh_key.second", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_account_ssh_key.second", "public_key", FormattedSSHKey), ), }, }, diff --git a/scaleway/resource_iam_ssh_key.go b/scaleway/resource_iam_ssh_key.go index 7f44010d4..c6a276a88 100644 --- a/scaleway/resource_iam_ssh_key.go +++ b/scaleway/resource_iam_ssh_key.go @@ -1,6 +1,7 @@ package scaleway import ( + "bytes" "context" "strings" @@ -10,6 +11,7 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" + "golang.org/x/crypto/ssh" ) func ResourceScalewayIamSSKKey() *schema.Resource { @@ -36,7 +38,21 @@ func ResourceScalewayIamSSKKey() *schema.Resource { Description: "The public SSH key", // We don't consider trailing \n as diff DiffSuppressFunc: func(_, oldValue, newValue string, _ *schema.ResourceData) bool { - return strings.Trim(oldValue, "\n") == strings.Trim(newValue, "\n") + parsedOldValue, _, _, _, err := ssh.ParseAuthorizedKey([]byte(oldValue)) + if err != nil { + return false + } + + parsedNewValue, _, _, _, err := ssh.ParseAuthorizedKey([]byte(newValue)) + if err != nil { + return false + } + + marshalledOldValue := ssh.MarshalAuthorizedKey(parsedOldValue) + marshalledNewValue := ssh.MarshalAuthorizedKey(parsedNewValue) + + areEqual := bytes.Equal(marshalledOldValue, marshalledNewValue) + return areEqual }, }, "fingerprint": { @@ -175,3 +191,11 @@ func resourceScalewayIamSSKKeyDelete(ctx context.Context, d *schema.ResourceData return nil } + +func removePublicSSHKeyComment(publicKey string) string { + parts := strings.Split(publicKey, " ") + if len(parts) == 3 { + return strings.Join(parts[:2], " ") + } + return publicKey +} diff --git a/scaleway/resource_iam_ssh_key_test.go b/scaleway/resource_iam_ssh_key_test.go index 6f2484b19..5718f054e 100644 --- a/scaleway/resource_iam_ssh_key_test.go +++ b/scaleway/resource_iam_ssh_key_test.go @@ -12,7 +12,10 @@ import ( "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam" ) -const SSHKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com" +const ( + SSHKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com" + SSHKeyWithoutComment = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO" +) func init() { resource.AddTestSweepers("scaleway_iam_ssh_key", &resource.Sweeper{ @@ -68,7 +71,7 @@ func TestAccScalewayIamSSHKey_basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKeyWithoutComment), ), }, { @@ -81,7 +84,7 @@ func TestAccScalewayIamSSHKey_basic(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "name", name+"-updated"), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKeyWithoutComment), ), }, }, @@ -108,7 +111,7 @@ func TestAccScalewayIamSSHKey_WithNewLine(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKeyWithoutComment), ), }, }, @@ -135,7 +138,7 @@ func TestAccScalewayIamSSHKey_ChangeResourceName(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.first"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.first", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.first", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.first", "public_key", SSHKeyWithoutComment), ), }, { @@ -148,7 +151,7 @@ func TestAccScalewayIamSSHKey_ChangeResourceName(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.second"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.second", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.second", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.second", "public_key", SSHKeyWithoutComment), ), }, }, @@ -175,7 +178,7 @@ func TestAccScalewayIamSSHKey_Disabled(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKeyWithoutComment), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "disabled", "false"), ), }, @@ -190,7 +193,7 @@ func TestAccScalewayIamSSHKey_Disabled(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKeyWithoutComment), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "disabled", "true"), ), }, @@ -205,7 +208,7 @@ func TestAccScalewayIamSSHKey_Disabled(t *testing.T) { Check: resource.ComposeTestCheckFunc( iam.CheckSSHKeyExists(tt, "scaleway_iam_ssh_key.main"), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "name", name), - resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKey), + resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "public_key", SSHKeyWithoutComment), resource.TestCheckResourceAttr("scaleway_iam_ssh_key.main", "disabled", "false"), ), }, diff --git a/scaleway/testdata/account-ssh-key-basic.cassette.yaml b/scaleway/testdata/account-ssh-key-basic.cassette.yaml index 7433ab3c0..39c163f13 100644 --- a/scaleway/testdata/account-ssh-key-basic.cassette.yaml +++ b/scaleway/testdata/account-ssh-key-basic.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-account-ssh-key-basic","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX - opensource@scaleway.com","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a"}' + opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:16.976071Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:11.732925Z"}' headers: Content-Length: - - "526" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:17 GMT + - Tue, 26 Mar 2024 10:57:11 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a0a23678-8a39-49a9-a747-318287604664 + - a44d884a-0fb9-4e24-917e-1aa56fcff722 status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:16.976071Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:11.732925Z"}' headers: Content-Length: - - "526" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:18 GMT + - Tue, 26 Mar 2024 10:57:11 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c9fb9da0-d32a-4261-9347-2a404b07b186 + - ef4271f9-b04e-4195-bec9-b75b67eaf0b1 status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:16.976071Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:11.732925Z"}' headers: Content-Length: - - "526" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:18 GMT + - Tue, 26 Mar 2024 10:57:12 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7cca0e19-d23d-4de7-92e6-6fd537fa7b24 + - 80c72254-eea4-4fb7-960e-d1d2c98e1284 status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:16.976071Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:11.732925Z"}' headers: Content-Length: - - "526" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:18 GMT + - Tue, 26 Mar 2024 10:57:12 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3f3d906d-0900-495d-b93e-310065beec51 + - c3ddd2e8-ea80-48bd-9b2d-d3ac958f0c3c status: 200 OK code: 200 duration: "" @@ -153,26 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:16.976071Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:11.732925Z"}' headers: Content-Length: - - "526" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:18 GMT + - Tue, 26 Mar 2024 10:57:12 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -180,37 +175,36 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f17b566c-1b56-4903-a29f-e104ce149ef9 + - ff76a50d-f652-41b1-8938-13f5218cd270 status: 200 OK code: 200 duration: "" - request: - body: '{"name":"tf-test-account-ssh-key-basic-updated","disabled":null}' + body: '{"name":"tf-test-account-ssh-key-basic-updated"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: PATCH response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic-updated","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:19.230531Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:13.180820Z"}' headers: Content-Length: - - "534" + - "486" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:19 GMT + - Tue, 26 Mar 2024 10:57:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -218,7 +212,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0176a224-0cbc-4b83-b4d3-9bfbf49f3437 + - 2dcd31fd-ad18-43d6-87e2-bcbf01bb69ac status: 200 OK code: 200 duration: "" @@ -227,26 +221,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic-updated","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:19.230531Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:13.180820Z"}' headers: Content-Length: - - "534" + - "486" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:19 GMT + - Tue, 26 Mar 2024 10:57:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -254,7 +247,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a619e64a-8fb6-4fd8-83b4-559c18c8e137 + - bdb1407d-0457-45d0-9694-5c2c855cf949 status: 200 OK code: 200 duration: "" @@ -263,26 +256,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic-updated","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:19.230531Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:13.180820Z"}' headers: Content-Length: - - "534" + - "486" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:19 GMT + - Tue, 26 Mar 2024 10:57:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -290,7 +282,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a44e27c-80e3-4396-a8fc-66e78503cfe9 + - 8b38e92e-4812-4fa0-9c6c-5e01913da18d status: 200 OK code: 200 duration: "" @@ -299,26 +291,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: GET response: - body: '{"created_at":"2023-03-30T13:40:16.976071Z","disabled":false,"fingerprint":"256 - MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 opensource@scaleway.com - (ssh-ed25519)","id":"2d229ada-ff49-41b4-83d1-5058c5c50b31","name":"tf-test-account-ssh-key-basic-updated","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX opensource@scaleway.com","updated_at":"2023-03-30T13:40:19.230531Z"}' + body: '{"created_at":"2024-03-26T10:57:11.732925Z","disabled":false,"fingerprint":"256 + MD5:94:db:c3:76:58:e4:37:0a:ce:30:ae:ad:7d:86:b1:f0 (ssh-ed25519)","id":"970afd43-f85f-4298-ba48-10d1f84e88c8","name":"tf-test-account-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX","updated_at":"2024-03-26T10:57:13.180820Z"}' headers: Content-Length: - - "534" + - "486" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:19 GMT + - Tue, 26 Mar 2024 10:57:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -326,7 +317,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6766bfc7-4333-4287-988f-de5654477a07 + - 810f3c38-dfee-4356-9109-9bcc5531d31e status: 200 OK code: 200 duration: "" @@ -335,9 +326,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2d229ada-ff49-41b4-83d1-5058c5c50b31 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/970afd43-f85f-4298-ba48-10d1f84e88c8 method: DELETE response: body: "" @@ -347,9 +338,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:20 GMT + - Tue, 26 Mar 2024 10:57:14 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -357,7 +348,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 54023a40-27b0-459a-a470-3e3f401e9470 + - 5ecb0dac-59ef-4d40-aa8f-ed76ad15c7b5 status: 204 No Content code: 204 duration: "" diff --git a/scaleway/testdata/account-ssh-key-change-resource-name.cassette.yaml b/scaleway/testdata/account-ssh-key-change-resource-name.cassette.yaml index edcfa1cb9..e96e584e7 100644 --- a/scaleway/testdata/account-ssh-key-change-resource-name.cassette.yaml +++ b/scaleway/testdata/account-ssh-key-change-resource-name.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"TestAccScalewayAccountSSHKey_ChangeResourceName","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a"}' + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-03-30T13:41:37.049858Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"849512c9-fc87-4fd7-b4cd-ff6396ee5255","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:37.049858Z"}' + body: '{"created_at":"2024-03-26T10:57:15.114225Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"d1990268-6da8-4498-a7f0-ea1862c717b3","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:15.114225Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:37 GMT + - Tue, 26 Mar 2024 10:57:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20980c45-b91d-48d7-bfbd-bba3833555fb + - 1e6806f9-e4d4-44ab-8013-097fca7b196a status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/849512c9-fc87-4fd7-b4cd-ff6396ee5255 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d1990268-6da8-4498-a7f0-ea1862c717b3 method: GET response: - body: '{"created_at":"2023-03-30T13:41:37.049858Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"849512c9-fc87-4fd7-b4cd-ff6396ee5255","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:37.049858Z"}' + body: '{"created_at":"2024-03-26T10:57:15.114225Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"d1990268-6da8-4498-a7f0-ea1862c717b3","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:15.114225Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:37 GMT + - Tue, 26 Mar 2024 10:57:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dd14e7f6-1d2c-4c68-ba0a-8a5c9baae1c1 + - 9409066e-cb95-440e-a690-a2cfedb79099 status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/849512c9-fc87-4fd7-b4cd-ff6396ee5255 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d1990268-6da8-4498-a7f0-ea1862c717b3 method: GET response: - body: '{"created_at":"2023-03-30T13:41:37.049858Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"849512c9-fc87-4fd7-b4cd-ff6396ee5255","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:37.049858Z"}' + body: '{"created_at":"2024-03-26T10:57:15.114225Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"d1990268-6da8-4498-a7f0-ea1862c717b3","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:15.114225Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:37 GMT + - Tue, 26 Mar 2024 10:57:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 82040ce4-0eb1-4cd0-b90f-cd560ca3d5c4 + - 9281ac8c-a5d2-4f48-8b58-201529dde0f3 status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/849512c9-fc87-4fd7-b4cd-ff6396ee5255 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d1990268-6da8-4498-a7f0-ea1862c717b3 method: GET response: - body: '{"created_at":"2023-03-30T13:41:37.049858Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"849512c9-fc87-4fd7-b4cd-ff6396ee5255","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:37.049858Z"}' + body: '{"created_at":"2024-03-26T10:57:15.114225Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"d1990268-6da8-4498-a7f0-ea1862c717b3","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:15.114225Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:38 GMT + - Tue, 26 Mar 2024 10:57:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9e6c73e4-e39c-4afe-b1cb-f37efb2ef40d + - 7f3741a8-66f5-48e8-a9b0-8658fc171709 status: 200 OK code: 200 duration: "" @@ -153,26 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/849512c9-fc87-4fd7-b4cd-ff6396ee5255 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d1990268-6da8-4498-a7f0-ea1862c717b3 method: GET response: - body: '{"created_at":"2023-03-30T13:41:37.049858Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"849512c9-fc87-4fd7-b4cd-ff6396ee5255","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:37.049858Z"}' + body: '{"created_at":"2024-03-26T10:57:15.114225Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"d1990268-6da8-4498-a7f0-ea1862c717b3","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:15.114225Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:38 GMT + - Tue, 26 Mar 2024 10:57:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -180,7 +175,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 77bc1f88-f158-4be3-bcc1-700d25573fe5 + - 5dc5bb47-4f2b-46eb-b930-823d37a7af99 status: 200 OK code: 200 duration: "" @@ -189,9 +184,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/849512c9-fc87-4fd7-b4cd-ff6396ee5255 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d1990268-6da8-4498-a7f0-ea1862c717b3 method: DELETE response: body: "" @@ -201,9 +196,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:38 GMT + - Tue, 26 Mar 2024 10:57:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -211,38 +206,37 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 268c8d3d-902f-434d-8a44-1984faa95619 + - 4b0d9c42-24a6-4361-bef0-165d48e1580b status: 204 No Content code: 204 duration: "" - request: body: '{"name":"TestAccScalewayAccountSSHKey_ChangeResourceName","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a"}' + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-03-30T13:41:38.806477Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"d3441ec5-be82-45d3-8f51-a7eb9037de0f","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:38.806477Z"}' + body: '{"created_at":"2024-03-26T10:57:16.656993Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"01de9c43-ab31-4870-b2e9-6ced33588e46","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:16.656993Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:39 GMT + - Tue, 26 Mar 2024 10:57:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,7 +244,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a6bb13cd-838b-4714-a68b-6957680a4b12 + - b2820da5-379c-44ff-8e3b-021bd081971a status: 200 OK code: 200 duration: "" @@ -259,26 +253,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d3441ec5-be82-45d3-8f51-a7eb9037de0f + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/01de9c43-ab31-4870-b2e9-6ced33588e46 method: GET response: - body: '{"created_at":"2023-03-30T13:41:38.806477Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"d3441ec5-be82-45d3-8f51-a7eb9037de0f","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:38.806477Z"}' + body: '{"created_at":"2024-03-26T10:57:16.656993Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"01de9c43-ab31-4870-b2e9-6ced33588e46","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:16.656993Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:39 GMT + - Tue, 26 Mar 2024 10:57:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -286,7 +279,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12ade12b-f09b-4c08-9230-4ae72e541a0b + - 8d2c2dd5-d5dc-4206-a596-9bcd2ed6ffbb status: 200 OK code: 200 duration: "" @@ -295,26 +288,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d3441ec5-be82-45d3-8f51-a7eb9037de0f + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/01de9c43-ab31-4870-b2e9-6ced33588e46 method: GET response: - body: '{"created_at":"2023-03-30T13:41:38.806477Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"d3441ec5-be82-45d3-8f51-a7eb9037de0f","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:38.806477Z"}' + body: '{"created_at":"2024-03-26T10:57:16.656993Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"01de9c43-ab31-4870-b2e9-6ced33588e46","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:16.656993Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:39 GMT + - Tue, 26 Mar 2024 10:57:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -322,7 +314,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a6b3d68f-ec38-451c-8937-9e0a87747dcd + - 4f4732d6-e115-45a3-a46f-e7a04a4ae664 status: 200 OK code: 200 duration: "" @@ -331,26 +323,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d3441ec5-be82-45d3-8f51-a7eb9037de0f + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/01de9c43-ab31-4870-b2e9-6ced33588e46 method: GET response: - body: '{"created_at":"2023-03-30T13:41:38.806477Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"d3441ec5-be82-45d3-8f51-a7eb9037de0f","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-03-30T13:41:38.806477Z"}' + body: '{"created_at":"2024-03-26T10:57:16.656993Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"01de9c43-ab31-4870-b2e9-6ced33588e46","name":"TestAccScalewayAccountSSHKey_ChangeResourceName","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:57:16.656993Z"}' headers: Content-Length: - - "544" + - "496" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:39 GMT + - Tue, 26 Mar 2024 10:57:17 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -358,7 +349,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9908686-e205-462d-9021-5562892c905c + - ad4f60f7-b2e0-460b-8689-d54834fa6771 status: 200 OK code: 200 duration: "" @@ -367,9 +358,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/d3441ec5-be82-45d3-8f51-a7eb9037de0f + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/01de9c43-ab31-4870-b2e9-6ced33588e46 method: DELETE response: body: "" @@ -379,9 +370,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:41:40 GMT + - Tue, 26 Mar 2024 10:57:17 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -389,7 +380,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1286517-762c-46a6-a2fa-7eb486183cba + - 7baa5060-f78d-4427-90de-8f4d9c200a4f status: 204 No Content code: 204 duration: "" diff --git a/scaleway/testdata/account-ssh-key-with-new-line.cassette.yaml b/scaleway/testdata/account-ssh-key-with-new-line.cassette.yaml index a144e2f91..5a8febc4e 100644 --- a/scaleway/testdata/account-ssh-key-with-new-line.cassette.yaml +++ b/scaleway/testdata/account-ssh-key-with-new-line.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-account-ssh-key-newline","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup - opensource@scaleway.com","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a"}' + opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-03-30T13:40:28.471119Z","disabled":false,"fingerprint":"256 - MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf opensource@scaleway.com - (ssh-ed25519)","id":"301908f3-070a-4ffe-8aa7-b1f8a84ba09d","name":"tf-test-account-ssh-key-newline","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup opensource@scaleway.com","updated_at":"2023-03-30T13:40:28.471119Z"}' + body: '{"created_at":"2024-03-26T10:57:18.657757Z","disabled":false,"fingerprint":"256 + MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf (ssh-ed25519)","id":"266d6ee2-423b-4bb6-bdad-c991132b0e13","name":"tf-test-account-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup","updated_at":"2024-03-26T10:57:18.657757Z"}' headers: Content-Length: - - "528" + - "480" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:28 GMT + - Tue, 26 Mar 2024 10:57:18 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dea81e24-fcd1-4886-8aa9-002d0bc9fd38 + - 88ed968f-7e1c-496e-93a3-5cc8c0afba04 status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/301908f3-070a-4ffe-8aa7-b1f8a84ba09d + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/266d6ee2-423b-4bb6-bdad-c991132b0e13 method: GET response: - body: '{"created_at":"2023-03-30T13:40:28.471119Z","disabled":false,"fingerprint":"256 - MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf opensource@scaleway.com - (ssh-ed25519)","id":"301908f3-070a-4ffe-8aa7-b1f8a84ba09d","name":"tf-test-account-ssh-key-newline","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup opensource@scaleway.com","updated_at":"2023-03-30T13:40:28.471119Z"}' + body: '{"created_at":"2024-03-26T10:57:18.657757Z","disabled":false,"fingerprint":"256 + MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf (ssh-ed25519)","id":"266d6ee2-423b-4bb6-bdad-c991132b0e13","name":"tf-test-account-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup","updated_at":"2024-03-26T10:57:18.657757Z"}' headers: Content-Length: - - "528" + - "480" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:29 GMT + - Tue, 26 Mar 2024 10:57:18 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 607490f4-d4a9-4c24-b95f-bd291623b0ea + - 79c79fdb-6377-4f79-b531-8f03ba7b609b status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/301908f3-070a-4ffe-8aa7-b1f8a84ba09d + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/266d6ee2-423b-4bb6-bdad-c991132b0e13 method: GET response: - body: '{"created_at":"2023-03-30T13:40:28.471119Z","disabled":false,"fingerprint":"256 - MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf opensource@scaleway.com - (ssh-ed25519)","id":"301908f3-070a-4ffe-8aa7-b1f8a84ba09d","name":"tf-test-account-ssh-key-newline","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup opensource@scaleway.com","updated_at":"2023-03-30T13:40:28.471119Z"}' + body: '{"created_at":"2024-03-26T10:57:18.657757Z","disabled":false,"fingerprint":"256 + MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf (ssh-ed25519)","id":"266d6ee2-423b-4bb6-bdad-c991132b0e13","name":"tf-test-account-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup","updated_at":"2024-03-26T10:57:18.657757Z"}' headers: Content-Length: - - "528" + - "480" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:29 GMT + - Tue, 26 Mar 2024 10:57:18 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9dbe8628-91d6-46b3-8f64-7282bf36819d + - a8633aeb-6750-4e9c-9dbe-4dca62126d72 status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/301908f3-070a-4ffe-8aa7-b1f8a84ba09d + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/266d6ee2-423b-4bb6-bdad-c991132b0e13 method: GET response: - body: '{"created_at":"2023-03-30T13:40:28.471119Z","disabled":false,"fingerprint":"256 - MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf opensource@scaleway.com - (ssh-ed25519)","id":"301908f3-070a-4ffe-8aa7-b1f8a84ba09d","name":"tf-test-account-ssh-key-newline","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup opensource@scaleway.com","updated_at":"2023-03-30T13:40:28.471119Z"}' + body: '{"created_at":"2024-03-26T10:57:18.657757Z","disabled":false,"fingerprint":"256 + MD5:7e:49:97:21:a6:ef:e1:31:45:17:70:95:7a:44:9b:cf (ssh-ed25519)","id":"266d6ee2-423b-4bb6-bdad-c991132b0e13","name":"tf-test-account-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup","updated_at":"2024-03-26T10:57:18.657757Z"}' headers: Content-Length: - - "528" + - "480" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:29 GMT + - Tue, 26 Mar 2024 10:57:19 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9f81d98-bb0e-459a-851c-281fb90c3b5c + - 377f9dc8-c506-4591-b3bb-7dc40db6f94d status: 200 OK code: 200 duration: "" @@ -153,9 +149,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/301908f3-070a-4ffe-8aa7-b1f8a84ba09d + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/266d6ee2-423b-4bb6-bdad-c991132b0e13 method: DELETE response: body: "" @@ -165,9 +161,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:40:29 GMT + - Tue, 26 Mar 2024 10:57:19 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -175,7 +171,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e658ccf3-fb10-4e70-a2d5-08881357b5b6 + - a8ab66d5-a775-4817-a81b-e0c15094b07d status: 204 No Content code: 204 duration: "" diff --git a/scaleway/testdata/data-source-account-ssh-key-basic.cassette.yaml b/scaleway/testdata/data-source-account-ssh-key-basic.cassette.yaml index 2f3c901cd..315c63a53 100644 --- a/scaleway/testdata/data-source-account-ssh-key-basic.cassette.yaml +++ b/scaleway/testdata/data-source-account-ssh-key-basic.cassette.yaml @@ -3,31 +3,31 @@ version: 1 interactions: - request: body: '{"name":"TestAccScalewayDataSourceAccountSSHKey_Basic","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a"}' + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:10 GMT + - Tue, 26 Mar 2024 10:59:54 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -35,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58d6e88f-042f-4188-b8c8-072be38852a3 + - 26bcdce0-d989-4de1-913f-6b0fc1f76f13 status: 200 OK code: 200 duration: "" @@ -44,25 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:10 GMT + - Tue, 26 Mar 2024 10:59:54 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 24de9fc6-e7c0-4194-9932-810221bc6377 + - a4e9803a-7f63-44f8-a5e5-234857d66dc4 status: 200 OK code: 200 duration: "" @@ -79,25 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -105,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 408b94f7-0b4b-4e5d-b544-115bb05815e9 + - 6df96144-36ac-46e6-8dc2-06f72999cd5f status: 200 OK code: 200 duration: "" @@ -114,25 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -140,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d2c80d8e-5c6a-48f9-a7ed-102b15b34f92 + - 18982d5f-b10e-4093-abde-776e6e2e8b4d status: 200 OK code: 200 duration: "" @@ -149,25 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -175,7 +175,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 31cfc0c1-3800-442d-a082-937fae07b477 + - 34e2cb27-3498-4f56-b756-ff3ef16c43a6 status: 200 OK code: 200 duration: "" @@ -184,25 +184,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=TestAccScalewayDataSourceAccountSSHKey_Basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}],"total_count":1}' headers: Content-Length: - - "562" + - "524" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -210,7 +210,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 428bef9a-82f8-4a7c-9965-381294a98beb + - 616cb125-e18a-4570-bbac-30dfd90ee177 status: 200 OK code: 200 duration: "" @@ -219,25 +219,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -245,7 +245,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58eb8819-6896-4c93-92d9-7607ef9856a9 + - e8f2597e-3611-4161-b0fd-96a58fb8edff status: 200 OK code: 200 duration: "" @@ -254,25 +254,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -280,7 +280,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af6902d6-49f7-491f-b03c-bc6e3211b132 + - dfed67b8-5ffd-4691-bad6-ce9e0ba0b851 status: 200 OK code: 200 duration: "" @@ -289,25 +289,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=TestAccScalewayDataSourceAccountSSHKey_Basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}],"total_count":1}' headers: Content-Length: - - "562" + - "524" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:55 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -315,7 +315,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - afec0236-572a-4884-9592-67322a569f0c + - 3596bac6-3bb0-4768-a8e8-d904ae6290d5 status: 200 OK code: 200 duration: "" @@ -324,25 +324,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:11 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,7 +350,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e1eb38e-1927-484a-86ef-f715e97cde1b + - 9b013cc5-8a2b-4a8e-9f04-b4a4f963c86a status: 200 OK code: 200 duration: "" @@ -359,25 +359,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -385,7 +385,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 35fdac34-21ad-4318-b35b-356931ab9dd5 + - a3933b3f-51b8-4d89-aeac-cc483d499f5b status: 200 OK code: 200 duration: "" @@ -394,25 +394,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -420,7 +420,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fad0a085-daf6-4b86-a7c6-54cb7d0954f6 + - c77d5d81-a889-46ec-afd6-327a784d7dae status: 200 OK code: 200 duration: "" @@ -429,25 +429,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -455,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5232c574-2da0-4ac8-a339-1eda2a4fad03 + - 34f6c698-bdf2-4587-b316-5239ffb4bef1 status: 200 OK code: 200 duration: "" @@ -464,25 +464,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=TestAccScalewayDataSourceAccountSSHKey_Basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}],"total_count":1}' headers: Content-Length: - - "562" + - "524" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -490,7 +490,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d2fdae92-1514-4e6a-83a8-a7f2e1337c40 + - 9048ba83-77b9-4e84-bb52-98fa1a27a520 status: 200 OK code: 200 duration: "" @@ -499,25 +499,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -525,7 +525,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e1e6fa8f-65de-4f56-beba-1adfe90aaa96 + - bc4a16a2-70d0-4432-8055-81652e5d55f1 status: 200 OK code: 200 duration: "" @@ -534,25 +534,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:56 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -560,7 +560,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2b58c110-5050-48a3-b2f4-b390d8b5dccf + - d2098758-1420-42b8-9db7-afe5facd90dd status: 200 OK code: 200 duration: "" @@ -569,25 +569,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -595,7 +595,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dbfd722b-6c31-414b-857c-55c82b5a5a83 + - a9d646c7-e23a-4bfe-835c-a0c6210b14f4 status: 200 OK code: 200 duration: "" @@ -604,25 +604,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=TestAccScalewayDataSourceAccountSSHKey_Basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}],"total_count":1}' headers: Content-Length: - - "562" + - "524" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -630,7 +630,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 514102ab-0b9d-4729-b7e3-e2315fc64250 + - dbb79fea-b8ca-437e-864f-b38168f9c728 status: 200 OK code: 200 duration: "" @@ -639,25 +639,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:12 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -665,7 +665,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bc63ee2e-7d82-43fe-ad88-8f610dba3fad + - 1b9b0ff5-dbbe-4c9e-b5ae-d6e40cfcae3a status: 200 OK code: 200 duration: "" @@ -674,25 +674,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=TestAccScalewayDataSourceAccountSSHKey_Basic&order_by=created_at_asc + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}],"total_count":1}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "562" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:13 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -700,7 +700,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 887a394d-89f1-41fa-a444-cf284236c2c8 + - fac93e64-e1c9-4f7c-8b66-0ed7320510e1 status: 200 OK code: 200 duration: "" @@ -709,25 +709,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=TestAccScalewayDataSourceAccountSSHKey_Basic&order_by=created_at_asc method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}],"total_count":1}' headers: Content-Length: - - "531" + - "524" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:13 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -735,7 +735,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 14cae26a-0463-45f4-9aa6-ec6daee9ddec + - 176033c2-9d18-450a-a791-1fcbc9e41626 status: 200 OK code: 200 duration: "" @@ -744,25 +744,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: GET response: - body: '{"created_at":"2023-03-30T13:34:10.190638Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"5d256bf6-bf4f-46ca-add0-0f68fbf79c9c","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-03-30T13:34:10.190638Z"}' + body: '{"created_at":"2024-03-26T10:59:54.615323Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b","name":"TestAccScalewayDataSourceAccountSSHKey_Basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T10:59:54.615323Z"}' headers: Content-Length: - - "531" + - "493" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:13 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -770,7 +770,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 061c4b07-b894-4c0a-a7fb-b8d1a908632b + - 334598c9-11f7-4939-9c6f-e98a5fe4f367 status: 200 OK code: 200 duration: "" @@ -779,9 +779,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5d256bf6-bf4f-46ca-add0-0f68fbf79c9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2c8bb8e5-30d0-4022-93ab-75ef3ebfc44b method: DELETE response: body: "" @@ -791,9 +791,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Mar 2023 13:34:13 GMT + - Tue, 26 Mar 2024 10:59:57 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -801,7 +801,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 16f85787-06ab-4edc-ac43-7fcaac58ff07 + - 5879266a-5f34-400b-a42b-4badd4b4b505 status: 204 No Content code: 204 duration: "" diff --git a/scaleway/testdata/data-source-iam-ssh-key-basic.cassette.yaml b/scaleway/testdata/data-source-iam-ssh-key-basic.cassette.yaml index e8193d938..76fbfa065 100644 --- a/scaleway/testdata/data-source-iam-ssh-key-basic.cassette.yaml +++ b/scaleway/testdata/data-source-iam-ssh-key-basic.cassette.yaml @@ -3,31 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-ds-iam-ssh-key-basic","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ - foobar@example.com","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b"}' + foobar@example.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:10 GMT + - Tue, 26 Mar 2024 11:00:35 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -35,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dd2492c3-6840-43e4-bebf-d283b3039ea5 + - e984efd8-b91a-41c6-85d0-0da93c07399f status: 200 OK code: 200 duration: "" @@ -44,25 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:10 GMT + - Tue, 26 Mar 2024 11:00:35 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -70,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 389c5a54-83c5-4aa3-94be-fb4c6915fd79 + - 0b93eb42-79cb-454a-b13a-dc288d785e0e status: 200 OK code: 200 duration: "" @@ -79,25 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:35 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -105,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7a0d62d4-8659-4b51-806e-a0f6f8d2cdde + - 750d30b9-5dde-4d96-b5cc-1e7af849fe58 status: 200 OK code: 200 duration: "" @@ -114,25 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:36 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -140,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a0cfc6d-9a2c-4258-886c-b4f7c14b6da8 + - e027df05-2d99-4e2c-9dba-5582afc5c45b status: 200 OK code: 200 duration: "" @@ -149,25 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}],"total_count":1}' headers: Content-Length: - - "546" + - "508" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:37 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -175,7 +175,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1bc26586-664d-40ca-b004-bce613ec4806 + - 92b24534-1fd7-4ce8-9290-5580ae8b22d1 status: 200 OK code: 200 duration: "" @@ -184,25 +184,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:37 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -210,7 +210,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 52ca61de-331c-42a7-acea-6d929c02a71d + - ceeba276-e826-45ab-bb63-27897ce24190 status: 200 OK code: 200 duration: "" @@ -219,25 +219,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:37 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -245,7 +245,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b2897e53-73a9-4476-a948-9eb655ad2242 + - 9a3ce4b6-693a-4455-a42d-d7bb1ea76c6d status: 200 OK code: 200 duration: "" @@ -254,25 +254,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}],"total_count":1}' headers: Content-Length: - - "546" + - "508" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:37 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -280,7 +280,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11bae96c-5580-4654-96a0-aaa187cdb586 + - 61215ff5-2edd-4b49-9ce5-6caf5688bf1b status: 200 OK code: 200 duration: "" @@ -289,25 +289,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:37 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -315,7 +315,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b1f2c669-20d1-4dd4-b5d0-a433719d2c10 + - 45ff5619-a0d9-4337-866d-47143ccb145d status: 200 OK code: 200 duration: "" @@ -324,25 +324,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 11:00:37 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,7 +350,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7ee303e4-3532-445e-8ba3-0dff28554b35 + - c469dfa6-9ef9-4ef5-a3ef-ed7c8457d1c2 status: 200 OK code: 200 duration: "" @@ -359,25 +359,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:38 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -385,7 +385,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1d0306c8-1f84-43af-8e72-247d07e4323b + - 342cbe22-ab07-400d-8150-340fe7669f99 status: 200 OK code: 200 duration: "" @@ -394,25 +394,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:38 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -420,7 +420,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2c4812a4-f171-4a4f-9766-b1492cc8c573 + - 108ef831-ca0f-4b75-83ae-a166ae730387 status: 200 OK code: 200 duration: "" @@ -429,25 +429,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}],"total_count":1}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "546" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:38 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -455,7 +455,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f53e9cd2-3b3d-476e-b19a-ed676a5adc59 + - 50fd3d6b-1891-4da2-bf80-60fcb635c198 status: 200 OK code: 200 duration: "" @@ -464,25 +464,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}],"total_count":1}' headers: Content-Length: - - "515" + - "508" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:38 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -490,7 +490,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f42d12ad-46df-4c08-896a-fdd4c976913b + - b16c594b-e113-47aa-9315-88f9771cf9e3 status: 200 OK code: 200 duration: "" @@ -499,25 +499,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -525,7 +525,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - da38b6c5-6851-48b4-aefb-8a599deac591 + - 4e695e73-c65e-41c5-95d1-8b19b3af6535 status: 200 OK code: 200 duration: "" @@ -534,25 +534,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -560,7 +560,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 065d92f7-03f6-4466-9857-bc9ce8f96251 + - bb3e9cc1-669e-4e4e-b4db-bff47a68e9f3 status: 200 OK code: 200 duration: "" @@ -569,25 +569,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}],"total_count":1}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}],"total_count":1}' headers: Content-Length: - - "546" + - "508" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -595,7 +595,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 36113ab9-2b24-4b1d-adc1-213839afef22 + - 24b5ce25-2d52-443f-833c-4f99a65b616f status: 200 OK code: 200 duration: "" @@ -604,25 +604,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -630,7 +630,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5f698879-5126-44bd-ab4a-1f2c6e858d63 + - 9d1d9157-2628-471a-b3c3-211affed7a78 status: 200 OK code: 200 duration: "" @@ -639,25 +639,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -665,7 +665,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d2181311-7b5c-40b1-90ce-6dc5b4bce7aa + - f68893a8-213f-4302-a211-dc879a8167e7 status: 200 OK code: 200 duration: "" @@ -674,25 +674,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"ssh_keys":[{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}],"total_count":1}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "546" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -700,7 +700,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cec54f68-37c7-48df-ab1c-778c6cb2574a + - e0b26fca-3e2a-46d1-9f24-21980953c4ac status: 200 OK code: 200 duration: "" @@ -709,25 +709,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys?name=tf-test-ds-iam-ssh-key-basic&order_by=created_at_asc method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"ssh_keys":[{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}],"total_count":1}' headers: Content-Length: - - "515" + - "508" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:39 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -735,7 +735,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2c811253-31fb-4beb-affb-98a138500393 + - e1698dac-ef76-4c98-a530-ec48eeeb46da status: 200 OK code: 200 duration: "" @@ -744,25 +744,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.374368Z","disabled":false,"fingerprint":"256 - MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d foobar@example.com (ssh-ed25519)","id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com","updated_at":"2023-06-21T12:28:10.374368Z"}' + body: '{"created_at":"2024-03-26T11:00:34.958219Z","disabled":false,"fingerprint":"256 + MD5:fd:2d:1c:d2:34:96:3f:8d:de:19:1e:da:f5:c1:05:7d (ssh-ed25519)","id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","name":"tf-test-ds-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ","updated_at":"2024-03-26T11:00:34.958219Z"}' headers: Content-Length: - - "515" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 11:00:40 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -770,7 +770,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bf5036c3-99c4-406e-a6f6-b98cb7a93b94 + - fa788533-17ec-4c12-9b2f-7631e8760ad7 status: 200 OK code: 200 duration: "" @@ -779,9 +779,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: DELETE response: body: "" @@ -791,9 +791,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:13 GMT + - Tue, 26 Mar 2024 11:00:41 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -801,7 +801,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 54158737-fc36-46ac-9ff6-6010bfd4827d + - 91ba1740-0c64-43b1-b147-b688d1c48fca status: 204 No Content code: 204 duration: "" @@ -810,12 +810,12 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","type":"not_found"}' headers: Content-Length: - "128" @@ -824,9 +824,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:13 GMT + - Tue, 26 Mar 2024 11:00:41 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -834,7 +834,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a460ad1f-19f2-4277-bc0d-64c9a8025d80 + - a259999a-5a63-4d19-91a1-2131d9acc5a7 status: 404 Not Found code: 404 duration: "" @@ -843,12 +843,12 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","type":"not_found"}' headers: Content-Length: - "128" @@ -857,9 +857,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:13 GMT + - Tue, 26 Mar 2024 11:00:41 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -867,7 +867,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dec22f52-6a5e-4738-88f1-8d965b807347 + - b3e0cc93-5545-4ea1-a12f-a07b4c68ced5 status: 404 Not Found code: 404 duration: "" @@ -876,12 +876,12 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/342b8482-7bb5-45f4-8a7e-22bedabcbe6e + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/206b00d4-023e-48ee-89cf-95dab4d5a4d3 method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"342b8482-7bb5-45f4-8a7e-22bedabcbe6e","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"206b00d4-023e-48ee-89cf-95dab4d5a4d3","type":"not_found"}' headers: Content-Length: - "128" @@ -890,9 +890,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:13 GMT + - Tue, 26 Mar 2024 11:00:41 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -900,7 +900,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6480b943-ec6f-407f-9346-503a91902984 + - cf06a268-bd37-425b-9b7a-eb61bbf810e5 status: 404 Not Found code: 404 duration: "" diff --git a/scaleway/testdata/iam-ssh-key-basic.cassette.yaml b/scaleway/testdata/iam-ssh-key-basic.cassette.yaml index cec1d406e..34e2e3dda 100644 --- a/scaleway/testdata/iam-ssh-key-basic.cassette.yaml +++ b/scaleway/testdata/iam-ssh-key-basic.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-iam-ssh-key-basic","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO - opensource@scaleway.com","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60"}' + opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:00.554098Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:06.409311Z"}' headers: Content-Length: - - "522" + - "474" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:00 GMT + - Tue, 26 Mar 2024 10:58:06 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ded17458-f46b-406c-8255-ed817e035a42 + - 23ea1667-ebae-4d9b-a207-45875c389452 status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:00.554098Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:06.409311Z"}' headers: Content-Length: - - "522" + - "474" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:01 GMT + - Tue, 26 Mar 2024 10:58:06 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 120c88f6-96bf-48a1-8c6f-feb797eb1c97 + - b6d0f2f7-414f-4eba-998c-ddc22f96bdd1 status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:00.554098Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:06.409311Z"}' headers: Content-Length: - - "522" + - "474" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:01 GMT + - Tue, 26 Mar 2024 10:58:06 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9328ec93-4749-480a-854a-c83ebbc3a34c + - 73305c18-4ce8-4e19-a990-bc6cb78ec266 status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:00.554098Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:06.409311Z"}' headers: Content-Length: - - "522" + - "474" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:01 GMT + - Tue, 26 Mar 2024 10:58:07 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 554488cf-bff1-49bf-a211-8354770df571 + - 09792374-3f1a-4d92-8adf-8a228ab2349b status: 200 OK code: 200 duration: "" @@ -153,26 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:00.554098Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:06.409311Z"}' headers: Content-Length: - - "522" + - "474" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:02 GMT + - Tue, 26 Mar 2024 10:58:07 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -180,37 +175,36 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e4130f5-ea85-4d49-ba80-8819861f5977 + - 686b6e6d-3a3b-4f8f-91b2-86b0703961d0 status: 200 OK code: 200 duration: "" - request: - body: '{"name":"tf-test-iam-ssh-key-basic-updated","disabled":null}' + body: '{"name":"tf-test-iam-ssh-key-basic-updated"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: PATCH response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic-updated","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:02.509564Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:08.128188Z"}' headers: Content-Length: - - "530" + - "482" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:02 GMT + - Tue, 26 Mar 2024 10:58:08 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -218,7 +212,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12c558ee-7883-40dc-9f17-442085c4e199 + - 2ba370ef-5951-4571-a087-81f84bcbf0d9 status: 200 OK code: 200 duration: "" @@ -227,26 +221,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic-updated","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:02.509564Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:08.128188Z"}' headers: Content-Length: - - "530" + - "482" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:02 GMT + - Tue, 26 Mar 2024 10:58:08 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -254,7 +247,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 597cc964-1801-4b68-ab95-b047b8f5e62f + - 277d3a26-8b76-438b-9d96-1dc3890307a3 status: 200 OK code: 200 duration: "" @@ -263,26 +256,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic-updated","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:02.509564Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:08.128188Z"}' headers: Content-Length: - - "530" + - "482" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:02 GMT + - Tue, 26 Mar 2024 10:58:08 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -290,7 +282,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 96abdd4e-c3bf-4fc5-b56f-d47e7983c26c + - 8eb3aba9-08e6-4cc2-bb1b-2860694a2d1c status: 200 OK code: 200 duration: "" @@ -299,26 +291,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"id":"2ef25340-4135-4ecf-9544-8424692f1e9c","name":"tf-test-iam-ssh-key-basic-updated","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.554098Z","updated_at":"2022-06-30T08:40:02.509564Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:06.409311Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","name":"tf-test-iam-ssh-key-basic-updated","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:08.128188Z"}' headers: Content-Length: - - "530" + - "482" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:03 GMT + - Tue, 26 Mar 2024 10:58:08 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -326,7 +317,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a2b523b-f69e-46fc-9e1c-2d87508ae5b4 + - c4f54463-ee95-4217-adfe-2d01896ebbfe status: 200 OK code: 200 duration: "" @@ -335,9 +326,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: DELETE response: body: "" @@ -347,9 +338,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:03 GMT + - Tue, 26 Mar 2024 10:58:09 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -357,7 +348,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ba660a25-02ef-4c97-850f-eb5f1048ffdb + - 223cdb03-4f87-44a0-b6df-b0fbaa5c9ce9 status: 204 No Content code: 204 duration: "" @@ -366,23 +357,23 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/2ef25340-4135-4ecf-9544-8424692f1e9c + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/aa5f3eee-0447-438f-8fef-d2622961e7ae method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key_id","resource_id":"2ef25340-4135-4ecf-9544-8424692f1e9c","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"aa5f3eee-0447-438f-8fef-d2622961e7ae","type":"not_found"}' headers: Content-Length: - - "131" + - "128" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:03 GMT + - Tue, 26 Mar 2024 10:58:09 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -390,7 +381,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b1c44c00-d3e2-4a41-a720-e8d3f089b2b0 + - 31939a84-1e34-4cbf-9780-a56bb2b2745b status: 404 Not Found code: 404 duration: "" diff --git a/scaleway/testdata/iam-ssh-key-change-resource-name.cassette.yaml b/scaleway/testdata/iam-ssh-key-change-resource-name.cassette.yaml index 36154d7eb..557068eec 100644 --- a/scaleway/testdata/iam-ssh-key-change-resource-name.cassette.yaml +++ b/scaleway/testdata/iam-ssh-key-change-resource-name.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-iam-ssh-key-change-resource-name","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b"}' + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-06-21T12:28:10.360283Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5cd876dc-1ec3-4e47-9572-28c7b320f3f5","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:10.360283Z"}' + body: '{"created_at":"2024-03-26T10:58:09.946929Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"57e2dd68-8147-45c6-94c9-cca8cd55340d","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:09.946929Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:10 GMT + - Tue, 26 Mar 2024 10:58:09 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58171ee4-5d7b-48bb-9fcb-f8d24181b397 + - 921a2572-e907-4b5e-bd69-208535dca15c status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5cd876dc-1ec3-4e47-9572-28c7b320f3f5 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/57e2dd68-8147-45c6-94c9-cca8cd55340d method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.360283Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5cd876dc-1ec3-4e47-9572-28c7b320f3f5","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:10.360283Z"}' + body: '{"created_at":"2024-03-26T10:58:09.946929Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"57e2dd68-8147-45c6-94c9-cca8cd55340d","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:09.946929Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:10 GMT + - Tue, 26 Mar 2024 10:58:10 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a47d127-cf7c-43e3-8d14-4b6090028c4d + - 5559aeaf-560c-41d8-aaf6-6a9118f6f161 status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5cd876dc-1ec3-4e47-9572-28c7b320f3f5 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/57e2dd68-8147-45c6-94c9-cca8cd55340d method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.360283Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5cd876dc-1ec3-4e47-9572-28c7b320f3f5","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:10.360283Z"}' + body: '{"created_at":"2024-03-26T10:58:09.946929Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"57e2dd68-8147-45c6-94c9-cca8cd55340d","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:09.946929Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:10 GMT + - Tue, 26 Mar 2024 10:58:10 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3fecaeb6-c768-4211-9a50-2c40aebef793 + - 4261f150-59cc-4f36-afe7-1b3e2d04a26b status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5cd876dc-1ec3-4e47-9572-28c7b320f3f5 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/57e2dd68-8147-45c6-94c9-cca8cd55340d method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.360283Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5cd876dc-1ec3-4e47-9572-28c7b320f3f5","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:10.360283Z"}' + body: '{"created_at":"2024-03-26T10:58:09.946929Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"57e2dd68-8147-45c6-94c9-cca8cd55340d","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:09.946929Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 10:58:10 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 089b64e2-9d46-4a97-8a77-f4fc410d7716 + - 1735531b-6bf2-4e21-89be-ac7ed912b4c3 status: 200 OK code: 200 duration: "" @@ -153,26 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5cd876dc-1ec3-4e47-9572-28c7b320f3f5 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/57e2dd68-8147-45c6-94c9-cca8cd55340d method: GET response: - body: '{"created_at":"2023-06-21T12:28:10.360283Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5cd876dc-1ec3-4e47-9572-28c7b320f3f5","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:10.360283Z"}' + body: '{"created_at":"2024-03-26T10:58:09.946929Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"57e2dd68-8147-45c6-94c9-cca8cd55340d","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:09.946929Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:11 GMT + - Tue, 26 Mar 2024 10:58:10 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -180,7 +175,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63348bb4-4c6c-45ee-b606-51afac6ea35c + - 16474f22-813a-497a-8b4a-57f08cf77841 status: 200 OK code: 200 duration: "" @@ -189,9 +184,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5cd876dc-1ec3-4e47-9572-28c7b320f3f5 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/57e2dd68-8147-45c6-94c9-cca8cd55340d method: DELETE response: body: "" @@ -201,9 +196,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 10:58:11 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -211,38 +206,37 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c6c8153c-840e-41a8-955c-66a36c9378d9 + - aa46e52f-8d54-4b46-ba21-6b82c449c9a0 status: 204 No Content code: 204 duration: "" - request: body: '{"name":"tf-test-iam-ssh-key-change-resource-name","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b"}' + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"created_at":"2023-06-21T12:28:12.042560Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:12.042560Z"}' + body: '{"created_at":"2024-03-26T10:58:11.444411Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"c3956a33-f431-482f-ab37-9e8bda37d8f8","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:11.444411Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 10:58:11 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,7 +244,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - da30f3ea-3281-4a82-98b1-f683fa0ca367 + - b7a87ad8-e6a5-410b-ad7c-a1bf57581ef9 status: 200 OK code: 200 duration: "" @@ -259,26 +253,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/c3956a33-f431-482f-ab37-9e8bda37d8f8 method: GET response: - body: '{"created_at":"2023-06-21T12:28:12.042560Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:12.042560Z"}' + body: '{"created_at":"2024-03-26T10:58:11.444411Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"c3956a33-f431-482f-ab37-9e8bda37d8f8","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:11.444411Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 10:58:11 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -286,7 +279,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 36350725-1360-42ef-a0e9-911b16d2bc4e + - d378e8d9-4f3a-4b35-828a-2bbd2eafdb76 status: 200 OK code: 200 duration: "" @@ -295,26 +288,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/c3956a33-f431-482f-ab37-9e8bda37d8f8 method: GET response: - body: '{"created_at":"2023-06-21T12:28:12.042560Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:12.042560Z"}' + body: '{"created_at":"2024-03-26T10:58:11.444411Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"c3956a33-f431-482f-ab37-9e8bda37d8f8","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:11.444411Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 10:58:11 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -322,7 +314,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 65447d5a-f978-4adc-9cdd-edfdaa10ac0b + - aff683e6-1fb7-47d9-9a43-ada1f5223b5c status: 200 OK code: 200 duration: "" @@ -331,26 +323,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/c3956a33-f431-482f-ab37-9e8bda37d8f8 method: GET response: - body: '{"created_at":"2023-06-21T12:28:12.042560Z","disabled":false,"fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","id":"5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","updated_at":"2023-06-21T12:28:12.042560Z"}' + body: '{"created_at":"2024-03-26T10:58:11.444411Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"c3956a33-f431-482f-ab37-9e8bda37d8f8","name":"tf-test-iam-ssh-key-change-resource-name","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:11.444411Z"}' headers: Content-Length: - - "537" + - "489" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:12 GMT + - Tue, 26 Mar 2024 10:58:12 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -358,7 +349,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 103cc245-d20a-4808-9d0d-e345d83dc462 + - b512113c-e956-4b79-937d-06b5dcefad17 status: 200 OK code: 200 duration: "" @@ -367,9 +358,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/c3956a33-f431-482f-ab37-9e8bda37d8f8 method: DELETE response: body: "" @@ -379,9 +370,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:13 GMT + - Tue, 26 Mar 2024 10:58:12 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -389,7 +380,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 226a994a-01eb-4e13-b96b-b39de8fc9a69 + - 6242c2ca-2c44-4b6f-830f-96f925af98d0 status: 204 No Content code: 204 duration: "" @@ -398,12 +389,12 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/c3956a33-f431-482f-ab37-9e8bda37d8f8 method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"5a9894a6-cbaf-4f37-b3f8-7e2fa2f5add7","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"c3956a33-f431-482f-ab37-9e8bda37d8f8","type":"not_found"}' headers: Content-Length: - "128" @@ -412,9 +403,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 21 Jun 2023 12:28:13 GMT + - Tue, 26 Mar 2024 10:58:12 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -422,7 +413,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ab2857ea-0a9c-4236-be07-5c0776ceadf9 + - 1e8a44e1-6033-4ed9-a52a-ba28cb2395a8 status: 404 Not Found code: 404 duration: "" diff --git a/scaleway/testdata/iam-ssh-key-disabled.cassette.yaml b/scaleway/testdata/iam-ssh-key-disabled.cassette.yaml index 2aab5fbdd..864e0aaed 100644 --- a/scaleway/testdata/iam-ssh-key-disabled.cassette.yaml +++ b/scaleway/testdata/iam-ssh-key-disabled.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO - opensource@scaleway.com","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60"}' + opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:09.333965Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:13.364623Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:09 GMT + - Tue, 26 Mar 2024 10:58:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9b21d662-4671-4f30-8314-558162d3294c + - f1657cd2-2999-4eab-8ca7-6de9101886e6 status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:09.333965Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:13.364623Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:09 GMT + - Tue, 26 Mar 2024 10:58:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58fe4c0a-033b-4662-8fcb-0fd8805d7a97 + - 06ef5e07-d6eb-42fc-adfd-4b46c628327d status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:09.333965Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:13.364623Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:09 GMT + - Tue, 26 Mar 2024 10:58:13 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 534418ce-ff6a-4141-94a7-49e476f65e62 + - 446393f9-1ce2-497c-95b0-0657635e38be status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:09.333965Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:13.364623Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:09 GMT + - Tue, 26 Mar 2024 10:58:14 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a854888f-bb66-49bd-aa9c-531b7427f3ac + - 4311f80f-acdd-479c-99f0-5ba23e69963c status: 200 OK code: 200 duration: "" @@ -153,26 +149,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:09.333965Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:13.364623Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:10 GMT + - Tue, 26 Mar 2024 10:58:14 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -180,37 +175,36 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 67dcf09c-616c-4fdb-831c-2043f8883b00 + - 17cfe32e-673a-4532-a767-5c649db9ebc2 status: 200 OK code: 200 duration: "" - request: - body: '{"name":null,"disabled":true}' + body: '{"disabled":true}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: PATCH response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:10.343371Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":true}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":true,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:14.830192Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:10 GMT + - Tue, 26 Mar 2024 10:58:14 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -218,7 +212,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f914ff11-4c4b-4073-9a75-f7685b780897 + - 593632b2-28c0-464f-b6b9-34cf02b04651 status: 200 OK code: 200 duration: "" @@ -227,26 +221,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:10.343371Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":true}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":true,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:14.830192Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:10 GMT + - Tue, 26 Mar 2024 10:58:14 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -254,7 +247,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7c3e3295-2da2-4bb7-92aa-8d3cf2e67d44 + - a5fbad45-4581-4dc9-9d59-acd1cf5b3dca status: 200 OK code: 200 duration: "" @@ -263,26 +256,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:10.343371Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":true}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":true,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:14.830192Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:10 GMT + - Tue, 26 Mar 2024 10:58:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -290,7 +282,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9642699-08f7-4ab6-9a71-453b56e1cf42 + - bfdc0e36-ca79-46ca-b823-7393c2248a5f status: 200 OK code: 200 duration: "" @@ -299,26 +291,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:10.343371Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":true}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":true,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:14.830192Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:10 GMT + - Tue, 26 Mar 2024 10:58:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -326,7 +317,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fe48d957-bcd5-4085-9025-c9c6ec621906 + - 7042e877-2e63-4c0d-b5fe-5e341638e528 status: 200 OK code: 200 duration: "" @@ -335,26 +326,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:10.343371Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":true}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":true,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:14.830192Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:11 GMT + - Tue, 26 Mar 2024 10:58:15 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -362,37 +352,36 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b024ed3a-7e06-4d89-9ec4-29ee224e9f5c + - ff6512e9-a119-4f5e-8f84-e6a8e70ddc31 status: 200 OK code: 200 duration: "" - request: - body: '{"name":null,"disabled":false}' + body: '{"disabled":false}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: PATCH response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:11.356832Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:16.306402Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:11 GMT + - Tue, 26 Mar 2024 10:58:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -400,7 +389,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4caed0ea-fa27-44c2-a0bf-267ab0799ac4 + - ecb14808-6b60-4ebb-91c8-5c2b39c8f707 status: 200 OK code: 200 duration: "" @@ -409,26 +398,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:11.356832Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:16.306402Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:11 GMT + - Tue, 26 Mar 2024 10:58:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -436,7 +424,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12f87e4d-e57c-41e2-a2d4-3c5ecb2099b6 + - 0c12d9d1-1532-4c2d-84be-7113a6de717d status: 200 OK code: 200 duration: "" @@ -445,26 +433,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:11.356832Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:16.306402Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:11 GMT + - Tue, 26 Mar 2024 10:58:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -472,7 +459,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 51cec0d3-c596-40ab-8e09-927b8147a017 + - 7ab95521-c210-47f6-8ab6-cb84137a0928 status: 200 OK code: 200 duration: "" @@ -481,26 +468,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"id":"db313676-c392-4b73-97e1-30f47b239875","name":"tf-test-iam-ssh-key-disabled","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-07-04T14:28:09.333965Z","updated_at":"2022-07-04T14:28:11.356832Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:13.364623Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","name":"tf-test-iam-ssh-key-disabled","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:16.306402Z"}' headers: Content-Length: - - "525" + - "477" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:11 GMT + - Tue, 26 Mar 2024 10:58:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -508,7 +494,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 151517d0-f776-4814-b8e8-94144fe3c7ad + - 16c2286c-a757-46c9-b43b-7fa583086676 status: 200 OK code: 200 duration: "" @@ -517,9 +503,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: DELETE response: body: "" @@ -529,9 +515,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:12 GMT + - Tue, 26 Mar 2024 10:58:17 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -539,7 +525,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a57f6c13-56f0-4cab-a314-014daf3d3e0c + - fea98a83-6473-469b-8ef2-483320684005 status: 204 No Content code: 204 duration: "" @@ -548,23 +534,23 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/db313676-c392-4b73-97e1-30f47b239875 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9865a00c-91e2-4245-afbc-d2b33db4f9e4 method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key_id","resource_id":"db313676-c392-4b73-97e1-30f47b239875","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"9865a00c-91e2-4245-afbc-d2b33db4f9e4","type":"not_found"}' headers: Content-Length: - - "131" + - "128" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 04 Jul 2022 14:28:12 GMT + - Tue, 26 Mar 2024 10:58:17 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -572,7 +558,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 29f484d4-dea6-48ba-84a5-7b0a7c41bc48 + - 23da2e63-4a9f-4c10-a4c9-339873571e4f status: 404 Not Found code: 404 duration: "" diff --git a/scaleway/testdata/iam-ssh-key-with-new-line.cassette.yaml b/scaleway/testdata/iam-ssh-key-with-new-line.cassette.yaml index 34d15ab50..4802d1494 100644 --- a/scaleway/testdata/iam-ssh-key-with-new-line.cassette.yaml +++ b/scaleway/testdata/iam-ssh-key-with-new-line.cassette.yaml @@ -3,32 +3,31 @@ version: 1 interactions: - request: body: '{"name":"tf-test-iam-ssh-key-newline","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO - opensource@scaleway.com","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60"}' + opensource@scaleway.com","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/ssh-keys method: POST response: - body: '{"id":"9a995ad2-d5b0-4125-8305-2d230da6e229","name":"tf-test-iam-ssh-key-newline","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.553555Z","updated_at":"2022-06-30T08:40:00.553555Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:18.512833Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"3218b9ec-0bac-4030-a633-b26685b9a33a","name":"tf-test-iam-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:18.512833Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:00 GMT + - Tue, 26 Mar 2024 10:58:18 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -36,7 +35,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 16dd63a7-c6ce-4892-b03e-d9f5e9f66c8a + - 859402b2-0186-4ea4-ab68-e2dd3c7dc399 status: 200 OK code: 200 duration: "" @@ -45,26 +44,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9a995ad2-d5b0-4125-8305-2d230da6e229 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/3218b9ec-0bac-4030-a633-b26685b9a33a method: GET response: - body: '{"id":"9a995ad2-d5b0-4125-8305-2d230da6e229","name":"tf-test-iam-ssh-key-newline","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.553555Z","updated_at":"2022-06-30T08:40:00.553555Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:18.512833Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"3218b9ec-0bac-4030-a633-b26685b9a33a","name":"tf-test-iam-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:18.512833Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:01 GMT + - Tue, 26 Mar 2024 10:58:18 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -72,7 +70,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8b3a1bd8-7166-42bb-bc52-364edeee88aa + - b571de2b-c293-435e-b555-4b770f08bdf5 status: 200 OK code: 200 duration: "" @@ -81,26 +79,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9a995ad2-d5b0-4125-8305-2d230da6e229 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/3218b9ec-0bac-4030-a633-b26685b9a33a method: GET response: - body: '{"id":"9a995ad2-d5b0-4125-8305-2d230da6e229","name":"tf-test-iam-ssh-key-newline","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.553555Z","updated_at":"2022-06-30T08:40:00.553555Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:18.512833Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"3218b9ec-0bac-4030-a633-b26685b9a33a","name":"tf-test-iam-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:18.512833Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:01 GMT + - Tue, 26 Mar 2024 10:58:18 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -108,7 +105,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11f6ea0a-c06a-4b3d-901f-0e1f5613e41b + - e1d7437c-cc1e-4257-9c05-527bafeb62e9 status: 200 OK code: 200 duration: "" @@ -117,26 +114,25 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9a995ad2-d5b0-4125-8305-2d230da6e229 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/3218b9ec-0bac-4030-a633-b26685b9a33a method: GET response: - body: '{"id":"9a995ad2-d5b0-4125-8305-2d230da6e229","name":"tf-test-iam-ssh-key-newline","public_key":"ssh-ed25519 - AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO opensource@scaleway.com","fingerprint":"256 - MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 opensource@scaleway.com - (ssh-ed25519)","created_at":"2022-06-30T08:40:00.553555Z","updated_at":"2022-06-30T08:40:00.553555Z","organization_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","project_id":"012eb4a7-a183-4fed-89fa-6ae2013bcf60","disabled":false}' + body: '{"created_at":"2024-03-26T10:58:18.512833Z","disabled":false,"fingerprint":"256 + MD5:6b:cd:72:8a:ae:45:24:4b:2b:72:f6:d0:6a:8d:16:06 (ssh-ed25519)","id":"3218b9ec-0bac-4030-a633-b26685b9a33a","name":"tf-test-iam-ssh-key-newline","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","public_key":"ssh-ed25519 + AAAAC3NzaC1lZDI1NTE5AAAAICJEoOOgQBLJPs4g/XcPTKT82NywNPpxeuA20FlOPlpO","updated_at":"2024-03-26T10:58:18.512833Z"}' headers: Content-Length: - - "524" + - "476" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:01 GMT + - Tue, 26 Mar 2024 10:58:19 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,7 +140,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2b0854a-b3ba-45f8-8b67-ccc60134a250 + - 49de5e29-16ac-43bf-be43-483aef178331 status: 200 OK code: 200 duration: "" @@ -153,9 +149,9 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9a995ad2-d5b0-4125-8305-2d230da6e229 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/3218b9ec-0bac-4030-a633-b26685b9a33a method: DELETE response: body: "" @@ -165,9 +161,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:02 GMT + - Tue, 26 Mar 2024 10:58:19 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -175,7 +171,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d2b63874-da1a-41bc-90a7-8ed3a37a6fa4 + - 933a8f1a-ae39-4e25-9792-8203e703a7fe status: 204 No Content code: 204 duration: "" @@ -184,23 +180,23 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.3; darwin; amd64) terraform-provider/develop + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/9a995ad2-d5b0-4125-8305-2d230da6e229 + url: https://api.scaleway.com/iam/v1alpha1/ssh-keys/3218b9ec-0bac-4030-a633-b26685b9a33a method: GET response: - body: '{"message":"resource is not found","resource":"ssh_key_id","resource_id":"9a995ad2-d5b0-4125-8305-2d230da6e229","type":"not_found"}' + body: '{"message":"resource is not found","resource":"ssh_key","resource_id":"3218b9ec-0bac-4030-a633-b26685b9a33a","type":"not_found"}' headers: Content-Length: - - "131" + - "128" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 30 Jun 2022 08:40:02 GMT + - Tue, 26 Mar 2024 10:58:19 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -208,7 +204,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 85655c7c-127d-4267-a1cb-18f6460f9288 + - 2a14876b-3c8c-4434-8350-0d64d593c53c status: 404 Not Found code: 404 duration: ""