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