rabbitmq_exchange

    0

    0

    lucycodes42

    Terraform snippets

    This is an example of a resource definition for an RabbitMQ Exchange. The name attribute defines the name of the exchange, while the description attribute defines a description of the exchange. The vhost attribute defines the RabbitMQ server where the exchange is hosted, and the settings attribute defines the settings for the exchange.

    Shortcut: tf_rabbitmq_exchange

    resource "rabbitmq_exchange" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       vhost = "\${rabbitmq_permissions.guest.vhost}"
       settings {
           type = "fanout"
           durable = false
           auto_delete = true
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.