PARALLAX

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

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
namestryes
profilestr
regionstr
secret_keystr
session_tokenstr
statestrpresent
validate_certsbooltrue

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
Search
    ↑ ↓ move↵ openesc close