Skip to content

Commit

Permalink
update issue fixed ibm_is_subnet_reserved_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
SunithaGudisagarIBM1 committed Dec 14, 2023
1 parent dfb68f8 commit ed84d42
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 ed84d42

Please sign in to comment.