dont overwrite session config in ebs builder
This commit is contained in:
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
|
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)
|
||||||
|
|
Loading…
Reference in New Issue