Skip to content

Commit

Permalink
update issue fixed ibm_is_subnet_reserved_ip (#4988)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunithaGudisagarIBM1 authored Dec 18, 2023
1 parent 5c58363 commit 0fc4409
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ibm/service/vpc/resource_ibm_is_subnet_reserved_ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ func resourceIBMISReservedIPUpdate(d *schema.ResourceData, meta interface{}) err
if err != nil {
return fmt.Errorf("[ERROR] Error updating the reserved IP %s\n%s", err, response)
}

_, err = isWaitForReservedIpAvailable(sess, subnetID, reservedIPID, d.Timeout(schema.TimeoutCreate), d)
if err != nil {
return fmt.Errorf("[ERROR] Error waiting for the reserved IP to be available: %s", err)
}
}
return resourceIBMISReservedIPRead(d, meta)
}
Expand Down

0 comments on commit 0fc4409

Please sign in to comment.