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

feat: Add support for EBS GP3 throughput #233

Merged
merged 8 commits into from
Aug 26, 2021
Merged

feat: Add support for EBS GP3 throughput #233

merged 8 commits into from
Aug 26, 2021

Conversation

schniber
Copy link
Contributor

@schniber schniber commented Aug 25, 2021

Fixes #226

Description

Added the mapping of throughput in the dynamic root block and ebs block device objects

Motivation and Context

This will allow to provision gp3 volumes with the capacity to define the required throughput

Breaking Changes

No breaking changes foreseen.
I did not implement checks on volume type since the AWS API will error out in case this is specified for a non gp3 ebs volume.

How Has This Been Tested?

  • [X ] I have tested and validated these changes using one or more of the provided examples/* projects
    I have changed the basic example to have it deploy gp3 volumes for the root and also for additional ebs and also included throughtput values.
    I have also tested a case where user input is incorrect ie setting volume type to gp2 and setting the throughput.
    => AWS API error is clear enough to guide the end user to correct his/her inputs :

Error: error collecting instance settings: error creating resource: throughput attribute not supported for ebs_block_device with volume_type gp2

Please feel free to provide your feedback I'd be happy to take it into account.

Thanks.

Bests.

@antonbabenko
Copy link
Member

Looks good.

Please fix formatting by running pre-commit run -a.

@antonbabenko antonbabenko changed the title Addition of the Throughput Attribute in the Device Maps feat: Add support for EBS GP3 throughput Aug 26, 2021
@schniber
Copy link
Contributor Author

Pre-commit hooks run and all clear !
Thanks for the feedback !
Bests.

@antonbabenko
Copy link
Member

Ok, I fixed the docs. You used to use terraform-docs v0.13.0.

@antonbabenko antonbabenko merged commit b06e376 into terraform-aws-modules:master Aug 26, 2021
@antonbabenko
Copy link
Member

v2.21.0 has been just released.

@schniber
Copy link
Contributor Author

Perfect thanks a lot !
Sorry for the iterations this is my first Pull Request :)
Good luck and keep up the awesome work overall !

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for EBS GP3 throughput
2 participants