fix: change name to keypair key path file

This commit is contained in:
Marin Salinas 2019-02-04 13:08:33 -06:00 committed by Megan Marsh
parent 52962f2355
commit 09b899bb84
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
&awscommon.StepKeyPair{
Debug: b.config.PackerDebug,
Comm: &b.config.RunConfig.Comm,
DebugKeyPath: fmt.Sprintf("ec2_%s.pem", b.config.PackerBuildName),
DebugKeyPath: fmt.Sprintf("ec2_%s", b.config.PackerBuildName),
},
&awscommon.StepSecurityGroup{
SecurityGroupFilter: b.config.SecurityGroupFilter,