[Enhancement]: Option to skip iops validation for unknown ebs volume types #39838
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
needs-triage
Waiting for first response or review from a maintainer.
service/ebs
Issues and PRs that pertain to the ebs service.
service/ec2ebs
Issues and PRs that pertain to the ec2ebs service.
Description
The provider currently prevents
iops
from being set on volume types other thanio1
,io2
, andgp3
:terraform-provider-aws/internal/service/ec2/ebs_volume.go
Lines 349 to 367 in 08b1191
This presents a problem when using the provider with alternate backends that support the AWS EBS APIs but offer additional volume types, some of which do allow specifying provisioned iops. The purpose for this issue is to see if there is support for opening a PR that makes it possible to allow iops to be provided for other volume types. The implementation for this PR could be one of the following:
This would also be beneficial if AWS adds another new volume type in the future that supports provisioned iops. Currently the provider would have to be updated to allow iops to be used with the new volume type but with this change it would be possible to use the new volume type without upgrading the provider version.
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: