SNS Topic Subscription confirmation error

I am getting the below error each time running terraform apply. Here is my code.

resource “aws_sns_topic_subscription” “SNS-file-status-subscription” {
topic_arn = XXXX
protocol = “sqs”
endpoint = “XXXX”
endpoint_auto_confirms = false

Error: waiting for SNS Topic Subscription confirmation: timeout while waiting for state to become ‘false’ (last state: ‘true’, timeout: 2m0s)

Does anybody have any idea about this?