Skip to content

Commit e2aef5a

Browse files
committed
Fix
1 parent abae480 commit e2aef5a

13 files changed

+22
-77
lines changed

cmd/scw/testdata/test-all-usage-container-container-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ ARGS:
3131
[health-check.failure-threshold] Number of consecutive health check failures before considering the container unhealthy.
3232
[health-check.interval] Period between health checks.
3333
[tags.{index}] Tags of the Serverless Container
34-
[private-network-id]
3534
[deploy=true] Deploy container after creation
3635
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
3736

cmd/scw/testdata/test-all-usage-container-container-update-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ ARGS:
3131
[health-check.failure-threshold] Number of consecutive health check failures before considering the container unhealthy.
3232
[health-check.interval] Period between health checks.
3333
[tags.{index}] Tags of the Serverless Container
34-
[private-network-id]
3534
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
3635

3736
DEPRECATED ARGS:

cmd/scw/testdata/test-all-usage-container-namespace-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ARGS:
1313
[secret-environment-variables.{index}.key]
1414
[secret-environment-variables.{index}.value]
1515
[tags.{index}] Tags of the Serverless Container Namespace
16-
[activate-vpc-integration]
1716
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1817

1918
FLAGS:

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

docs/commands/container.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ scw container container create [arg=value ...]
8686
| health-check.failure-threshold | | Number of consecutive health check failures before considering the container unhealthy. |
8787
| health-check.interval | | Period between health checks. |
8888
| tags.{index} | | Tags of the Serverless Container |
89-
| private-network-id | | |
9089
| deploy | Default: `true` | Deploy container after creation |
9190
| 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 |
9291

@@ -217,7 +216,6 @@ scw container container update <container-id ...> [arg=value ...]
217216
| health-check.failure-threshold | | Number of consecutive health check failures before considering the container unhealthy. |
218217
| health-check.interval | | Period between health checks. |
219218
| tags.{index} | | Tags of the Serverless Container |
220-
| private-network-id | | |
221219
| 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 |
222220

223221

@@ -479,7 +477,6 @@ scw container namespace create [arg=value ...]
479477
| secret-environment-variables.{index}.key | | |
480478
| secret-environment-variables.{index}.value | | |
481479
| tags.{index} | | Tags of the Serverless Container Namespace |
482-
| activate-vpc-integration | | |
483480
| 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 |
484481

485482

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.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.20250516160029-3f13aad4f58a
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.20250516160029-3f13aad4f58a h1:nqYV4PtTnMTGYqUe3mQI7qm26QxcO/Jy/pA5qCOgfH0=
470-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250516160029-3f13aad4f58a/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/container/v1beta1/container_cli.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,6 @@ func containerNamespaceCreate() *core.Command {
277277
Deprecated: false,
278278
Positional: false,
279279
},
280-
{
281-
Name: "activate-vpc-integration",
282-
Required: false,
283-
Deprecated: false,
284-
Positional: false,
285-
},
286280
core.RegionArgSpec(
287281
scw.RegionFrPar,
288282
scw.RegionNlAms,
@@ -721,12 +715,6 @@ func containerContainerCreate() *core.Command {
721715
Deprecated: false,
722716
Positional: false,
723717
},
724-
{
725-
Name: "private-network-id",
726-
Required: false,
727-
Deprecated: false,
728-
Positional: false,
729-
},
730718
core.RegionArgSpec(
731719
scw.RegionFrPar,
732720
scw.RegionNlAms,
@@ -949,12 +937,6 @@ func containerContainerUpdate() *core.Command {
949937
Deprecated: false,
950938
Positional: false,
951939
},
952-
{
953-
Name: "private-network-id",
954-
Required: false,
955-
Deprecated: false,
956-
Positional: false,
957-
},
958940
core.RegionArgSpec(
959941
scw.RegionFrPar,
960942
scw.RegionNlAms,

internal/namespaces/container/v1beta1/testdata/test-create-simple.golden

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,5 @@ Region fr-par
5050
"updated_at": null,
5151
"ready_at": null,
5252
"region": "fr-par",
53-
"tags": null,
54-
"private_network_id": null
53+
"tags": null
5554
}

0 commit comments

Comments
 (0)