Skip to content

Commit 39eeec3

Browse files
committed
Fix
1 parent 359b1d1 commit 39eeec3

File tree

6 files changed

+26
-1
lines changed

6 files changed

+26
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ 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]
3435
[deploy=true] Deploy container after creation
3536
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
3637

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ 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]
3435
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
3536

3637
DEPRECATED ARGS:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ 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]
1617
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1718

1819
FLAGS:

docs/commands/container.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ 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 | | |
8990
| deploy | Default: `true` | Deploy container after creation |
9091
| 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 |
9192

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

221223

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

482485

internal/namespaces/container/v1beta1/container_cli.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@ 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+
},
280286
core.RegionArgSpec(
281287
scw.RegionFrPar,
282288
scw.RegionNlAms,
@@ -715,6 +721,12 @@ func containerContainerCreate() *core.Command {
715721
Deprecated: false,
716722
Positional: false,
717723
},
724+
{
725+
Name: "private-network-id",
726+
Required: false,
727+
Deprecated: false,
728+
Positional: false,
729+
},
718730
core.RegionArgSpec(
719731
scw.RegionFrPar,
720732
scw.RegionNlAms,
@@ -937,6 +949,12 @@ func containerContainerUpdate() *core.Command {
937949
Deprecated: false,
938950
Positional: false,
939951
},
952+
{
953+
Name: "private-network-id",
954+
Required: false,
955+
Deprecated: false,
956+
Positional: false,
957+
},
940958
core.RegionArgSpec(
941959
scw.RegionFrPar,
942960
scw.RegionNlAms,

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

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

0 commit comments

Comments
 (0)