Skip to content
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

Supports EBS throughput for ec2_launch_template.py #1944

Closed
1 task done
free88dom opened this issue Sep 13, 2023 · 0 comments · Fixed by #2164
Closed
1 task done

Supports EBS throughput for ec2_launch_template.py #1944

free88dom opened this issue Sep 13, 2023 · 0 comments · Fixed by #2164

Comments

@free88dom
Copy link

Summary

I'd like to have an option to specify custom throughput when creating a LaunchTemplate. Only IOPS can be specified in block_device_mapping as of now.

As of now, boto3 has this feature already implemented https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2/client/create_launch_template.html

Issue Type

Feature Idea

Component Name

ec2_launch_template.py

Additional Information

block_device_mappings:
    - device_name: /dev/sda1
      ebs:
        volume_size: "{{ item.disk_volume_size | default(20) }}"
        volume_type: gp3
        delete_on_termination: true
        throughput: 500
        iops: 5000

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
alinabuzachis pushed a commit to abikouo/community.aws that referenced this issue Oct 24, 2024
…#2164)

SUMMARY

Depends-On: ansible-collections/amazon.aws#2319

Add some type hint for the module
Use shared code from amazon.aws.plugins.module_utils.ec2
Add the possibility to delete specific version of a launch template
Add support for tagging for launch template resource (Closes ansible-collections#176)
Add the possibility to tag specific resources, not always instance and volume (Closes [ansible-collections#48](ansible-collections#48, Closes ansible-collections#2083)
Support EBS Throughput (Closes ansible-collections#1944)
Fix issue occurring when launch template contains more than 200 versions (Closes ansible-collections#2131)


ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_launch_template

Reviewed-by: Alina Buzachis
Reviewed-by: Bikouo Aubin
Reviewed-by: GomathiselviS <[email protected]>
alinabuzachis pushed a commit to GomathiselviS/community.aws that referenced this issue Oct 25, 2024
…#2164)

SUMMARY

Depends-On: ansible-collections/amazon.aws#2319

Add some type hint for the module
Use shared code from amazon.aws.plugins.module_utils.ec2
Add the possibility to delete specific version of a launch template
Add support for tagging for launch template resource (Closes ansible-collections#176)
Add the possibility to tag specific resources, not always instance and volume (Closes [ansible-collections#48](ansible-collections#48, Closes ansible-collections#2083)
Support EBS Throughput (Closes ansible-collections#1944)
Fix issue occurring when launch template contains more than 200 versions (Closes ansible-collections#2131)


ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_launch_template

Reviewed-by: Alina Buzachis
Reviewed-by: Bikouo Aubin
Reviewed-by: GomathiselviS <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant