Unable to integrate SQS with HTTP api gateway using terraform

I am trying to integrate SQS with HTTP API gateway but not able to using terraform. I am able to do it using AWS console.