Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ ARGS:
[esp-ciphers.{index}.integrity] (unknown_integrity | sha256 | sha384 | sha512)
[esp-ciphers.{index}.dh-group] (unknown_dhgroup | modp2048 | modp3072 | modp4096 | ecp256 | ecp384 | ecp521 | curve25519)
[enable-route-propagation] Defines whether route propagation is enabled or not.
[secret.id]
[secret.revision]
vpn-gateway-id ID of the VPN gateway to attach to the connection
customer-gateway-id ID of the customer gateway to attach to the connection
[bgp-config-ipv4.routing-policy-id]
Expand Down
2 changes: 2 additions & 0 deletions docs/commands/s2s-vpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ scw s2s-vpn connection create [arg=value ...]
| esp-ciphers.{index}.integrity | One of: `unknown_integrity`, `sha256`, `sha384`, `sha512` | |
| esp-ciphers.{index}.dh-group | One of: `unknown_dhgroup`, `modp2048`, `modp3072`, `modp4096`, `ecp256`, `ecp384`, `ecp521`, `curve25519` | |
| enable-route-propagation | | Defines whether route propagation is enabled or not. |
| secret.id | | |
| secret.revision | | |
| vpn-gateway-id | Required | ID of the VPN gateway to attach to the connection |
| customer-gateway-id | Required | ID of the customer gateway to attach to the connection |
| bgp-config-ipv4.routing-policy-id | | |
Expand Down
12 changes: 12 additions & 0 deletions internal/namespaces/s2s_vpn/v1alpha1/s2s_vpn_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,18 @@ func s2sVpnConnectionCreate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "secret.id",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "secret.revision",
Required: false,
Deprecated: false,
Positional: false,
},
{
Name: "vpn-gateway-id",
Short: `ID of the VPN gateway to attach to the connection`,
Expand Down
Loading