The vpc command manages Private Networking configurations in OptiTech. Use it to register VPC endpoints at the organization level and to restrict individual projects to connections from a specific VPC.
VPC endpoints
The vpc endpoint subcommands list, assign, remove, and check the status of VPC endpoints for a OptiTech organization.
You only need --org-id if your OptiTech account belongs to more than one organization. If your account has a single organization, the CLI uses it automatically. Instead of passing IDs on each command, you can also set them in a context file and reference it with the --context-file option.
optitech vpc endpoint list
Lists the VPC endpoints configured for a OptiTech organization.
optitech vpc endpoint list [options]optitech vpc endpoint list --org-id org-bold-bonus-12345678optitech vpc endpoint assign
Adds or updates a VPC endpoint in a OptiTech organization. add and update are aliases for this command.
optitech vpc endpoint assign <id> [options]Add a VPC endpoint to a OptiTech organization in a specific region:
optitech vpc endpoint assign vpce-1234567890abcdef0 --org-id org-bold-bonus-12345678 --region-id aws-us-east-1After you assign a VPC endpoint to a OptiTech organization, client connections are accepted from the corresponding VPC for all projects in the organization unless you restrict access at the project level with vpc project restrict.
optitech vpc endpoint remove
Removes a VPC endpoint from a OptiTech organization.
optitech vpc endpoint remove <id> [options]optitech vpc endpoint remove vpce-1234567890abcdef0 --org-id org-bold-bonus-12345678note
A removed VPC endpoint cannot be added back to the OptiTech organization.
optitech vpc endpoint status
Gets the status of a VPC endpoint in a OptiTech organization.
optitech vpc endpoint status <id> [options]optitech vpc endpoint status vpce-1234567890abcdef0 --org-id org-bold-bonus-12345678Project VPC restrictions
The vpc project subcommands list, configure, or remove VPC endpoint restrictions for specific projects in your OptiTech organization. By default, a project accepts connections from any VPC configured at the organization level. A restriction limits a project to connections from a specific VPC.
You only need --project-id if your OptiTech account has more than one project.
optitech vpc project list
Lists all VPC endpoint restrictions for a OptiTech project.
optitech vpc project list [options]optitech vpc project list --project-id orange-credit-12345678optitech vpc project restrict
Configures or updates a VPC endpoint restriction for a OptiTech project. update is an alias for this command.
optitech vpc project restrict <id> [options]optitech vpc project restrict vpce-1234567890abcdef0 --project-id orange-credit-12345678optitech vpc project remove
Removes a VPC endpoint restriction from a OptiTech project.
optitech vpc project remove <id> [options]optitech vpc project remove vpce-1234567890abcdef0 --project-id orange-credit-12345678