You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
17
17
[RabbitMQ](https://rabbitmq.com) is an AMQP message broker server. The **RabbitMQ provider** exposes resources used to manage the configuration of resources in a RabbitMQ server.
18
18
19
-
The provider supports versions `4.0.x`, `3.13.x` and `3.12.x` of RabbitMQ. It may still work with versions `3.11.x`, `3.10.x`, `3.9.x` and `3.8.x`, however these versions are no longer officialy supported.
19
+
The provider supports versions `4.1.x`, `4.0.x`, `3.13.x` and `3.12.x` of RabbitMQ. It may still work with versions `3.11.x`, `3.10.x`, `3.9.x` and `3.8.x`, however these versions are no longer officialy supported.
20
20
> For information on RabbitMQ versions, see the RabbitMQ [Release Information](https://www.rabbitmq.com/release-information).
Copy file name to clipboardExpand all lines: docs/data-sources/exchange.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,8 @@ Use this data source to access information about an existing _exchange_.
15
15
```terraform
16
16
# Read the exchange settings
17
17
data "rabbitmq_exchange" "example" {
18
-
name = "myexchange"
18
+
name = "myexchange"
19
+
vhost = "myvhost"
19
20
}
20
21
```
21
22
@@ -33,14 +34,16 @@ data "rabbitmq_exchange" "example" {
33
34
### Read-Only
34
35
35
36
-`id` (String) The ID of this resource.
36
-
-`settings` (List of Object) The settings of the exchange. The structure is described below. (see [below for nested schema](#nestedatt--settings))
37
+
-`settings` (List of Object) The settings of the exchange. (see [below for nested schema](#nestedatt--settings))
37
38
38
39
<aid="nestedatt--settings"></a>
39
40
### Nested Schema for `settings`
40
41
41
42
Read-Only:
42
43
43
-
-`arguments` (Map of String)
44
-
-`auto_delete` (Boolean)
45
-
-`durable` (Boolean)
46
-
-`type` (String)
44
+
-`alternate_exchange` (String) If messages to this exchange cannot otherwise be routed, send them to the alternate exchange named here.
45
+
-`arguments` (Map of String) Additional key/value settings for the exchange.
46
+
-`auto_delete` (Boolean) If `true`, the exchange will delete itself after at least one queue or exchange has been bound to this one, and then all queues or exchanges have been unbound.
47
+
-`durable` (Boolean) Whether the exchange survives server restarts.
48
+
-`internal` (Boolean) If `true`, clients cannot publish to this exchange directly. It can only be used with exchange to exchange bindings.
49
+
-`type` (String) The type of exchange. Possible values are `direct`, `fanout`, `headers` and `topic`.
-`settings` (Block List, Min: 1, Max: 1) The settings of the exchange. The structure is described below. (see [below for nested schema](#nestedblock--settings))
40
+
-`settings` (Block List, Min: 1, Max: 1) The settings of the exchange. (see [below for nested schema](#nestedblock--settings))
-`alternate_exchange` (String) If messages to this exchange cannot otherwise be routed, send them to the alternate exchange named here.
59
56
-`arguments` (Map of String) Additional key/value settings for the exchange.
60
-
-`auto_delete` (Boolean) Whether the exchange will self-delete when all queues have finished using it. Defaults to `false`.
61
-
-`durable` (Boolean) Whether the exchange survives server restarts. Defaults to `false`.
57
+
-`auto_delete` (Boolean) If `true`, the exchange will delete itself after at least one queue or exchange has been bound to this one, and then all queues or exchanges have been unbound. Defaults to `false`.
58
+
-`durable` (Boolean) Whether the exchange survives server restarts. Defaults to `true`.
59
+
60
+
~> The default value of `durable` field has been updated since version **2.5.0**. Before it was `false`!
61
+
62
+
-`internal` (Boolean) If `true`, clients cannot publish to this exchange directly. It can only be used with exchange to exchange bindings. Defaults to `false`.
63
+
-`type` (String) The type of exchange. Possible values are `direct`, `fanout`, `headers` and `topic`. Defaults to `direct`.
64
+
65
+
## Import
66
+
67
+
Import is supported using the following syntax:
68
+
69
+
```shell
70
+
# Exchange can be imported by specifying its name and its vhost (with a '@' between the both value).
0 commit comments