Transit gateway describe peering attachment

Hello Team,

I am getting following errors while describe the transit gateway peering attachments when we have more than one TGW peering attachment and not getting the error while describe the transit gateway peering attachments with single TGW peering attachment. Any one came across this issue, If so pls advise the fix. Thanks.

Code

data “aws_ec2_transit_gateway_attachment” “example” {
filter {
name = “state”
values = [“pendingAcceptance”,“available”]
}
filter {
name = “transit-gateway-id”
values = [“<Transit_gateway_id>”]
}
}

Error

Error: multiple EC2 Transit Gateway Attachments matched; use additional constraints to reduce matches to a single EC2 Transit Gateway Attachment

│ with data.aws_ec2_transit_gateway_attachment.example,
│ on main.tf line 5, in data “aws_ec2_transit_gateway_attachment” “example”:
│ 5: data “aws_ec2_transit_gateway_attachment” “example” {