diff --git a/resources/services/apigateway/rest_apis.go b/resources/services/apigateway/rest_apis.go index f7c11ddca..448dbbf91 100644 --- a/resources/services/apigateway/rest_apis.go +++ b/resources/services/apigateway/rest_apis.go @@ -912,6 +912,9 @@ func resolveApigatewayRestAPIModelModelTemplate(ctx context.Context, meta schema // select * from aws_apigateway_rest_api_models where model_template is nil return nil } + if cl.IsNotFoundError(err) { + return nil + } return diag.WrapError(err) } return resource.Set(c.Name, response.Value)