From 25c5a8cd727e458996a99e5d0a437aedbd6eded5 Mon Sep 17 00:00:00 2001 From: flaviostutz Date: Thu, 29 Oct 2020 22:33:23 -0300 Subject: [PATCH] fixing empty vpcId Signed-off-by: flaviostutz --- ecs/awsResources.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecs/awsResources.go b/ecs/awsResources.go index b336adad0..012b31822 100644 --- a/ecs/awsResources.go +++ b/ecs/awsResources.go @@ -167,8 +167,8 @@ func (b *ecsAPIService) parseClusterExtension(ctx context.Context, project *type func (b *ecsAPIService) parseVPCExtension(ctx context.Context, project *types.Project) (string, []awsResource, error) { var vpc string if x, ok := project.Extensions[extensionVPC]; ok { - vpcID := x.(string) - err := b.aws.CheckVPC(ctx, vpcID) + vpc = x.(string) + err := b.aws.CheckVPC(ctx, vpc) if err != nil { return "", nil, err }