Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

attach-interface

Attach an interface to a flexi instance in your project. This command allows you to attach an interface to a flexi instance.

Usage

cldkctl flexi instance attach-interface [name] [flags]

Steps

Follow the steps below to run and view the result of this command:

Interactive Mode

  1. Run the following command in your terminal:

cldkctl flexi instance attach-interface [instance-name] -i 
  1. Replace [instance-name] with the name of the instance.

  2. Select the interface type: By VPC or By Port.

  1. If you select By VPC, select the VPC.

  2. Enter the IP address for the interface.

  1. If you select By Port, select the port.

  1. Confirm the interface attachment by selecting Confirm.

  1. Once completed successfully, the terminal displays the success message.

Non-Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Shorthand
Default
Description

--auto-confirm

-y

false

Skip confirmation prompt in non-interactive mode

--help

-h

help for attach-interface

--interactive

-i

false

Force interactive TUI mode

--ip-address

IP Address (required when --type is vpc)

--port-id

Port ID (required when --type is port)

--project

-p

Specify project ID

--type

Interface type: vpc or port (required in non-interactive mode)

--vpc-id

VPC ID (required when --type is vpc)

Last updated