Skip to main content
Version: v1.1

Alibaba Cloud EIP

Description

Terraform configuration for Alibaba Cloud Elastic IP

Samples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: provision-cloud-resource-eip
spec:
components:
- name: sample-eip
type: alibaba-eip
properties:
writeConnectionSecretToRef:
name: eip-conn

Specification

Properties

NameDescriptionTypeRequiredDefault
nameName to be used on all resources as prefix. Default to 'TF-Module-EIP'.stringtrue
bandwidthMaximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second).numbertrue
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse

Outputs

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

NameDescription
EIP_ADDRESSEIP address