Fixed formatting
This commit is contained in:
parent
66f08e6251
commit
17eda06d61
|
@ -211,7 +211,7 @@ func (s *StepRunSourceInstance) Run(state multistep.StateBag) multistep.StepActi
|
||||||
|
|
||||||
if s.SubnetId != "" && s.AssociatePublicIpAddress {
|
if s.SubnetId != "" && s.AssociatePublicIpAddress {
|
||||||
runOpts.NetworkInterfaces = []*ec2.InstanceNetworkInterfaceSpecification{
|
runOpts.NetworkInterfaces = []*ec2.InstanceNetworkInterfaceSpecification{
|
||||||
&ec2.InstanceNetworkInterfaceSpecification{
|
{
|
||||||
DeviceIndex: aws.Int64(0),
|
DeviceIndex: aws.Int64(0),
|
||||||
AssociatePublicIpAddress: &s.AssociatePublicIpAddress,
|
AssociatePublicIpAddress: &s.AssociatePublicIpAddress,
|
||||||
SubnetId: &s.SubnetId,
|
SubnetId: &s.SubnetId,
|
||||||
|
|
Loading…
Reference in New Issue