lightsail_static_ip
Manage static IP addresses in AWS Lightsail
Collection: community.aws
Full Name: community.aws.lightsail_static_ip
Synopsis
Manage static IP addresses in AWS Lightsail
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| name | str | yes | ||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| state | str | present | ||
| validate_certs | bool | true |
Example
yaml
- name: Provision a Lightsail static IP
community.aws.lightsail_static_ip:
state: present
name: my_static_ip
register: my_ip
- name: Remove a static IP
community.aws.lightsail_static_ip:
state: absent
name: my_static_ip