github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/aws/r/lightsail_static_ip.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_lightsail_static_ip" 4 sidebar_current: "docs-aws-resource-lightsail-static-ip" 5 description: |- 6 Provides an Lightsail Static IP 7 --- 8 9 # aws\_lightsail\_static\_ip 10 11 Allocates a static IP address. 12 13 ~> **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details 14 15 ## Example Usage 16 17 ```hcl 18 resource "aws_lightsail_static_ip" "test" { 19 name = "example" 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `name` - (Required) The name for the allocated static IP 28 29 ## Attributes Reference 30 31 The following attributes are exported in addition to the arguments listed above: 32 33 * `arn` - The ARN of the Lightsail static IP 34 * `ip_address` - The allocated static IP address 35 * `support_code` - The support code.