github.com/maheshbr/terraform@v0.3.1-0.20141020033300-deec7194a3ea/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 --- 6 7 # Provider 8 9 The Mailgun provider is used to interact with the 10 resources supported by Mailgun. The provider needs to be configured 11 with the proper credentials before it can be used. 12 13 Use the navigation to the left to read about the available resources. 14 15 ## Example Usage 16 17 ``` 18 # Configure the Mailgun provider 19 provider "mailgun" { 20 api_key = "${var.mailgun_api_key}" 21 } 22 23 # Create a new domain 24 resource "mailgun_domain" "default" { 25 ... 26 } 27 ``` 28 29 ## Argument Reference 30 31 The following arguments are supported: 32 33 * `api_key` - (Required) Mailgun API key 34