VPC look up shows always the same VPC even after change of tags #6025
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
When I filter a VPC by tag it still shows the same VPC even if this VPC has new tag.
My code look like this
vpc=ec2.Vpc.from_lookup(self,"VPC",is_default=False,tags={"endpoint":"yes"})
When I change the tag on the VPC to "no" and to "yes" on another VPC, I would expect another VPC to show up. But the output of synth still show the first VPC with its ID.
The text was updated successfully, but these errors were encountered: