Allocates a static IP address.
resource "aws_lightsail_static_ip" "test" {
name = "example"
}
This resource supports the following arguments:
name
- (Required) The name for the allocated static IPThis resource exports the following attributes in addition to the arguments above:
arn
- The ARN of the Lightsail static IPip_address
- The allocated static IP addresssupport_code
- The support code.