awsx.ec2.Vpc
does not apply tags from subnet_specs if subnet_strategy=awsx.ec2.SubnetAllocationStrategy.AUTO
#1287
Labels
What happened?
In order to set up EKS in AWS it is required to tag the subnets accordingly with
kubernetes.io
tags:pulumi-awsx
seems to ignore the subnet tags fromsubnet_specs
as soon as theSubnetAllocationStrategy
is set toAUTO
and explicitcidr_blocks
are defined on subnet level.Example
Correct Behavior with
SubnetAllocationStrategy = LEGACY
produces the correct output:
Incorrect Behavior with
SubnetAllocationStrategy = AUTO
As soon as I switch
SubnetAllocationStrategy
toAUTO
the subnet tags are no longer applied:Output of
pulumi about
Additional context
I guess that here
pulumi-awsx/awsx/ec2/subnetDistributorNew.ts
Lines 154 to 159 in adae402
pulumi-awsx/awsx/ec2/subnetDistributorLegacy.ts
Lines 131 to 137 in adae402
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: