Skip to main content
Version: v1.4

Alibaba Cloud VPC

Description

Terraform configuration for Alibaba Cloud VPC.

Examples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: app-vpc-sample
spec:
components:
- name: sample-vpc
type: alibaba-vpc
properties:
vpc_cidr: "172.16.0.0/12"
writeConnectionSecretToRef:
name: vpc-conn

Specification

NameDescriptionTypeRequiredDefault
vpc_cidrThe cidr block used to launch a new vpc.stringfalse
vpc_descriptionThe vpc description used to launch a new vpc.stringfalse
vpc_nameThe vpc name used to launch a new vpc.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

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_IDThe vpc id of the newly created vpc.