-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstandard-encryption.tf
More file actions
36 lines (30 loc) · 1.05 KB
/
standard-encryption.tf
File metadata and controls
36 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
terraform {
required_version = ">= 0.13"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.0"
}
}
}
provider "aws" {
region = "us-east-1"
}
data "aws_caller_identity" "current" {
}
module "encryption_queue" {
source = "git@github.com:rackspace-infrastructure-automation/aws-terraform-sqs//?ref=v0.12.3"
create_internal_zone_record = true
delay_seconds = 90
enable_sqs_queue_policy = true
internal_record_name = "encrypted-queue"
internal_zone_name = "testqueues.local"
kms_data_key_reuse_period_seconds = 300
kms_key_id = "alias/aws/sqs"
name = "encrypted-queue"
max_message_size = 2048
message_retention_seconds = 86400
receive_wait_time_seconds = 10
role_arn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/Rackspace"
route_53_hosted_zone_id = aws_route53_zone.testing-zone.zone_id
}