Skip to content

Commit 0816430

Browse files
committed
updating timeout message help
1 parent 2f568ac commit 0816430

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

oci/crud_helpers.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,10 @@ func waitForStateRefresh(sync StatefulResource, timeout time.Duration, operation
576576
e = fmt.Errorf("%s, The service for this resource encountered an unknown error. Provide the following resource ID if you contact support for help with that service: %s", e, resourceId)
577577
}
578578
}
579+
580+
if _, ok := e.(*resource.TimeoutError); ok {
581+
e = fmt.Errorf("%s, you may need to increase the Terraform Operation timeouts for your resource to continue polling for longer", e)
582+
}
579583
return e
580584
}
581585

0 commit comments

Comments
 (0)