hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.84k stars 9.19k forks source link

Bypass iops check on unknown ebs volume types #39974

Open willgorman opened 2 weeks ago

willgorman commented 2 weeks ago

Description

This change will allow aws_ebs_volume resources to be created with iops regardless of the volume type, whenever the volume type is not one of awstypes.VolumeType. This allows the provider to be used to create volumes in AWS-compatible backends that offer additional volume types not found in AWS. It also allows the aws_ebs_resource to support any potential new AWS volume types that would allow iops.

Relations

Closes #39838

References

Output from Acceptance Testing

I don't think it's possible to run acceptance tests for this since it would involve using a volume type that AWS doesn't consider valid. I didn't see any unit tests for aws_ebs_volume but if unit tests are needed for this I can add them.

github-actions[bot] commented 2 weeks ago

Community Note

Voting for Prioritization

For Submitters