versionsapi: log aws region

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
(cherry picked from commit ef086bf02dcb62ad020104b2520416dc6dd301cf)
This commit is contained in:
Paul Meyer 2023-01-10 16:36:15 +01:00 committed by Malte Poll
parent e7bfcb4b3b
commit 78261a295a

View File

@ -413,6 +413,7 @@ func (a *awsClient) deleteImage(ctx context.Context, ami string, region string,
return err
}
a.ec2 = ec2.NewFromConfig(cfg)
log.Debugf("Deleting resources in AWS region %s", region)
snapshotID, err := a.getSnapshotID(ctx, ami, log)
if err != nil {