Skip to content

hmhco/terraform-aws-sqs

 
 

Repository files navigation

AWS SQS Terraform module

Terraform module which creates SQS resources on AWS.

These types of resources are supported:

Usage

module "user_queue" {
  source = "terraform-aws-modules/sqs/aws"

  name = "user"

  tags = {
    Service     = "user"
    Environment = "dev"
  }
}

Examples

Conditional creation

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
}

Authors

Module managed by Anton Babenko.

License

Apache 2 Licensed. See LICENSE for full details.

Packages

No packages published

Languages

  • HCL 100.0%