From 0fc44097bb635409cbb8c6edc84509e3b7ec35d0 Mon Sep 17 00:00:00 2001 From: SunithaGudisagar <127872893+SunithaGudisagarIBM1@users.noreply.github.com> Date: Mon, 18 Dec 2023 08:05:09 +0530 Subject: [PATCH] update issue fixed ibm_is_subnet_reserved_ip (#4988) --- 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) }