diff --git a/Makefile b/Makefile index 79662834df..e696e9855d 100644 --- a/Makefile +++ b/Makefile @@ -9,3 +9,7 @@ test: fmt: golangci-lint run --fix ./... + +bump-sdk: + GOPROXY=direct go get -u github.com/scaleway/scaleway-sdk-go@master + go mod tidy diff --git a/cmd/scw/testdata/test-all-usage-block-snapshot-wait-usage.golden b/cmd/scw/testdata/test-all-usage-block-snapshot-wait-usage.golden index bcc4f838f9..cd8f67a53c 100644 --- a/cmd/scw/testdata/test-all-usage-block-snapshot-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-snapshot-wait-usage.golden @@ -13,7 +13,7 @@ ARGS: [timeout=5m0s] Timeout of the wait snapshot-id ID of the snapshot affected by the action. [terminal-status] Expected terminal status, will wait until this status is reached. (unknown_status | creating | available | error | deleting | deleted | in_use | locked | exporting) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for wait diff --git a/cmd/scw/testdata/test-all-usage-block-volume-wait-usage.golden b/cmd/scw/testdata/test-all-usage-block-volume-wait-usage.golden index 6fc2ad3a76..88961e2eda 100644 --- a/cmd/scw/testdata/test-all-usage-block-volume-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-block-volume-wait-usage.golden @@ -13,7 +13,7 @@ ARGS: [timeout=5m0s] Timeout of the wait volume-id ID of the volume affected by the action. [terminal-status] Expected terminal status, will wait until this status is reached. (unknown_status | creating | available | in_use | deleting | deleted | resizing | error | snapshotting | locked | updating) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for wait diff --git a/cmd/scw/testdata/test-all-usage-config-set-usage.golden b/cmd/scw/testdata/test-all-usage-config-set-usage.golden index d99fe659bd..14b74c6cad 100644 --- a/cmd/scw/testdata/test-all-usage-config-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-config-set-usage.golden @@ -20,8 +20,8 @@ ARGS: [insecure] Set to true to allow insecure HTTPS connections [default-organization-id] A default Scaleway organization id [default-project-id] A default Scaleway project id - [default-region] A default Scaleway region (fr-par | nl-ams | pl-waw) - [default-zone] A default Scaleway zone (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [default-region] A default Scaleway region (fr-par | nl-ams | pl-waw | it-mil) + [default-zone] A default Scaleway zone (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) [send-telemetry] Set to false to disable telemetry FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden index 52f1a227aa..54a2548330 100644 --- a/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-image-wait-usage.golden @@ -11,7 +11,7 @@ EXAMPLES: ARGS: image-id ID of the image. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) [timeout=1h0m0s] Timeout of the wait FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden index 541dce409f..a8c3568983 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-attach-usage.golden @@ -12,7 +12,7 @@ EXAMPLES: ARGS: ip IP or UUID of the IP. server-id UUID of the server to attach the IP to - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for attach diff --git a/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden index c46d3b289b..a8811c9d39 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ip-detach-usage.golden @@ -14,7 +14,7 @@ EXAMPLES: ARGS: ip IP or UUID of the IP. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for detach diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden index c69762fb46..9a997e7b7a 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-clear-usage.golden @@ -11,7 +11,7 @@ EXAMPLES: ARGS: security-group-id ID of the security group to reset. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for clear diff --git a/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden b/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden index 9c20c91e77..b9ae2cc21f 100644 --- a/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-security-group-edit-usage.golden @@ -9,7 +9,7 @@ USAGE: ARGS: security-group-id ID of the security group to reset. [mode=yaml] marshaling used when editing data (yaml | json) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for edit diff --git a/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden index abe25b4f77..64817771be 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-action-usage.golden @@ -12,7 +12,7 @@ EXAMPLES: ARGS: action The raw API action to perform, as listed with 'scw instance server list-actions' server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for action diff --git a/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden index e997482d85..047c6fc465 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-attach-ip-usage.golden @@ -15,7 +15,7 @@ EXAMPLES: ARGS: server-id ID of the server ip UUID of the IP to attach or its UUID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for attach-ip diff --git a/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden index 0a2f7f19d9..8e704e0c65 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-backup-usage.golden @@ -19,7 +19,7 @@ ARGS: server-id ID of the server to backup. [name=] Name of your backup. [unified] Whether or not the type of the snapshot is unified. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for backup diff --git a/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden index cdb44ebd17..0abd5c0686 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-console-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: server-id Server ID to connect to - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) [ws-url] WebSocket URL to connect to (overrides default) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden index e7ae6975ec..67f4e95974 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden @@ -51,7 +51,7 @@ ARGS: [boot-type=local] The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. (local | bootscript | rescue) [admin-password-encryption-ssh-key-id] ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server. [project-id] Project ID to use. If none is passed the default project ID will be used - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) [organization-id] Organization ID to use. If none is passed the default organization ID will be used FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden index ad6583025e..b952012b98 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-delete-usage.golden @@ -17,7 +17,7 @@ ARGS: [with-volumes=all] Delete the volumes attached to the server (none | local | block | root | all) [with-ip] Delete the IP attached to the server [force-shutdown] Force shutdown of the instance server before deleting it - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden index 0bf25198e2..9a70a38692 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-detach-ip-usage.golden @@ -11,7 +11,7 @@ EXAMPLES: ARGS: server-id UUID of the server. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for detach-ip diff --git a/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden index f78a85d47f..255e876336 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-enable-routed-ip-usage.golden @@ -13,7 +13,7 @@ EXAMPLES: ARGS: server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for enable-routed-ip diff --git a/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden index 756870449d..2b95ebfbab 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-reboot-usage.golden @@ -14,7 +14,7 @@ EXAMPLES: ARGS: server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for reboot diff --git a/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden index d2e53f8ea1..42aa08ea12 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-ssh-usage.golden @@ -10,7 +10,7 @@ ARGS: [username=root] Username used for the SSH connection [port=22] Port used for the SSH connection [command] Command to execute on the remote server - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for ssh diff --git a/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden index 23c582975c..dabd0e90b0 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-standby-usage.golden @@ -14,7 +14,7 @@ EXAMPLES: ARGS: server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for standby diff --git a/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden index f620c3a745..35ef56209f 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-start-usage.golden @@ -14,7 +14,7 @@ EXAMPLES: ARGS: server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for start diff --git a/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden index ba83902268..e79133c480 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-stop-usage.golden @@ -14,7 +14,7 @@ EXAMPLES: ARGS: server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for stop diff --git a/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden index e80bdeeec7..e2f24971a0 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-terminate-usage.golden @@ -19,7 +19,7 @@ ARGS: server-id [with-ip] Delete the IP attached to the server [with-block=prompt] Delete the Block Storage volumes attached to the server (prompt | true | false) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for terminate diff --git a/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden index 708fe09bd8..f84829d64c 100644 --- a/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-server-wait-usage.golden @@ -12,7 +12,7 @@ EXAMPLES: ARGS: [timeout=10m0s] Timeout of the wait server-id ID of the server affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for wait diff --git a/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden index b649319c73..8f0d4b2f42 100644 --- a/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-snapshot-wait-usage.golden @@ -11,7 +11,7 @@ EXAMPLES: ARGS: snapshot-id ID of the snapshot. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) [timeout=1h0m0s] Timeout of the wait FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden index 153f8c88df..bfb46e932d 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-add-key-usage.golden @@ -11,7 +11,7 @@ USAGE: ARGS: [server-id] Server to add your key to [public-key] Public key you want to add to your server - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for add-key diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden index 5f34bda127..1e2ff11872 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-fetch-keys-usage.golden @@ -11,7 +11,7 @@ USAGE: ARGS: [project-id] Fetch the keys on all servers in the given Project [username=root] Username used for the SSH connection - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for fetch-keys diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden index 331f612ee8..7b8eac67e1 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-install-config-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: [project-id] Project ID to use. If none is passed the default project ID will be used - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1 | all) FLAGS: -h, --help help for install-config diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden index e75a060c9f..60d9eae7df 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-list-keys-usage.golden @@ -9,7 +9,7 @@ USAGE: ARGS: server-id Server which keys are to be listed - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for list-keys diff --git a/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden b/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden index ce5efd5411..4b1386359e 100644 --- a/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-ssh-remove-key-usage.golden @@ -12,7 +12,7 @@ ARGS: identifier (one of): [name] Name of the key you want to remove, has to be the key comment or the index [public-key] Public key you want to remove - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for remove-key diff --git a/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden b/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden index 05889116c9..76a71a6cdf 100644 --- a/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-volume-wait-usage.golden @@ -12,7 +12,7 @@ EXAMPLES: ARGS: [timeout=10m0s] Timeout of the wait volume-id ID of the volume affected by the action. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | it-mil-1) FLAGS: -h, --help help for wait diff --git a/cmd/scw/testdata/test-all-usage-registry-login-usage.golden b/cmd/scw/testdata/test-all-usage-registry-login-usage.golden index f552cda50c..5238164d13 100644 --- a/cmd/scw/testdata/test-all-usage-registry-login-usage.golden +++ b/cmd/scw/testdata/test-all-usage-registry-login-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: [program=docker] Program used to log in to the namespace (docker | podman) - [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) + [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | it-mil) FLAGS: -h, --help help for login diff --git a/docs/commands/block.md b/docs/commands/block.md index e39c4e1f50..f392a0e824 100644 --- a/docs/commands/block.md +++ b/docs/commands/block.md @@ -205,7 +205,7 @@ scw block snapshot wait [arg=value ...] | timeout | Default: `5m0s` | Timeout of the wait | | snapshot-id | Required | ID of the snapshot affected by the action. | | terminal-status | One of: `unknown_status`, `creating`, `available`, `error`, `deleting`, `deleted`, `in_use`, `locked`, `exporting` | Expected terminal status, will wait until this status is reached. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -359,7 +359,7 @@ scw block volume wait [arg=value ...] | timeout | Default: `5m0s` | Timeout of the wait | | volume-id | Required | ID of the volume affected by the action. | | terminal-status | One of: `unknown_status`, `creating`, `available`, `in_use`, `deleting`, `deleted`, `resizing`, `error`, `snapshotting`, `locked`, `updating` | Expected terminal status, will wait until this status is reached. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** diff --git a/docs/commands/config.md b/docs/commands/config.md index 7543ff5318..751f137c43 100644 --- a/docs/commands/config.md +++ b/docs/commands/config.md @@ -264,8 +264,8 @@ scw config set [arg=value ...] | insecure | | Set to true to allow insecure HTTPS connections | | default-organization-id | | A default Scaleway organization id | | default-project-id | | A default Scaleway project id | -| default-region | One of: `fr-par`, `nl-ams`, `pl-waw` | A default Scaleway region | -| default-zone | One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | A default Scaleway zone | +| default-region | One of: `fr-par`, `nl-ams`, `pl-waw`, `it-mil` | A default Scaleway region | +| default-zone | One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | A default Scaleway zone | | send-telemetry | | Set to false to disable telemetry | diff --git a/docs/commands/instance.md b/docs/commands/instance.md index be208d4a16..edf17dd75b 100644 --- a/docs/commands/instance.md +++ b/docs/commands/instance.md @@ -308,7 +308,7 @@ scw instance image wait [arg=value ...] | Name | | Description | |------|---|-------------| | image-id | Required | ID of the image. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | | timeout | Default: `1h0m0s` | Timeout of the wait | @@ -348,7 +348,7 @@ scw instance ip attach [arg=value ...] |------|---|-------------| | ip | Required | IP or UUID of the IP. | | server-id | Required | UUID of the server to attach the IP to | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -462,7 +462,7 @@ scw instance ip detach [arg=value ...] | Name | | Description | |------|---|-------------| | ip | Required | IP or UUID of the IP. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1096,7 +1096,7 @@ scw instance security-group clear [arg=value ...] | Name | | Description | |------|---|-------------| | security-group-id | Required | ID of the security group to reset. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1307,7 +1307,7 @@ scw instance security-group edit [arg=value ...] |------|---|-------------| | security-group-id | Required | ID of the security group to reset. | | mode | Default: `yaml`
One of: `yaml`, `json` | marshaling used when editing data | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | @@ -1556,7 +1556,7 @@ scw instance server action [arg=value ...] |------|---|-------------| | action | Required | The raw API action to perform, as listed with 'scw instance server list-actions' | | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1608,7 +1608,7 @@ scw instance server attach-ip [arg=value ...] |------|---|-------------| | server-id | Required | ID of the server | | ip | Required | UUID of the IP to attach or its UUID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1675,7 +1675,7 @@ scw instance server backup [arg=value ...] | server-id | Required | ID of the server to backup. | | name | Default: `` | Name of your backup. | | unified | | Whether or not the type of the snapshot is unified. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1705,7 +1705,7 @@ scw instance server console [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | Server ID to connect to | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | | ws-url | | WebSocket URL to connect to (overrides default) | @@ -1741,7 +1741,7 @@ scw instance server create [arg=value ...] | boot-type | Default: `local`
One of: `local`, `bootscript`, `rescue` | The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. | | admin-password-encryption-ssh-key-id | | ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server. | | project-id | | Project ID to use. If none is passed the default project ID will be used | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | | organization-id | | Organization ID to use. If none is passed the default organization ID will be used | @@ -1816,7 +1816,7 @@ scw instance server delete [arg=value ...] | with-volumes | Default: `all`
One of: `none`, `local`, `block`, `root`, `all` | Delete the volumes attached to the server | | with-ip | | Delete the IP attached to the server | | force-shutdown | | Force shutdown of the instance server before deleting it | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1872,7 +1872,7 @@ scw instance server detach-ip [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | UUID of the server. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -1926,7 +1926,7 @@ scw instance server enable-routed-ip [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2110,7 +2110,7 @@ scw instance server reboot [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2148,7 +2148,7 @@ scw instance server ssh [arg=value ...] | username | Default: `root` | Username used for the SSH connection | | port | Default: `22` | Port used for the SSH connection | | command | | Command to execute on the remote server | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | @@ -2168,7 +2168,7 @@ scw instance server standby [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2203,7 +2203,7 @@ scw instance server start [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2238,7 +2238,7 @@ scw instance server stop [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2275,7 +2275,7 @@ scw instance server terminate [arg=value ...] | server-id | Required | | | with-ip | | Delete the IP attached to the server | | with-block | Default: `prompt`
One of: `prompt`, `true`, `false` | Delete the Block Storage volumes attached to the server | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2386,7 +2386,7 @@ scw instance server wait [arg=value ...] |------|---|-------------| | timeout | Default: `10m0s` | Timeout of the wait | | server-id | Required | ID of the server affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** @@ -2750,7 +2750,7 @@ scw instance snapshot wait [arg=value ...] | Name | | Description | |------|---|-------------| | snapshot-id | Required | ID of the snapshot. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | | timeout | Default: `1h0m0s` | Timeout of the wait | @@ -2792,7 +2792,7 @@ scw instance ssh add-key [arg=value ...] |------|---|-------------| | server-id | | Server to add your key to | | public-key | | Public key you want to add to your server | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | @@ -2816,7 +2816,7 @@ scw instance ssh fetch-keys [arg=value ...] |------|---|-------------| | project-id | | Fetch the keys on all servers in the given Project | | username | Default: `root` | Username used for the SSH connection | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | @@ -2837,7 +2837,7 @@ scw instance ssh install-config [arg=value ...] | Name | | Description | |------|---|-------------| | project-id | | Project ID to use. If none is passed the default project ID will be used | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -2859,7 +2859,7 @@ scw instance ssh list-keys [arg=value ...] | Name | | Description | |------|---|-------------| | server-id | Required | Server which keys are to be listed | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | @@ -2883,7 +2883,7 @@ scw instance ssh remove-key [arg=value ...] | server-id | Required | Server to add your key to | | name | | Name of the key you want to remove, has to be the key comment or the index | | public-key | | Public key you want to remove | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | @@ -3256,7 +3256,7 @@ scw instance volume wait [arg=value ...] |------|---|-------------| | timeout | Default: `10m0s` | Timeout of the wait | | volume-id | Required | ID of the volume affected by the action. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `it-mil-1` | Zone to target. If none is passed will use default zone from the config | **Examples:** diff --git a/docs/commands/registry.md b/docs/commands/registry.md index 10b43fa7bd..07d5755303 100644 --- a/docs/commands/registry.md +++ b/docs/commands/registry.md @@ -165,7 +165,7 @@ scw registry login [arg=value ...] | Name | | Description | |------|---|-------------| | program | Default: `docker`
One of: `docker`, `podman` | Program used to log in to the namespace | -| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | +| region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `it-mil` | Region to target. If none is passed will use default region from the config | diff --git a/go.mod b/go.mod index f9d35fd0c8..9e02f2d30b 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,7 @@ require ( github.com/moby/buildkit v0.27.1 github.com/moby/go-archive v0.2.0 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260218175729-a92ec8c9a75c + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260224141609-f7be528d57e3 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 @@ -202,7 +202,7 @@ require ( go.opentelemetry.io/proto/otlp v1.7.1 // indirect go.yaml.in/yaml/v2 v2.4.3 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - go.yaml.in/yaml/v4 v4.0.0-rc.3 // indirect + go.yaml.in/yaml/v4 v4.0.0-rc.4 // indirect golang.org/x/mod v0.32.0 // indirect golang.org/x/net v0.49.0 // indirect golang.org/x/sys v0.41.0 // indirect diff --git a/go.sum b/go.sum index 05844c23b3..f042fa5871 100644 --- a/go.sum +++ b/go.sum @@ -468,8 +468,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260218175729-a92ec8c9a75c h1:ijHD/7UQW2F0Ptj0+KREl2yFwV5iU1xTXd4YEQCr60w= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260218175729-a92ec8c9a75c/go.mod h1:Ysemk+aTe1WHMoiLx50yZHpMS+v4vYljt+QbCMAKsVA= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260224141609-f7be528d57e3 h1:Hhrvg0toeplFe2JRjI+zh8xOjNawpBRRewHWAPVX9yI= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260224141609-f7be528d57e3/go.mod h1:EG4RjSWH4YiEB6bPmLxzkDm7GsEqLcXNTCwigMNapxQ= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g= @@ -577,8 +577,8 @@ go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0= go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8= go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= -go.yaml.in/yaml/v4 v4.0.0-rc.3 h1:3h1fjsh1CTAPjW7q/EMe+C8shx5d8ctzZTrLcs/j8Go= -go.yaml.in/yaml/v4 v4.0.0-rc.3/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= +go.yaml.in/yaml/v4 v4.0.0-rc.4 h1:UP4+v6fFrBIb1l934bDl//mmnoIZEDK0idg1+AIvX5U= +go.yaml.in/yaml/v4 v4.0.0-rc.4/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= diff --git a/internal/namespaces/registry/v1/custom_docker_helper_test.go b/internal/namespaces/registry/v1/custom_docker_helper_test.go index f03a36becb..388134a5dd 100644 --- a/internal/namespaces/registry/v1/custom_docker_helper_test.go +++ b/internal/namespaces/registry/v1/custom_docker_helper_test.go @@ -37,7 +37,7 @@ func TestRegistryInstallDockerHelperCommand(t *testing.T) { require.NoError(t, err) assert.JSONEq( t, - "{\n \"credHelpers\": {\n \"rg.fr-par.scw.cloud\": \"scw\",\n \"rg.nl-ams.scw.cloud\": \"scw\",\n \"rg.pl-waw.scw.cloud\": \"scw\"\n }\n}\n", + "{\n \"credHelpers\": {\n \"rg.fr-par.scw.cloud\": \"scw\",\n \"rg.it-mil.scw.cloud\": \"scw\",\n \"rg.nl-ams.scw.cloud\": \"scw\",\n \"rg.pl-waw.scw.cloud\": \"scw\"\n }\n}\n", string(dockerConfigContent), ) }, diff --git a/internal/namespaces/registry/v1/testdata/test-registry-docker-helper-list-command-simple.golden b/internal/namespaces/registry/v1/testdata/test-registry-docker-helper-list-command-simple.golden index c24f907ae3..11e038987e 100644 --- a/internal/namespaces/registry/v1/testdata/test-registry-docker-helper-list-command-simple.golden +++ b/internal/namespaces/registry/v1/testdata/test-registry-docker-helper-list-command-simple.golden @@ -1,4 +1,4 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -{"rg.fr-par.scw.cloud":"scaleway","rg.nl-ams.scw.cloud":"scaleway","rg.pl-waw.scw.cloud":"scaleway"}🟩🟩🟩 JSON STDOUT 🟩🟩🟩 -{"rg.fr-par.scw.cloud":"scaleway","rg.nl-ams.scw.cloud":"scaleway","rg.pl-waw.scw.cloud":"scaleway"} \ No newline at end of file +{"rg.fr-par.scw.cloud":"scaleway","rg.it-mil.scw.cloud":"scaleway","rg.nl-ams.scw.cloud":"scaleway","rg.pl-waw.scw.cloud":"scaleway"}🟩🟩🟩 JSON STDOUT 🟩🟩🟩 +{"rg.fr-par.scw.cloud":"scaleway","rg.it-mil.scw.cloud":"scaleway","rg.nl-ams.scw.cloud":"scaleway","rg.pl-waw.scw.cloud":"scaleway"} \ No newline at end of file diff --git a/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-simple.cassette.yaml b/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-simple.cassette.yaml index 3d14830a82..e21e5544a5 100644 --- a/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-simple.cassette.yaml +++ b/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-simple.cassette.yaml @@ -2,26 +2,34 @@ version: 1 interactions: - request: - body: '{"message":"authentication is denied","method":"api_key","reason":"not_found","type":"denied_authentication"}' + body: '{"access_key":"SCW363CZ5SRN5YHQBGXY", "secret_key":null, "description":"rleone-macbook", + "created_at":"2023-03-28T09:41:12.847132Z", "updated_at":"2025-09-08T15:21:36.563446Z", + "expires_at":null, "default_project_id":"951df375-e094-4d26-97c1-ba548eeb9c42", + "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.9", + "user_id":"b49d82c1-ce3a-473f-9cef-420acc5256bf"}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.3; linux; amd64) cli-e2e-test - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW363CZ5SRN5YHQBGXY method: GET response: - body: '{"message":"authentication is denied","method":"api_key","reason":"not_found","type":"denied_authentication"}' + body: '{"access_key":"SCW363CZ5SRN5YHQBGXY", "secret_key":null, "description":"rleone-macbook", + "created_at":"2023-03-28T09:41:12.847132Z", "updated_at":"2025-09-08T15:21:36.563446Z", + "expires_at":null, "default_project_id":"951df375-e094-4d26-97c1-ba548eeb9c42", + "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.9", + "user_id":"b49d82c1-ce3a-473f-9cef-420acc5256bf"}' headers: Content-Length: - - "109" + - "387" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 14 Sep 2023 08:47:57 GMT + - Tue, 24 Feb 2026 16:35:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -29,7 +37,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fa69b56e-0b6a-4363-9d0d-66048c5b20f3 - status: 401 Unauthorized - code: 401 + - 4e7e444d-511b-48f2-b1d4-71ac907b519d + status: 200 OK + code: 200 duration: "" diff --git a/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-with-profile.cassette.yaml b/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-with-profile.cassette.yaml index 6b98a96842..cd3bb556b3 100644 --- a/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-with-profile.cassette.yaml +++ b/internal/namespaces/registry/v1/testdata/test-registry-install-docker-helper-command-with-profile.cassette.yaml @@ -2,26 +2,34 @@ version: 1 interactions: - request: - body: '{"message":"authentication is denied","method":"api_key","reason":"not_found","type":"denied_authentication"}' + body: '{"access_key":"SCW363CZ5SRN5YHQBGXY", "secret_key":null, "description":"rleone-macbook", + "created_at":"2023-03-28T09:41:12.847132Z", "updated_at":"2025-09-08T15:21:36.563446Z", + "expires_at":null, "default_project_id":"951df375-e094-4d26-97c1-ba548eeb9c42", + "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.9", + "user_id":"b49d82c1-ce3a-473f-9cef-420acc5256bf"}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.3; linux; amd64) cli-e2e-test - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.26.0; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW363CZ5SRN5YHQBGXY method: GET response: - body: '{"message":"authentication is denied","method":"api_key","reason":"not_found","type":"denied_authentication"}' + body: '{"access_key":"SCW363CZ5SRN5YHQBGXY", "secret_key":null, "description":"rleone-macbook", + "created_at":"2023-03-28T09:41:12.847132Z", "updated_at":"2025-09-08T15:21:36.563446Z", + "expires_at":null, "default_project_id":"951df375-e094-4d26-97c1-ba548eeb9c42", + "editable":true, "deletable":true, "managed":false, "creation_ip":"51.159.73.9", + "user_id":"b49d82c1-ce3a-473f-9cef-420acc5256bf"}' headers: Content-Length: - - "109" + - "387" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 14 Sep 2023 08:47:57 GMT + - Tue, 24 Feb 2026 16:35:16 GMT Server: - - Scaleway API-Gateway + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -29,7 +37,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b3066976-183a-4b60-9890-09fe02d647a5 - status: 401 Unauthorized - code: 401 + - dc7798a4-4f6c-4504-ace8-25f2bef4116c + status: 200 OK + code: 200 duration: ""