Skip to content

Commit

Permalink
Merge pull request #40359 from brinnjoyce/b-aws_fsx_openzfs_file_syst…
Browse files Browse the repository at this point in the history
…em_iops_increase

r/aws_fsx_openzfs_file_system increase SINGLE_AZ_2 max IOPS to 400000
  • Loading branch information
ewbankkit authored Dec 2, 2024
2 parents 84629bc + e1e7a93 commit 23e0b31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/40359.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_fsx_openzfs_file_system: Increase maximum value of `disk_iops_configuration.iops` from `350000` to `400000` for `deployment_type = "SINGLE_AZ_2"`
```
4 changes: 2 additions & 2 deletions internal/service/fsx/openzfs_file_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ func validateDiskConfigurationIOPS(_ context.Context, d *schema.ResourceDiff, me
return fmt.Errorf("expected disk_iops_configuration.0.iops to be in the range (0 - 160000) when deployment_type (%s), got %d", awstypes.OpenZFSDeploymentTypeSingleAz1, v)
}
} else if deploymentType == string(awstypes.OpenZFSDeploymentTypeSingleAz2) {
if v < 0 || v > 350000 {
return fmt.Errorf("expected disk_iops_configuration.0.iops to be in the range (0 - 350000) when deployment_type (%s), got %d", awstypes.OpenZFSDeploymentTypeSingleAz2, v)
if v < 0 || v > 400000 {
return fmt.Errorf("expected disk_iops_configuration.0.iops to be in the range (0 - 400000) when deployment_type (%s), got %d", awstypes.OpenZFSDeploymentTypeSingleAz2, v)
}
}
}
Expand Down

0 comments on commit 23e0b31

Please sign in to comment.