palashgandhi opened a new pull request #1596: URL: https://github.com/apache/libcloud/pull/1596
## EC2: Add support for gp3 and io2 volumes ### Description The ec2 driver currently supports `standard`, `io1`, `gp2`, `st1` and `sc1` volume types. This change adds support for `gp3` and `io2` volume types. The driver currently maintains a list of volume types and raises a `ValueError` if an unsupported volume type is passed. The solution is to simply add the new types to this list. This change also enhances the `create_volume` unit test to verify that a `ValueError` is raised for a volume type that is not in the list. ### Status - done, ready for review ### Checklist (tick everything that applies) - [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks) - [x] Documentation - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html) - [x] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes) (required for bigger changes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
