intuit import button and sysco importing.
This commit is contained in:
@@ -112,6 +112,26 @@ resource "aws_sqs_queue" "integreat-mail" {
|
||||
POLICY
|
||||
}
|
||||
|
||||
resource "aws_sqs_queue" "background-request" {
|
||||
name = "integreat-background-request-${var.stage}"
|
||||
|
||||
policy = <<POLICY
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"AWS": "${var.task_role_arn}"
|
||||
},
|
||||
"Action": "sqs:*",
|
||||
"Resource": "arn:aws:sqs:*:*:integreat-background-request-${var.stage}"
|
||||
}
|
||||
]
|
||||
}
|
||||
POLICY
|
||||
}
|
||||
|
||||
resource "aws_s3_bucket_notification" "mail_bucket_notification" {
|
||||
bucket = "${aws_s3_bucket.invoices.id}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user