github.com/armen/terraform@v0.5.2-0.20150529052519-caa8117a08f1/website/source/docs/providers/mailgun/r/domain.html.markdown (about)

     1  ---
     2  layout: "mailgun"
     3  page_title: "Mailgun: mailgun_domain"
     4  sidebar_current: "docs-mailgun-resource-domain"
     5  description: |-
     6    Provides a Mailgun App resource. This can be used to create and manage applications on Mailgun.
     7  ---
     8  
     9  # mailgun\_domain
    10  
    11  Provides a Mailgun App resource. This can be used to
    12  create and manage applications on Mailgun.
    13  
    14  ## Example Usage
    15  
    16  ```
    17  # Create a new Mailgun domain
    18  resource "mailgun_domain" "default" {
    19      name = "test.example.com"
    20      spam_action = "disabled"
    21      smtp_password = "foobar"
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `name` - (Required) The domain to add to Mailgun
    30  * `smtp_password` - (Required) Password for SMTP authentication
    31  * `spam_action` - (Optional) `disabled` or `tag` Disable, no spam
    32      filtering will occur for inbound messages. Tag, messages
    33      will be tagged with a spam header.
    34  * `wildcard` - (Optional) Boolean that determines whether
    35      the domain will accept email for sub-domains.
    36  
    37  ## Attributes Reference
    38  
    39  The following attributes are exported:
    40  
    41  * `name` - The name of the domain.
    42  * `smtp_login` - The login email for the SMTP server.
    43  * `smtp_password` - The password to the SMTP server.
    44  * `wildcard` - Whether or not the domain will accept email for sub-domains.
    45  * `spam_action` - The spam filtering setting.
    46  * `receiving_records` - A list of DNS records for receiving validation.
    47      * `priority` - The priority of the record.
    48      * `record_type` - The record type.
    49      * `valid` - `"valid"` if the record is valid.
    50      * `value` - The value of the record.
    51  * `sending_records` - A list of DNS records for sending validation.
    52      * `name` - The name of the record.
    53      * `record_type` - The record type.
    54      * `valid` - `"valid"` if the record is valid.
    55      * `value` - The value of the record.