Skip to main content
Version: v1.2

Alibaba Cloud ROCKETMQ

Description

Terraform configuration for Alibaba Cloud RocketMQ

Specification

Properties

NameDescriptionTypeRequiredDefault
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

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
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