sqs

foss-cafe/sqs/aws

Terraform Module HCL AWS

Terraform module for AWS SQS

Install
module "sqs" {
source = "foss-cafe/sqs/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-foss-cafe-sqs-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Module for AWS SQS Using as Module KMS Enabled ``hcl module "sqsexample" { source = "../" name = var.name tags = var.tags } ` Without KMS `hcl module "sqsexample" { source = "../" name = var.name kms_enabled = false tags = var.tags } ` Requirements No requirements. Providers | Name | Version | |------|---------| | aws | n/a | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | content\_based\_deduplication | Enables content-based deduplication for FIFO queues | bool | false | no | | create | Whether to create SQS queue | bool | true | no | | customer\_master\_key\_spec | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. V

Inputs (23)
NameTypeDescriptionDefault
kms_master_key_idstringThe ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CM required
namestringThis is the human-readable name of the queue. If omitted, Terraform will assign required
kms_enabledboolDo you want to Enable KMS key for SQStrue
key_usagestringSpecifies the intended use of the key. Valid values: ENCRYPT_DECRYPT or SIGN_VER"ENCRYPT_DECRYPT"
customer_master_key_specstringSpecifies whether the key contains a symmetric key or an asymmetric key pair and"SYMMETRIC_DEFAULT"
kms_policystringA valid KMS policy JSON document. Note that if the policy document is not specif""
deletion_window_in_daysnumberDuration in days after which the key is deleted after destruction of the resourc30
is_enabledboolSpecifies whether the key is enabled. Defaults to true.true
delay_secondsnumberThe time in seconds that the delivery of all messages in the queue will be delay0
redrive_policystringThe JSON policy to set up the Dead Letter Queue, see AWS docs. Note: when specif""
source_arnstringS3 ARN for SQS Policies""
policystringThe JSON policy for the SQS queue""
fifo_queueboolBoolean designating a FIFO queuefalse
content_based_deduplicationboolEnables content-based deduplication for FIFO queuesfalse
descriptionstringThe description of the key as viewed in AWS console."SQS: KMS Key for"
visibility_timeout_secondsnumberThe visibility timeout for the queue. An integer from 0 to 43200 (12 hours)30
max_message_sizenumberThe limit of how many bytes a message can contain before Amazon SQS rejects it. 262144
kms_data_key_reuse_period_secondsnumberThe length of time, in seconds, for which Amazon SQS can reuse a data key to enc300
tagsmap(string)A mapping of tags to assign to all resources{}
enable_key_rotationboolSpecifies whether key rotation is enabled. Defaults to falsefalse
createboolWhether to create SQS queuetrue
message_retention_secondsnumberThe number of seconds Amazon SQS retains a message. Integer representing seconds345600
Outputs (6)
kmd_key_id — The globally unique identifier for the key.
kmd_target_key_id — Key identifier pointed to by the alias.
kmd_target_key_arn — ARN pointed to by the alias.
id — The URL for the created Amazon SQS queue
arn — The ARN of the SQS queue
kmd_arn — The Amazon Resource Name(ARN) of the key alias.
Resources (4)
aws_kms_aliasaws_kms_keyaws_sqs_queueaws_sqs_queue_policy
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars0
Forks0
Total downloads6.1k
Inputs23
Outputs6
Resources4
Namespacefoss-cafe
Updated