aws: Allow using the same instance ID as egress for multiple subnets

This commit is contained in:
Ciprian Hacman 2023-07-13 09:12:26 +03:00
parent 1675f21b0a
commit 36b119d599
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ func (b *NetworkModelBuilder) Build(c *fi.CloudupModelBuilderContext) error {
Tags: nil, // We don't need to add tags here
}
c.AddTask(in)
c.EnsureTask(in)
} else if strings.HasPrefix(egress, "tgw-") {
tgwID = &egress
} else if egress == "External" {