This message was deleted.
s
This message was deleted.
b
there's no easy I've come up with doing it, generally I just give the cluster a known name. I'm assuming this is for the subnet tags eks needs to provision loadbalancers?
c
you assume correctly : ) A known name is good solution, haha. I'll go with that. Thanks.
b
@cuddly-actor-99406 I opened an issue for it: https://github.com/pulumi/pulumi-eks/issues/544
👍 1
@cuddly-actor-99406 I think you can also solve this with the
aws.ec2.Tag
resource, trying something out
okay, this works!
Copy code
vpc.privateSubnetIds.then(id => id.forEach((id, index) => {
    new aws.ec2.Tag(`subnettag-${index}`, {
        key: cluster.eksCluster.name.apply(name => `<http://kubernetes.io/cluster/${name}`|kubernetes.io/cluster/${name}`>),
        resourceId: id,
        value: "owned",
    })
}))
c
oh, cool. I'll try it out. Thankyou.