|
|
@ -20,24 +20,21 @@ module: ec2_ami_copy
|
|
|
|
short_description: copies AMI between AWS regions, return new image id
|
|
|
|
short_description: copies AMI between AWS regions, return new image id
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Copies AMI from a source region to a destination region. This module has a dependency on python-boto >= 2.5
|
|
|
|
- Copies AMI from a source region to a destination region. This module has a dependency on python-boto >= 2.5
|
|
|
|
version_added: "1.7"
|
|
|
|
version_added: "2.0"
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
source_region:
|
|
|
|
source_region:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the source region that AMI should be copied from
|
|
|
|
- the source region that AMI should be copied from
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: null
|
|
|
|
|
|
|
|
region:
|
|
|
|
region:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the destination region that AMI should be copied to
|
|
|
|
- the destination region that AMI should be copied to
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: null
|
|
|
|
|
|
|
|
aliases: ['aws_region', 'ec2_region', 'dest_region']
|
|
|
|
aliases: ['aws_region', 'ec2_region', 'dest_region']
|
|
|
|
source_image_id:
|
|
|
|
source_image_id:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the id of the image in source region that should be copied
|
|
|
|
- the id of the image in source region that should be copied
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: null
|
|
|
|
|
|
|
|
name:
|
|
|
|
name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the new image to copy
|
|
|
|
- The name of the new image to copy
|
|
|
|