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
| Name |
Description |
Type |
Required |
Default |
| name |
Name to be used on all resources as prefix. Default to 'TF-Module-EIP'. |
string |
false |
|
| bandwidth |
Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). |
number |
false |
|
| writeConnectionSecretToRef |
The secret which the cloud resource connection will be written to |
writeConnectionSecretToRef |
false |
|
writeConnectionSecretToRef
| Name |
Description |
Type |
Required |
Default |
| name |
The secret name which the cloud resource connection will be written to |
string |
true |
|
| namespace |
The secret namespace which the cloud resource connection will be written to |
string |
false |
|
Outputs
If writeConnectionSecretToRef is set, a secret will be generated with these keys as below:
| Name |
Description |
| EIP_ADDRESS |
The elastic ip address. |