sqs-policy-document
dod-iac/sqs-policy-document/aws
A SQS policy document.
Usage Creates a SQS policy document for use as a policy for a SQS queue. ``hcl module "sqs_policy_document" { source = "dod-iac/sqs-policy-document/aws" s3_buckets_send = [module.s3_bucket_source.arn] receivers = [module.lambda_function_receive.arn] } module "sqs_queue" { source = "dod-iac/sqs-queue" name = format("app-%s-%s", var.application, var.environment) policy = module.sqs_policy_document.json } ` Testing Run all terratest tests using the terratest script. If using aws-vault, you could use aws-vault exec $AWS_PROFILE -- terratest. The AWS_DEFAULT_REGION environment variable is required by the tests. Use TT_SKIP_DESTROY=1 to not destroy the infrastructure created during the tests. Use TT_VERBOSE=1 to log all tests as they are run. Use TT_TIMEOUT to set the timeout for the tests, with
| Name | Type | Description | Default |
|---|---|---|---|
| queue_arn | string | The ARN of the AWS SQS queue. | required |
| eventbridge_rules_send | list(string) | The ARNs of the AWS EventBridge rules that can send events into the queue. Use | [] |
| s3_buckets_send | list(string) | The ARNs of the AWS S3 buckets that can send S3 event notifications into the que | [] |
| sns_topics_send | list(string) | The ARNs of the AWS SNS topics that can send SNS messages into the queue. Use [" | [] |
| receivers | list(string) | List of AWS principals that can receive messages from the SQS queue. | [] |
| senders | list(string) | List of AWS principals that can send messages into the SQS queue. | [] |
json — The rendered JSON of the policy document.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,