Terraform module which creates SQS resources on AWS.
These types of resources are supported:
- SQS queue with optional server-side encryption using KMS
module "user_queue" {
source = "terraform-aws-modules/sqs/aws"
name = "user"
tags = {
Service = "user"
Environment = "dev"
}
}
Sometimes you need to have a way to create SQS queue conditionally but Terraform does not allow to use count
inside module
block, so the solution is to specify argument create
.
# This SQS queue will not be created
module "user_queue" {
source = "terraform-aws-modules/sqs/aws"
create = false
# ... omitted
}
Module managed by Anton Babenko.
Apache 2 Licensed. See LICENSE for full details.