Skip to main content
Version: v1.4

Alibaba Cloud VSWITCH

Description

Terraform configuration for Alibaba Cloud VSwitch.

Specification

NameDescriptionTypeRequiredDefault
create_vpcWhether to create vpc. If false, you can specify an existing vpc by setting 'vpc_id'.boolfalse
vpc_cidrThe cidr block used to launch a new vpc.stringfalse
vpc_descriptionThe vpc description used to launch a new vpc.stringfalse
vpc_idThe vpc id used to launch several vswitches. If set, the 'create' will be ignored.stringfalse
vpc_nameThe vpc name used to launch a new vpc.stringfalse
vswitch_cidrcidr blocks used to launch a new vswitch.stringfalse
vswitch_descriptionThe vswitch description used to launch several new vswitch.stringfalse
vswitch_nameThe vswitch name prefix used to launch several new vswitches.false
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse
zone_idAvailability Zone ID.stringfalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse

Outputs

If writeConnectionSecretToRef is set, a secret will be generated with these keys as below:

NameDescription
VPC_IDVPC ID
VSWITCH_IDVSwitch ID