Skip to content

Commit

Permalink
add new storage tiers to pi instances (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltol authored Sep 20, 2024
1 parent 3d38386 commit f04e24f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/resources/ibm/pi_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ func (r *PiInstance) piInstanceStorageCostComponent() *schema.CostComponent {
unit = "TIER_ONE_STORAGE_GIGABYTE_HOURS"
} else if r.StorageType == "tier3" {
unit = "TIER_THREE_STORAGE_GIGABYTE_HOURS"
} else if r.StorageType == "tier0" {
unit = "TIER_ZERO_STORAGE_GIGABYTE_HOURS"
} else if r.StorageType == "tier5k" {
unit = "FIXED_5K_OPS_GIGABYTE_HOURS"
}

return &schema.CostComponent{
Expand Down

0 comments on commit f04e24f

Please sign in to comment.