PARALLAX

lightsail_snapshot

Creates snapshots of AWS Lightsail instances

Collection: community.aws

Full Name: community.aws.lightsail_snapshot

Synopsis

Creates snapshots of AWS Lightsail instances

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
instance_namestr
profilestr
regionstr
secret_keystr
session_tokenstr
snapshot_namestryes
statestrpresent
validate_certsbooltrue
waitbooltrue
wait_timeoutint300

Example

yaml
- name: Create AWS Lightsail snapshot
  community.aws.lightsail_snapshot:
    region: us-east-1
    snapshot_name: "my_instance_snapshot"
    instance_name: "my_instance"

- name: Delete AWS Lightsail snapshot
  community.aws.lightsail_snapshot:
    region: us-east-1
    snapshot_name: "my_instance_snapshot"
    state: absent
Search
    ↑ ↓ move↵ openesc close