dont overwrite session config in ebs builder

pull/7361/head
Megan Marsh 7 years ago
parent ca9a5daf29
commit 0ed57a37a3

@ -93,9 +93,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
return nil, err
}
ec2conn := ec2.New(session, &aws.Config{
HTTPClient: commonhelper.HttpClientWithEnvironmentProxy(),
})
ec2conn := ec2.New(session)
// Setup the state bag and initial state for the steps
state := new(multistep.BasicStateBag)

Loading…
Cancel
Save