github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 `us-east-1` region. 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.