sqs-queue
dod-iac/sqs-queue/aws
An AWS SQS Queue
Usage Creates an AWS SQS queue. ``hcl module "sqs_queue" { source = "dod-iac/sqs-queue/aws" name = format("app-%s-%s", var.application, var.environment) tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Creates an AWS SQS queue with messages encrypted using a custom KMS key. `hcl module "sqs_kms_key" { source = "dod-iac/sqs-kms-key/aws" name = format("alias/app-%s-sqs-%s", var.application, var.environment) description = format("A KMS key used to encrypt messages in SQS queues for %s:%s.", var.application, var.environment) principals = [aws_iam_role.main.arn] tags = local.project_tags } data "aws_iam_policy_document" "policy" { policy_id = "queue-policy" statement { sid = "AllowPrincipals" actions = [ "sqs:SendMessage", "sqs:GetQueueAttribut
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the SQS queue. | required |
| policy | string | The JSON policy for the SQS queue. | "" |
| source_queues | list(string) | The ARN of the queues that use this queue as a dead-letter queue. | [] |
| tags | map(string) | Tags applied to the SQS queue. | {} |
| visibility_timeout_seconds | number | The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). | 30 |
| dead_letter_queue | string | The ARN of the dead-letter queue. | "" |
| kms_key_arn | string | The ARN of the KMS key used to encrypt messages at-rest. | "" |
| max_receive_count | number | The maximum number of receives for a message before it is moved to the dead-lett | 10 |
arn — The Amazon Resource Name (ARN) of the queue.url — The url of the queue.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,