Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions cmd/scw/testdata/test-all-usage-vpc-vpc-create-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ USAGE:
scw vpc vpc create [arg=value ...]

ARGS:
name=<generated> Name for the VPC
[project-id] Project ID to use. If none is passed the default project ID will be used
[tags.{index}] Tags for the VPC
[enable-routing] Enable routing between Private Networks in the VPC
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw)
name=<generated> Name for the VPC
[project-id] Project ID to use. If none is passed the default project ID will be used
[tags.{index}] Tags for the VPC
[enable-routing] Enable routing between Private Networks in the VPC
[enable-transitivity] Enable packets from peered VPCs to transit through this VPC
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw)

FLAGS:
-h, --help help for create
Expand Down
1 change: 1 addition & 0 deletions docs/commands/vpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ scw vpc vpc create [arg=value ...]
| project-id | | Project ID to use. If none is passed the default project ID will be used |
| tags.{index} | | Tags for the VPC |
| enable-routing | | Enable routing between Private Networks in the VPC |
| enable-transitivity | | Enable packets from peered VPCs to transit through this VPC |
| region | Default: `fr-par`<br />One of: `fr-par`, `it-mil`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |


Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/moby/moby/client v0.4.1
github.com/modelcontextprotocol/go-sdk v1.6.1
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260615185023-d9b5685d2dfe
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260617140321-14b58fab7bfc
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,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.20260615185023-d9b5685d2dfe h1:Q3SFnChAE4eKn633Amx9QwXYnqNjfI/HBJBQG+xHWZY=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260615185023-d9b5685d2dfe/go.mod h1:Q02gKOXqKfaCTpImuDgOLzlGin79ZoxxKKEhXHKSrPw=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260617140321-14b58fab7bfc h1:cpFmQ/2R7YdtcWrrpM0as+HLEXeCmpapSyI0u8sptZY=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260617140321-14b58fab7bfc/go.mod h1:Q02gKOXqKfaCTpImuDgOLzlGin79ZoxxKKEhXHKSrPw=
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.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RootVolumeType l_ssd
RootVolumeSize 40 GB
PublicIPDisabled false
SecurityGroupID 8bcdc1ce-cda4-4e8f-859f-2aa0aa86e957
PrivateNetworkID -
Region fr-par

Upgrade Policy:
Expand Down Expand Up @@ -64,5 +65,6 @@ KEY VALUE EFFECT
"labels": {},
"taints": [],
"startup_taints": [],
"private_network_id": "",
"region": "fr-par"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RootVolumeType l_ssd
RootVolumeSize 40 GB
PublicIPDisabled false
SecurityGroupID 8bcdc1ce-cda4-4e8f-859f-2aa0aa86e957
PrivateNetworkID -
Region fr-par

Upgrade Policy:
Expand Down Expand Up @@ -64,5 +65,6 @@ KEY VALUE EFFECT
"labels": {},
"taints": [],
"startup_taints": [],
"private_network_id": "",
"region": "fr-par"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RootVolumeType l_ssd
RootVolumeSize 40 GB
PublicIPDisabled false
SecurityGroupID 8bcdc1ce-cda4-4e8f-859f-2aa0aa86e957
PrivateNetworkID -
Region fr-par

Upgrade Policy:
Expand Down Expand Up @@ -64,5 +65,6 @@ KEY VALUE EFFECT
"labels": {},
"taints": [],
"startup_taints": [],
"private_network_id": "",
"region": "fr-par"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RootVolumeType l_ssd
RootVolumeSize 40 GB
PublicIPDisabled false
SecurityGroupID 8bcdc1ce-cda4-4e8f-859f-2aa0aa86e957
PrivateNetworkID -
Region fr-par

Upgrade Policy:
Expand Down Expand Up @@ -66,5 +67,6 @@ KEY VALUE EFFECT
},
"taints": [],
"startup_taints": [],
"private_network_id": "",
"region": "fr-par"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RootVolumeType l_ssd
RootVolumeSize 40 GB
PublicIPDisabled false
SecurityGroupID 8bcdc1ce-cda4-4e8f-859f-2aa0aa86e957
PrivateNetworkID -
Region fr-par

Upgrade Policy:
Expand Down Expand Up @@ -71,5 +72,6 @@ foo bar NoSchedule
"effect": "NoSchedule"
}
],
"private_network_id": "",
"region": "fr-par"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RootVolumeType l_ssd
RootVolumeSize 40 GB
PublicIPDisabled false
SecurityGroupID 8bcdc1ce-cda4-4e8f-859f-2aa0aa86e957
PrivateNetworkID -
Region fr-par

Upgrade Policy:
Expand Down Expand Up @@ -71,5 +72,6 @@ KEY VALUE EFFECT
}
],
"startup_taints": [],
"private_network_id": "",
"region": "fr-par"
}
Loading