```hcl
module "es_ingest_queue" {
  source      = "./sqs"
  queue_name  = "es_ingest_queue"
  aws_region  = "${var.aws_region}"
  account_id  = "${data.aws_caller_identity.current.account_id}"
  topic_names = ["${module.es_ingest_topic.name}"]
}

module "id_minter_queue" {
  source      = "./sqs"
  queue_name  = "id_minter_queue"
  aws_region  = "${var.aws_region}"
  account_id  = "${data.aws_caller_identity.current.account_id}"
  topic_names = ["${module.id_minter_topic.name}"]
}
```

Make the id_minter only receive messages only once so we don't get race conditions if it takes too long to process one
user
```hcl
module "es_ingest_queue" {
  source      = "./sqs"
  queue_name  = "es_ingest_queue"
  aws_region  = "${var.aws_region}"
  account_id  = "${data.aws_caller_identity.current.account_id}"
  topic_names = ["${module.es_ingest_topic.name}"]
}

module "id_minter_queue" {
  source      = "./sqs"
  queue_name  = "id_minter_queue"
  aws_region  = "${var.aws_region}"
  account_id  = "${data.aws_caller_identity.current.account_id}"
  topic_names = ["${module.id_minter_topic.name}"]
  max_receive_count = "1"
}
```
assistant