mirror of https://github.com/kubernetes/kops.git
aws: Allow using the same instance ID as egress for multiple subnets
This commit is contained in:
parent
1675f21b0a
commit
36b119d599
|
|
@ -468,7 +468,7 @@ func (b *NetworkModelBuilder) Build(c *fi.CloudupModelBuilderContext) error {
|
||||||
Tags: nil, // We don't need to add tags here
|
Tags: nil, // We don't need to add tags here
|
||||||
}
|
}
|
||||||
|
|
||||||
c.AddTask(in)
|
c.EnsureTask(in)
|
||||||
} else if strings.HasPrefix(egress, "tgw-") {
|
} else if strings.HasPrefix(egress, "tgw-") {
|
||||||
tgwID = &egress
|
tgwID = &egress
|
||||||
} else if egress == "External" {
|
} else if egress == "External" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue