diff --git a/helper/awsutil/generate_credentials.go b/helper/awsutil/generate_credentials.go
index <HASH>..<HASH> 100644
--- a/helper/awsutil/generate_credentials.go
+++ b/helper/awsutil/generate_credentials.go
@@ -68,7 +68,9 @@ func (c *CredentialsConfig) GenerateCredentialChain() (*credentials.Credentials,
 	if c.Region != "" {
 		def.Config.Region = aws.String(c.Region)
 	}
-	def.Config.HTTPClient = c.HTTPClient
+	if c.HTTPClient != nil {
+		def.Config.HTTPClient = c.HTTPClient
+	}
 
 	providers = append(providers, defaults.RemoteCredProvider(*def.Config, def.Handlers))
Only use specified HTTP client for AWS creds if one is passed in. (#<I>)

Probably fixes #<I>