Skip to content

Commit

Permalink
doc fixes, delete fixes on instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Kita committed Nov 5, 2024
1 parent 189b515 commit b1de83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ibm/service/power/resource_ibm_pi_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ func resourceIBMPIInstanceDelete(ctx context.Context, d *schema.ResourceData, me
client := instance.NewIBMPIInstanceClient(ctx, sess, cloudInstanceID)
for _, instanceID := range idArr[1:] {
retainVSNBool := d.Get(Arg_RetainVirtualSerialNumber).(bool)
if retainVSNBool {
if _, ok := d.GetOk(Arg_VirtualSerialNumber); ok && retainVSNBool {
body := &models.PVMInstanceDelete{
RetainVSN: &retainVSNBool,
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/pi_virtual_serial_number.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resource "ibm_pi_virtual_serial_number" "testacc_virtual_serial_number" {

ibm_pi_virtual_serial_number provides the following [timeouts](https://www.terraform.io/docs/language/resources/syntax.html) configuration options:

- **create** - (Default 45 minutes) Used for creating an existing virtual serial number.
- **create** - (Default 45 minutes) Used for creating a virtual serial number.
- **update** - (Default 45 minutes) Used for updating a virtual serial number.
- **delete** - (Default 45 minutes) Used for deleting a reserved virtual serial number.

Expand Down

0 comments on commit b1de83b

Please sign in to comment.