From ed84d425faeab1ba0ff89aa4e8facec123012cb5 Mon Sep 17 00:00:00 2001 From: SunithaGudisagar Date: Thu, 14 Dec 2023 11:28:05 +0530 Subject: [PATCH] update issue fixed ibm_is_subnet_reserved_ip --- ibm/service/vpc/resource_ibm_is_subnet_reserved_ip.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ibm/service/vpc/resource_ibm_is_subnet_reserved_ip.go b/ibm/service/vpc/resource_ibm_is_subnet_reserved_ip.go index bfe20059a8..9c8523bc22 100644 --- a/ibm/service/vpc/resource_ibm_is_subnet_reserved_ip.go +++ b/ibm/service/vpc/resource_ibm_is_subnet_reserved_ip.go @@ -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) }