rabbitmq_binding

    0

    0

    lucycodes42

    Terraform snippets

    The above code creates a RabbitMQ binding for the myResourceName resource. The name of the binding is my-${myResourceName} , and the description is my-description-${myResourceName} . The source is set to the exchange name for the myResourceName resource, and the vhost is set to the rabbitmq_vhost.test.name . The destination is set to the queue name for the myResourceName resource, and the destination_type is set to queue . The routing_key is set to # , and the properties_key is set to %23 .

    Shortcut: tf_rabbitmq_binding

    resource "rabbitmq_binding" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       source = "\${rabbitmq_exchange.test.name}"
       vhost = "\${rabbitmq_vhost.test.name}"
       destination = "\${rabbitmq_queue.test.name}"
       destination_type = "queue"
       routing_key = "#"
       properties_key = "%23"
    }
    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.