Skip to content

Commit 9f00b96

Browse files
committed
Fix
1 parent d0f527c commit 9f00b96

File tree

9 files changed

+34
-58
lines changed

9 files changed

+34
-58
lines changed

cmd/scw/testdata/test-all-usage-iam-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ AVAILABLE COMMANDS:
1111
group Groups management commands
1212
jwt JWTs management commands
1313
log Log management commands
14-
organization Organization-wide management commands
1514
permission-set Permission sets management commands
1615
policy Policies management commands
1716
rule Rules management commands

cmd/scw/testdata/test-all-usage-vpc-private-network-create-usage.golden

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ USAGE:
66
scw vpc private-network create [arg=value ...]
77

88
ARGS:
9-
name=<generated> Name for the Private Network
10-
[project-id] Project ID to use. If none is passed the default project ID will be used
11-
[tags.{index}] Tags for the Private Network
12-
[subnets.{index}] Private Network subnets CIDR
13-
[vpc-id] VPC in which to create the Private Network
14-
[default-route-propagation-enabled] Defines whether default v4 and v6 routes are propagated for this Private Network
15-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
9+
name=<generated> Name for the Private Network
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
[tags.{index}] Tags for the Private Network
12+
[subnets.{index}] Private Network subnets CIDR
13+
[vpc-id] VPC in which to create the Private Network
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1615

1716
FLAGS:
1817
-h, --help help for create

cmd/scw/testdata/test-all-usage-vpc-private-network-update-usage.golden

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ USAGE:
66
scw vpc private-network update <private-network-id ...> [arg=value ...]
77

88
ARGS:
9-
private-network-id Private Network ID
10-
[name] Name for the Private Network
11-
[tags.{index}] Tags for the Private Network
12-
[default-route-propagation-enabled] Defines whether default v4 and v6 routes are propagated for this Private Network
13-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
9+
private-network-id Private Network ID
10+
[name] Name for the Private Network
11+
[tags.{index}] Tags for the Private Network
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1413

1514
FLAGS:
1615
-h, --help help for update

docs/commands/iam.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ This API allows you to manage Identity and Access Management (IAM) across your S
3131
- [Log management commands](#log-management-commands)
3232
- [Get a log](#get-a-log)
3333
- [List logs](#list-logs)
34-
- [Organization-wide management commands](#organization-wide-management-commands)
3534
- [Permission sets management commands](#permission-sets-management-commands)
3635
- [List permission sets](#list-permission-sets)
3736
- [Policies management commands](#policies-management-commands)
@@ -630,20 +629,6 @@ scw iam log list [arg=value ...]
630629

631630

632631

633-
## Organization-wide management commands
634-
635-
Organization-wide management commands.
636-
637-
Organization-wide management commands.
638-
639-
**Usage:**
640-
641-
```
642-
scw iam organization
643-
```
644-
645-
646-
647632
## Permission sets management commands
648633

649634
Permission sets management commands.

docs/commands/vpc.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ scw vpc private-network create [arg=value ...]
5757
| tags.{index} | | Tags for the Private Network |
5858
| subnets.{index} | | Private Network subnets CIDR |
5959
| vpc-id | | VPC in which to create the Private Network |
60-
| default-route-propagation-enabled | | Defines whether default v4 and v6 routes are propagated for this Private Network |
6160
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
6261

6362

@@ -167,7 +166,6 @@ scw vpc private-network update <private-network-id ...> [arg=value ...]
167166
| private-network-id | Required | Private Network ID |
168167
| name | | Name for the Private Network |
169168
| tags.{index} | | Tags for the Private Network |
170-
| default-route-propagation-enabled | | Defines whether default v4 and v6 routes are propagated for this Private Network |
171169
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
172170

173171

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/docker/docker v27.5.1+incompatible
1515
github.com/dustin/go-humanize v1.0.1
1616
github.com/fatih/color v1.18.0
17-
github.com/getsentry/sentry-go v0.32.0
17+
github.com/getsentry/sentry-go v0.33.0
1818
github.com/ghodss/yaml v1.0.0
1919
github.com/gorilla/websocket v1.5.3
2020
github.com/hashicorp/go-version v1.7.0
@@ -23,7 +23,7 @@ require (
2323
github.com/mattn/go-isatty v0.0.20
2424
github.com/moby/buildkit v0.13.2
2525
github.com/opencontainers/go-digest v1.0.0
26-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250515094521-f33fe0fc8609
26+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250513115908-b0f902104f82
2727
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2828
github.com/spf13/cobra v1.9.1
2929
github.com/spf13/pflag v1.0.6

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdk
230230
github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg=
231231
github.com/gdamore/tcell/v2 v2.7.4 h1:sg6/UnTM9jGpZU+oFYAsDahfchWAFW8Xx2yFinNSAYU=
232232
github.com/gdamore/tcell/v2 v2.7.4/go.mod h1:dSXtXTSK0VsW1biw65DZLZ2NKr7j0qP/0J7ONmsraWg=
233-
github.com/getsentry/sentry-go v0.32.0 h1:YKs+//QmwE3DcYtfKRH8/KyOOF/I6Qnx7qYGNHCGmCY=
234-
github.com/getsentry/sentry-go v0.32.0/go.mod h1:CYNcMMz73YigoHljQRG+qPF+eMq8gG72XcGN/p71BAY=
233+
github.com/getsentry/sentry-go v0.33.0 h1:YWyDii0KGVov3xOaamOnF0mjOrqSjBqwv48UEzn7QFg=
234+
github.com/getsentry/sentry-go v0.33.0/go.mod h1:C55omcY9ChRQIUcVcGcs+Zdy4ZpQGvNJ7JYHIoSWOtE=
235235
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
236236
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
237237
github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c=
@@ -466,8 +466,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
466466
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
467467
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
468468
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
469-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250515094521-f33fe0fc8609 h1:jS3hOMorLvanEQu3LYk4UX5mzPZZPyM1cDL8eu8tXGU=
470-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250515094521-f33fe0fc8609/go.mod h1:qiGzapFyNPFwBBLJ+hTFykKSnU95n1zL64+o1ubmwf0=
469+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250513115908-b0f902104f82 h1:HiThszq4WsYeLYznJjVm0RlsBw5uRalTPp3YEl5b0sc=
470+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250513115908-b0f902104f82/go.mod h1:qiGzapFyNPFwBBLJ+hTFykKSnU95n1zL64+o1ubmwf0=
471471
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
472472
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
473473
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/vpc/v2/testdata/test-get-private-network-multiple.golden

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
3-
ID 82e2935f-1e06-46cb-83a9-ad664aedd289
4-
Name cli-pn-exciting-keldysh
5-
OrganizationID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
6-
ProjectID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
7-
Region fr-par
8-
CreatedAt few seconds ago
9-
UpdatedAt few seconds ago
10-
VpcID 53e50f63-f6c0-44f7-8576-d6edcb965d9c
11-
DHCPEnabled true
12-
DefaultRoutePropagationEnabled false
3+
ID 82e2935f-1e06-46cb-83a9-ad664aedd289
4+
Name cli-pn-exciting-keldysh
5+
OrganizationID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
6+
ProjectID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
7+
Region fr-par
8+
CreatedAt few seconds ago
9+
UpdatedAt few seconds ago
10+
VpcID 53e50f63-f6c0-44f7-8576-d6edcb965d9c
11+
DHCPEnabled true
1312

1413
Instance Servers:
1514
ID NAME STATE NIC ID MAC ADDRESS
@@ -59,7 +58,6 @@ dd08a119-9d52-4afa-af50-0c990aa63d61 few seconds ago few seconds ago fd4a:c18
5958
],
6059
"vpc_id": "53e50f63-f6c0-44f7-8576-d6edcb965d9c",
6160
"dhcp_enabled": true,
62-
"default_route_propagation_enabled": false,
6361
"instance_servers": [
6462
{
6563
"id": "d5ea776f-d30a-4e93-9ec9-d293dfd84104",

internal/namespaces/vpc/v2/testdata/test-get-private-network-simple.golden

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
3-
ID d886a4f4-ed9f-4fa5-bfd4-8f6b57bb665a
4-
Name cli-pn-sweet-leavitt
5-
OrganizationID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
6-
ProjectID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
7-
Region fr-par
8-
CreatedAt few seconds ago
9-
UpdatedAt few seconds ago
10-
VpcID 53e50f63-f6c0-44f7-8576-d6edcb965d9c
11-
DHCPEnabled true
12-
DefaultRoutePropagationEnabled false
3+
ID d886a4f4-ed9f-4fa5-bfd4-8f6b57bb665a
4+
Name cli-pn-sweet-leavitt
5+
OrganizationID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
6+
ProjectID ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b
7+
Region fr-par
8+
CreatedAt few seconds ago
9+
UpdatedAt few seconds ago
10+
VpcID 53e50f63-f6c0-44f7-8576-d6edcb965d9c
11+
DHCPEnabled true
1312

1413
Instance Servers:
1514
ID NAME STATE NIC ID MAC ADDRESS
@@ -51,7 +50,6 @@ a12e8798-e136-45a9-9c5b-1b43b2bc41db few seconds ago few seconds ago 172.16.1
5150
],
5251
"vpc_id": "53e50f63-f6c0-44f7-8576-d6edcb965d9c",
5352
"dhcp_enabled": true,
54-
"default_route_propagation_enabled": false,
5553
"instance_servers": [
5654
{
5755
"id": "9381ff81-3722-4a29-b00d-f39e05f808ff",

0 commit comments

Comments
 (0)