Skip to content

Commit

Permalink
Sanity test / doc-default-does-not-match-spec fixups (ansible-collect…
Browse files Browse the repository at this point in the history
…ions#320)

* Sanity test / doc-default-does-not-match-spec fixups
* General docs cleanup

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@b22f280
  • Loading branch information
tremble authored and github-actions[bot] committed Oct 24, 2023
1 parent 9f5288a commit d02fa6f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions plugins/modules/ec2_ami_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
type: str
name:
description:
- The name of the new AMI to copy. (As of 2.3 the default is 'default', in prior versions it was 'null'.)
- The name of the new AMI to copy. (As of 2.3 the default is C(default), in prior versions it was C(null).)
default: "default"
type: str
description:
Expand All @@ -38,20 +38,22 @@
description:
- Whether or not the destination snapshots of the copied AMI should be encrypted.
type: bool
default: false
kms_key_id:
description:
- KMS key id used to encrypt the image. If not specified, uses default EBS Customer Master Key (CMK) for your account.
type: str
wait:
description:
- Wait for the copied AMI to be in state 'available' before returning.
- Wait for the copied AMI to be in state C(available) before returning.
type: bool
default: 'no'
wait_timeout:
description:
- How long before wait gives up, in seconds. Prior to 2.3 the default was 1200.
- How long before wait gives up, in seconds.
- Prior to 2.3 the default was C(1200).
- From 2.3-2.5 this option was deprecated in favor of boto3 waiter defaults.
This was reenabled in 2.6 to allow timeouts greater than 10 minutes.
- This was reenabled in 2.6 to allow timeouts greater than 10 minutes.
default: 600
type: int
tags:
Expand Down

0 comments on commit d02fa6f

Please sign in to comment.