Skip to content

Commit d9777f7

Browse files
committed
Drop identifying stack based on name alone
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 3874297 commit d9777f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/aws/aws.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ func (p *AWSProvider) getEgressStack(ctx context.Context) (cftypes.Stack, error)
683683
}
684684

685685
for _, stack := range resp.Stacks {
686-
if cloudformationHasTags(tags, stack.Tags) || aws.ToString(stack.StackName) == staticLagacyStackName {
686+
if cloudformationHasTags(tags, stack.Tags) {
687687
egressStack = stack
688688
break
689689
}

0 commit comments

Comments
 (0)