Skip to content

Commit

Permalink
add failover units to hsm config
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-patzer committed Nov 12, 2021
1 parent 02067bb commit d7ffbf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ibm/resource_ibm_hpcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,9 @@ func expandHSMConfig(d *schema.ResourceData, meta interface{}) tkesdk.HsmConfig
}
hsmConfig.Admins = admins
}
if f, ok := d.GetOk("failover_units"); ok {
hsmConfig.FailoverUnits = f.(int)
}
return hsmConfig
}
func resourceIBMHPCSDelete(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics {
Expand Down

0 comments on commit d7ffbf3

Please sign in to comment.