Skip to content

Commit

Permalink
add option throughput to argument block_device_mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Oct 10, 2024
1 parent 28463d6 commit 8028b93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ minor_changes:
- ec2_launch_template - Refactor module to use shared code from ``amazon.aws.plugins.module_utils.ec2`` and update ``RETURN`` block (https://github.com/ansible-collections/community.aws/pull/2164).
- ec2_launch_template - Add the possibility to delete specific versions of a launch template using ``versions_to_delete`` (https://github.com/ansible-collections/community.aws/pull/2164).
- ec2_launch_template - Add support for template tags via ``template_tags`` and ``purge_template_tags`` options (https://github.com/ansible-collections/community.aws/issues/176).
- ec2_launch_template - Add suboption ``throughput`` to ``block_device_mappings`` argument (https://github.com/ansible-collections/community.aws/issues/1944).
7 changes: 7 additions & 0 deletions plugins/modules/ec2_launch_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@
volume_type:
description: The volume type
type: str
throughput:
description: >
The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.
Valid Range - Minimum value of 125. Maximum value of 1000.
type: int
version_added: 8.1.0
cpu_options:
description:
- Choose CPU settings for the EC2 instances that will be created with this template.
Expand Down Expand Up @@ -1134,6 +1140,7 @@ def main():
snapshot_id=dict(),
volume_size=dict(type="int"),
volume_type=dict(),
throughput=dict(type="int"),
),
),
no_device=dict(),
Expand Down

0 comments on commit 8028b93

Please sign in to comment.