amazon: remove region from state for chroot builder

This commit is contained in:
Aleksandr Serbin 2020-11-03 22:28:19 +01:00
parent 8dab31b548
commit 7cb8af1441
1 changed files with 0 additions and 1 deletions

View File

@ -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}