diff --git a/resources/resource_factories/create/create.go b/resources/resource_factories/create/create.go index f7bde9ee6bf..32874486593 100644 --- a/resources/resource_factories/create/create.go +++ b/resources/resource_factories/create/create.go @@ -243,6 +243,9 @@ func (c *Client) FromRemote(uri string, options map[string]interface{}) (resourc if ct := http.DetectContentType(body); ct != "application/octet-stream" { if arr, _ := mime.ExtensionsByType(ct); arr != nil { contentType = arr[0] + if contentType == ".jpe" { + contentType = ".jpg" + } } } }