Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit b560f0c

Browse files
committed
Added a diagnostic log for region mismtach
should help to diagnose #1084 #1056 Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 4dd8931 commit b560f0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ecs/up.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import (
2323
"os/signal"
2424
"syscall"
2525

26+
"github.com/sirupsen/logrus"
27+
2628
"github.com/docker/compose-cli/api/compose"
2729
"github.com/docker/compose-cli/errdefs"
2830

@@ -50,7 +52,7 @@ func (b *ecsAPIService) Start(ctx context.Context, project *types.Project, consu
5052
}
5153

5254
func (b *ecsAPIService) Up(ctx context.Context, project *types.Project, options compose.UpOptions) error {
53-
55+
logrus.Debugf("deploying on AWS with region=%q", b.Region)
5456
err := b.aws.CheckRequirements(ctx, b.Region)
5557
if err != nil {
5658
return err

0 commit comments

Comments
 (0)