Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

fix: Ignore apigateway model-template fetch if model not exists #876

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions resources/services/apigateway/rest_apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down