Skip to content

amazon.aws.ec2_import_image: platform : Update ec2_import_image.py #2526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: stable-9
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions plugins/modules/ec2_import_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,18 @@
amazon.aws.ec2_import_image:
state: absent
task_name: "clone-vm-import-image"

- name: Import Linux VM image
amazon.aws.ec2_import_image:
state: present
task_name: "ubuntu-server-import"
platform: "Linux"
disk_containers:
- format: vmdk
user_bucket:
s3_bucket: "linux-images"
s3_key: "ubuntu-20.04.vmdk"
description: "Ubuntu Server 20.04 LTS"
"""

RETURN = r"""
Expand Down
Loading