-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
41 lines (34 loc) · 2.04 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
##############################################################
#variables for db alicloud_msn_topic
##############################################################
variable "topic_name" {
description = "Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters."
}
variable "maximum_message_size" {
description = "This indicates the maximum length, in bytes, of any message body sent to the topic. Valid value range: 1024-65536, i.e., 1K to 64K."
default = 65536
}
variable "logging_enabled" {
description = "is log enabled ?"
default = false
}
##############################################################
#variables for db alicloud_msn_topic_subscription
##############################################################
variable "subscription_name" {
description = "the Subscription Name,Two subcription Name on a single topic in the same region cannot have the same name.A subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters."
}
variable "endpoint" {
description = "Describe the terminal address of the message received in this subscription. email format: mail:directmail:[email protected] , queue format: http(s)://AccountId.mns.regionId.aliyuncs.com/, http format: http(s)://www.xxx.com/xxx"
}
variable "notify_strategy" {
description = "The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. the attribute has two value EXPONENTIAL_DECAY_RETR or BACKOFF_RETRY "
default = "BACKOFF_RETRY"
}
variable "notify_content_format" {
description = "The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. the attribute has two value SIMPLIFIED or XML"
default = "XML"
}
variable "filter_tag" {
description = "Message Filter Label"
}