Version: v1.1

Alibaba Cloud EIP

Description

Terraform configuration for Alibaba Cloud Elastic IP

Samples

  1. apiVersion: core.oam.dev/v1beta1
  2. kind: Application
  3. metadata:
  4. name: provision-cloud-resource-eip
  5. spec:
  6. components:
  7. - name: sample-eip
  8. type: alibaba-eip
  9. properties:
  10. writeConnectionSecretToRef:
  11. 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