You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e=fmt.Errorf("Resource reached unexpected lifecycle state %s during %s, whereas expected lifecycle state is %s. \n Affected resource OCID: %s", sync.State(), operationName, target[0], resourceId)
447
-
}
443
+
if_, ok:=e.(*resource.UnexpectedStateError); ok {
444
+
e=fmt.Errorf("During %s, Terraform expected the resource to reach state: %s, but the service reported unexpected state: %s.", operationName, target[0], sync.State())
returnfmt.Sprintf("Either the resource has been deleted or service %s need policy to access this resource.", tfError.Service)
52
+
returnfmt.Sprintf("Either the resource has been deleted or service %s need policy to access this resource. Policy reference: https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm", tfError.Service)
returnfmt.Sprintf("Please re-apply your Terraform config and/or increase the retry timeout using this document: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformtroubleshooting.htm#common_issues__automaticretries")
returnfmt.Sprintf("Please retry or contact support for help with service: %s", tfError.Service)
70
+
}
71
+
72
+
funcgetSuggestionForTimeoutError() string {
73
+
returnfmt.Sprintf("Try increasing the timeout by referring to this document: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformtroubleshooting.htm#common_issues__timeoutwhilewaiting")
0 commit comments