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

Commit

Permalink
Added a diagnostic log for region mismtach
Browse files Browse the repository at this point in the history
should help to diagnose #1084 #1056

Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof committed Jan 4, 2021
1 parent 4dd8931 commit b560f0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ecs/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import (
"os/signal"
"syscall"

"github.com/sirupsen/logrus"

"github.com/docker/compose-cli/api/compose"
"github.com/docker/compose-cli/errdefs"

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

func (b *ecsAPIService) Up(ctx context.Context, project *types.Project, options compose.UpOptions) error {

logrus.Debugf("deploying on AWS with region=%q", b.Region)
err := b.aws.CheckRequirements(ctx, b.Region)
if err != nil {
return err
Expand Down

0 comments on commit b560f0c

Please sign in to comment.