Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.31 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.31 KB

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.