github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/mailgun/index.html.markdown (about) 1 --- 2 layout: "mailgun" 3 page_title: "Provider: Mailgun" 4 sidebar_current: "docs-mailgun-index" 5 description: |- 6 The Mailgun provider is used to interact with the resources supported by Mailgun. The provider needs to be configured with the proper credentials before it can be used. 7 --- 8 9 # Mailgun Provider 10 11 The Mailgun provider is used to interact with the 12 resources supported by Mailgun. The provider needs to be configured 13 with the proper credentials before it can be used. 14 15 Use the navigation to the left to read about the available resources. 16 17 ## Example Usage 18 19 ``` 20 # Configure the Mailgun provider 21 provider "mailgun" { 22 api_key = "${var.mailgun_api_key}" 23 } 24 25 # Create a new domain 26 resource "mailgun_domain" "default" { 27 ... 28 } 29 ``` 30 31 ## Argument Reference 32 33 The following arguments are supported: 34 35 * `api_key` - (Required) Mailgun API key 36