Terraform snippets

    mailgun_domain is a resource that defines the domain name for Mailgun. name must be set to the name of the resource, while description can be optionally provided and will be used to describe the resource to other administrators. spam_action and smtp_password define settings for the resource. spam_action can be set to either "enabled" or "disabled", while smtp_password defines the password for the SMTP connector.

    Shortcut: tf_mailgun_domain

    resource "mailgun_domain" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
       spam_action = "disabled"
       smtp_password = "foobar"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.