Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Jul 3, 2024
1 parent 66d49c0 commit ba4aa9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 7 additions & 9 deletions plugins/modules/ec2_ami.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
default: ''
no_reboot:
description:
- Flag indicating that the bundling process should not attempt to shutdown the instance before bundling. If this flag is True, the
- Flag indicating that the bundling process should not attempt to shutdown the instance before bundling. If this flag is V(true), the
responsibility of maintaining file system integrity is left to the owner of the instance.
default: false
type: bool
Expand All @@ -78,7 +78,7 @@
device_name:
type: str
description:
- The device name. For example C(/dev/sda).
- The device name. For example V(/dev/sda).
required: true
virtual_name:
type: str
Expand All @@ -91,7 +91,7 @@
- Suppresses the specified device included in the block device mapping of the AMI.
volume_type:
type: str
description: The volume type. Defaults to C(gp2) when not set.
description: The volume type. Defaults to V(gp2) when not set.
delete_on_termination:
type: bool
description: Whether the device should be automatically deleted when the Instance is terminated.
Expand All @@ -100,7 +100,7 @@
description: The ID of the Snapshot.
iops:
type: int
description: When using an C(io1) I(volume_type) this sets the number of IOPS provisioned for the volume.
description: When using O(device_mapping.volume_type=io1), this sets the number of IOPS provisioned for the volume.
encrypted:
type: bool
description: Whether the volume should be encrypted.
Expand Down Expand Up @@ -172,18 +172,16 @@
version_added: 5.5.0
tpm_support:
description:
- Set to v2.0 to enable Trusted Platform Module (TPM) support.
- If the image is configured for NitroTPM support, the value is v2.0 .
- Requires I(boot_mode) to be set to 'uefi'.
- Set to V(v2.0) to enable Trusted Platform Module (TPM) support.
- If the image is configured for NitroTPM support, the value is V(v2.0).
- Requires O(boot_mode) to be set to V(uefi).
- Requires an instance type that is compatible with Nitro.
- Requires minimum botocore version 1.26.0.
- See the AWS documentation for more detail U(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html).
type: str
version_added: 5.5.0
uefi_data:
description:
- Base64 representation of the non-volatile UEFI variable store.
- Requires minimum botocore version 1.26.0.
- See the AWS documentation for more detail U(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html).
type: str
version_added: 5.5.0
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/ec2_ami_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
---
module: ec2_ami_info
version_added: 1.0.0
short_description: Gather information about ec2 AMIs
short_description: Gather information about EC2 AMIs
description:
- Gather information about ec2 AMIs
- Gather information about EC2 AMIs.
author:
- Prasad Katti (@prasadkatti)
options:
Expand Down Expand Up @@ -141,7 +141,7 @@
sample: machine
launch_permissions:
description: A List of AWS accounts may launch the AMI.
returned: When image is owned by calling account and I(describe_image_attributes=true).
returned: When image is owned by calling account and O(describe_image_attributes=true).
type: list
elements: dict
contains:
Expand Down

0 comments on commit ba4aa9f

Please sign in to comment.