Skip to content

ec2_instance: Support throughtput parameter for GP3 volume types as part of volumes parameter #395

Description

@gtie
SUMMARY

Support throughtput parameter for GP3 volume types as part of the ec2.volumes parameter

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

ec2.py

ADDITIONAL INFORMATION

While GP3 EBS volumes can be created together with an EC2 instance using the ec2 module, the feature of setting a custom throughput parameter is still missing. This leads to very ugly workarounds.

Ideally, we should be able to specify it directly as in:

- amazon.aws.ec2:
    key_name: mykey
    group: webserver
    instance_type: c3.medium
    image: ami-123456
    wait: yes
    wait_timeout: 500
    volumes:
      - device_name: /dev/xvda
        volume_type: gp3
        volume_size: 8
        throughput: 250

This type of definition is already supported by the ec2_vol module, but it's not yet present in ec2

Metadata

Metadata

Assignees

Labels

featureThis issue/PR relates to a feature requestjiramodulemodulepluginsplugin (any type)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions