github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/aws/r/lightsail_domain.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_lightsail_domain" 4 sidebar_current: "docs-aws-resource-lightsail-domain" 5 description: |- 6 Provides an Lightsail Domain 7 --- 8 9 # aws\_lightsail\_domain 10 11 Creates a domain resource for the specified domain (e.g., example.com). 12 You cannot register a new domain name using Lightsail. You must register 13 a domain name using Amazon Route 53 or another domain name registrar. 14 If you have already registered your domain, you can enter its name in 15 this parameter to manage the DNS records for that domain. 16 17 ~> **Note:** Lightsail is currently only supported in `us-east-1` region. 18 19 ## Example Usage, creating a new domain 20 21 ``` 22 resource "aws_lightsail_domain" "domain_test" { 23 domain_name = "mydomain.com" 24 } 25 ``` 26 27 ## Argument Reference 28 29 The following arguments are supported: 30 31 * `domain_name` - (Required) The name of the Lightsail domain to manage 32 33 ## Attributes Reference 34 35 The following attributes are exported in addition to the arguments listed above: 36 37 * `id` - The name used for this domain 38 * `arn` - The ARN of the Lightsail domain