Skip to main content
版本:v1.3

阿里云 ROCKETMQ

描述

Terraform configuration for Alibaba Cloud RocketMQ

参数说明

属性

名称描述类型是否必须默认值
group_nameThe name of MQ groupstringfalse
group_typeSpecify the protocol applicable to the created Group ID. Valid values: tcp, http. Default to tcpstringfalse
message_typeThe type of the message. Read Ons Topic Create for further details.numberfalse
ons_instance_nameThe name of ons instance. The length must be 3 to 64 characters. Chinese characters, English letters digits and hyphen are allowed.stringfalse
ons_instance_remarkThe specification of ons instance remark.stringfalse
ons_topic_remarkThe specification of ons topic remark.stringfalse
permThe permission of MQ topicstringfalse
topicThe specification of ons topic name. Two topics on a single instance cannot have the same name and the name cannot start with 'GID' or 'CID'. The length cannot exceed 64 characters.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse

输出

如果设置了 writeConnectionSecretToRef,一个 Kubernetes Secret 将会被创建,并且,它的数据里有这些键(key):

名称描述
GROUP_IDThe id of ons group
HTTP_ENDPOINT_INTERNALThe internal http endpoint of ons instance
HTTP_ENDPOINT_INTERNETThe internet http endpoint of ons instance
INSTANCE_IDThe id of ons instance
TCP_ENDPOINTThe tcp endpoint of ons instance
TOPIC_IDThe id of ons topic