aws_instance: for inline EBS volumes, throughput is ignored if iops are specified #17379
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.5
Affected Resource(s)
aws_instance
resourceTerraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/matthiasr/463670006387c005e78d42910a78f822
Expected Behavior
Root EBS volume has throughput 300
Actual Behavior
EBS volume has throughput 125.
I tested this separately for the
ebs_block_device
and it shows the same behavior. I believe theebs_volume
resource does not have this issue, but have not extensively tested it as we mostly use inline volumes.Steps to Reproduce
terraform plan
the above HCLthroughput = 300
apply
the planterraform state show aws_instance.ebs[0]
showsthroughput = 125
(as does the EC2 console)Important Factoids
I think I see where this is happening in the code, and will submit a PR shortly.
References
throughput
The text was updated successfully, but these errors were encountered: