mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-23 15:30:44 -04:00
versionsapi: log aws region
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
(cherry picked from commit ef086bf02d
)
This commit is contained in:
parent
e7bfcb4b3b
commit
78261a295a
1 changed files with 1 additions and 0 deletions
|
@ -413,6 +413,7 @@ func (a *awsClient) deleteImage(ctx context.Context, ami string, region string,
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
a.ec2 = ec2.NewFromConfig(cfg)
|
a.ec2 = ec2.NewFromConfig(cfg)
|
||||||
|
log.Debugf("Deleting resources in AWS region %s", region)
|
||||||
|
|
||||||
snapshotID, err := a.getSnapshotID(ctx, ami, log)
|
snapshotID, err := a.getSnapshotID(ctx, ami, log)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue