Skip to content

Commit e72b71a

Browse files
feat(serverless): deprecate the usage of activate-vpc-integration (#4953)
Co-authored-by: Jonathan R. <[email protected]>
1 parent 94e7c27 commit e72b71a

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ 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] Activate VPC integration for the namespace.
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

18+
DEPRECATED ARGS:
19+
[activate-vpc-integration] [DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC.
20+
1921
FLAGS:
2022
-h, --help help for create
2123
-w, --wait wait until the namespace is ready

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ ARGS:
1313
[secret-environment-variables.{index}.key]
1414
[secret-environment-variables.{index}.value]
1515
[tags.{index}] Tags of the Serverless Function Namespace
16-
[activate-vpc-integration] Activate VPC integration for the namespace.
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

18+
DEPRECATED ARGS:
19+
[activate-vpc-integration] [DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC.
20+
1921
FLAGS:
2022
-h, --help help for create
2123

docs/commands/container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ scw container namespace create [arg=value ...]
483483
| secret-environment-variables.{index}.key | | |
484484
| secret-environment-variables.{index}.value | | |
485485
| tags.{index} | | Tags of the Serverless Container Namespace |
486-
| activate-vpc-integration | | Activate VPC integration for the namespace. |
486+
| ~~activate-vpc-integration~~ | Deprecated | [DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC. |
487487
| 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 |
488488

489489

docs/commands/function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ scw function namespace create [arg=value ...]
498498
| secret-environment-variables.{index}.key | | |
499499
| secret-environment-variables.{index}.value | | |
500500
| tags.{index} | | Tags of the Serverless Function Namespace |
501-
| activate-vpc-integration | | Activate VPC integration for the namespace. |
501+
| ~~activate-vpc-integration~~ | Deprecated | [DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC. |
502502
| 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 |
503503

504504

internal/namespaces/container/v1beta1/container_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ func containerNamespaceCreate() *core.Command {
279279
},
280280
{
281281
Name: "activate-vpc-integration",
282-
Short: `Activate VPC integration for the namespace.`,
282+
Short: `[DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC.`,
283283
Required: false,
284-
Deprecated: false,
284+
Deprecated: true,
285285
Positional: false,
286286
},
287287
core.RegionArgSpec(

internal/namespaces/function/v1beta1/function_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ func functionNamespaceCreate() *core.Command {
326326
},
327327
{
328328
Name: "activate-vpc-integration",
329-
Short: `Activate VPC integration for the namespace.`,
329+
Short: `[DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC.`,
330330
Required: false,
331-
Deprecated: false,
331+
Deprecated: true,
332332
Positional: false,
333333
},
334334
core.RegionArgSpec(

0 commit comments

Comments
 (0)