Skip to content

Commit

Permalink
Add vpc-peering-connection handling
Browse files Browse the repository at this point in the history
  • Loading branch information
silv-io committed Sep 27, 2024
1 parent c7965f1 commit 45a24cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moto/resourcegroupstaggingapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def format_tag_keys(
for subnet in self.ec2_backend.subnets.values()
for subnet in subnet.values()
),
# TODO: "ec2:vpc-peering-connection": self.ec2_backend.vpc_peering_connections.values(),
"ec2:vpc-peering-connection": self.ec2_backend.vpc_pcxs.values(),
"ec2:transit-gateway": self.ec2_backend.transit_gateways.values(),
"ec2:transit-gateway-attachment": self.ec2_backend.transit_gateway_attachments.values(),
"ec2:route-table": self.ec2_backend.route_tables.values(),
Expand All @@ -306,8 +306,8 @@ def format_tag_keys(
"ec2:internet-gateway": self.ec2_backend.internet_gateways.values(),
"ec2:managed-prefix-lists": self.ec2_backend.managed_prefix_lists.values(),
"ec2:flow-logs": self.ec2_backend.flow_logs.values(),
# TODO: "ec2:reserved-instance": self.ec2_backend.reserved_instances.values(),
"ec2:spot-instance-request": self.ec2_backend.spot_instance_requests.values(),
# TODO: "ec2:reserved-instance": ...,
}

for resource_type, resources in ec2_resource_types.items():
Expand Down

0 comments on commit 45a24cc

Please sign in to comment.