amazon: remove region from state for chroot builder

pull/10203/head
Aleksandr Serbin 6 years ago
parent 8dab31b548
commit 7cb8af1441

@ -368,7 +368,6 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
state.Put("awsSession", session)
state.Put("hook", hook)
state.Put("ui", ui)
state.Put("region", *ec2conn.Config.Region)
state.Put("wrappedCommand", common.CommandWrapper(wrappedCommand))
generatedData := &builder.GeneratedData{State: state}

Loading…
Cancel
Save