intuit import button and sysco importing.

This commit is contained in:
2021-12-18 19:11:02 -08:00
parent fcdc00ed16
commit 64720a4bd6
19 changed files with 297 additions and 24 deletions

View File

@@ -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}"