Hey all, I’m trying to add tags to a subnet that b...
# aws
b
Hey all, I’m trying to add tags to a subnet that being used by my EKS cluster (That also created by the same pulumi stack). When i’m using
const subnet = aws.ec2.Subnet.get()
, I can’t update its tags as
tags
attribute is readonly. Does anyone know how to overcome this and update its tags ?
v
When you use the get method, you’re returning a readonly version of the resource. You should update the tags for the subnet where you are defining it in code