Skip to content

EnergiMidt/terraform-azurerm-servicebusqueue

Repository files navigation

terraform-azurerm-servicebusqueue

Manages a ServiceBus Queue.

Requirements

Name Version
terraform >= 1.8.5
azurerm >= 4.22.0, < 5.0.0

Providers

Name Version
azurerm 4.30.0

Modules

No modules.

Resources

Name Type
azurerm_servicebus_queue.servicebus_queue resource

Inputs

Name Description Type Default Required
app_name (Required) Name of the application. string n/a yes
auto_delete_on_idle (Optional) The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes. string null no
dead_lettering_on_message_expiration (Optional) Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to false. bool false no
default_message_ttl (Optional) The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself. string null no
duplicate_detection_history_time_window (Optional) The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (PT10M). string "PT10M" no
enable_batched_operations (Optional) Boolean flag which controls whether server-side batched operations are enabled. Defaults to true. bool true no
enable_express (Optional) Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to false for Basic and Standard. For Premium, it MUST be set to false. ~> NOTE: Service Bus Premium namespaces do not support Express Entities, so enable_express MUST be set to false. bool null no
enable_partitioning (Optional) Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to false for Basic and Standard. -> NOTE: Partitioning is available at entity creation for all queues and topics in Basic or Standard SKUs. It is not available for the Premium messaging SKU, but any previously existing partitioned entities in Premium namespaces continue to work as expected. Please see the documentation for more information. bool null no
environment (Required) The name of the environment. string n/a yes
forward_dead_lettered_messages_to (Optional) The name of a Queue or Topic to automatically forward dead lettered messages to. string null no
forward_to (Optional) The name of a Queue or Topic to automatically forward messages to. Please see the documentation for more information. string null no
lock_duration (Optional) The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (PT1M). string "PT1M" no
max_delivery_count (Optional) Integer value which controls when a message is automatically dead lettered. Defaults to 10. number 10 no
max_message_size_in_kilobytes (Optional) Integer value which controls the maximum size of a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" section of this document. number null no
max_size_in_megabytes (Optional) Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of Service Bus Quotas. Defaults to 1024. number 1024 no
namespace_id (Required) The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created. string n/a yes
override_location (Optional) Override the location of the resource. Under normal circumstances, it should not be used. string null no
override_name (Optional) Override the name of the resource. Under normal circumstances, it should not be used. string null no
requires_duplicate_detection (Optional) Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to false. bool false no
requires_session (Optional) Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to false. bool false no
status (Optional) The status of the Queue. Possible values are Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, SendDisabled, Unknown. Note that Restoring is not accepted. Defaults to Active. string "Active" no
system_short_name (Required) The short system name. Changing this forces a new resource to be created. string n/a yes

Outputs

Name Description
azurerm_servicebus_queue The created Azure Service Bus Queue.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages