dont overwrite session config in ebs builder

This commit is contained in:
Megan Marsh 2019-03-04 16:19:39 -08:00
parent ca9a5daf29
commit 0ed57a37a3
1 changed files with 1 additions and 3 deletions

View File

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