vendors have codes on them; making sqs for processing.

This commit is contained in:
Bryce Covert
2018-04-05 20:17:19 -07:00
parent 33cfc395de
commit 81263332df
13 changed files with 315 additions and 97 deletions

View File

@@ -1,7 +1,7 @@
{
"version": 3,
"terraform_version": "0.11.5",
"serial": 7,
"serial": 11,
"lineage": "9b630886-8cee-a57d-c7a2-4f19f13f9c51",
"modules": [
{
@@ -117,6 +117,33 @@
"deposed": [],
"provider": "provider.aws"
},
"aws_s3_bucket_notification.mail_bucket_notification": {
"type": "aws_s3_bucket_notification",
"depends_on": [
"aws_s3_bucket.invoices",
"aws_sqs_queue.integreat-mail"
],
"primary": {
"id": "integreat-mail-prod",
"attributes": {
"bucket": "integreat-mail-prod",
"id": "integreat-mail-prod",
"lambda_function.#": "0",
"queue.#": "1",
"queue.0.events.#": "1",
"queue.0.events.3356830603": "s3:ObjectCreated:*",
"queue.0.filter_prefix": "",
"queue.0.filter_suffix": "",
"queue.0.id": "tf-s3-queue-20180406031531190700000001",
"queue.0.queue_arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-prod",
"topic.#": "0"
},
"meta": {},
"tainted": false
},
"deposed": [],
"provider": "provider.aws"
},
"aws_ses_receipt_rule.store": {
"type": "aws_ses_receipt_rule",
"depends_on": [
@@ -168,15 +195,42 @@
"deposed": [],
"provider": "provider.aws"
},
"aws_sqs_queue.integreat-mail": {
"type": "aws_sqs_queue",
"depends_on": [
"aws_s3_bucket.invoices"
],
"primary": {
"id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-prod",
"attributes": {
"arn": "arn:aws:sqs:us-east-1:679918342773:integreat-mail-prod",
"content_based_deduplication": "false",
"delay_seconds": "0",
"fifo_queue": "false",
"id": "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-prod",
"max_message_size": "262144",
"message_retention_seconds": "345600",
"name": "integreat-mail-prod",
"policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"sqs:SendMessage\",\"Resource\":\"arn:aws:sqs:*:*:integreat-mail-prod\",\"Condition\":{\"ArnEquals\":{\"aws:SourceArn\":\"arn:aws:s3:::integreat-mail-prod\"}}}]}",
"receive_wait_time_seconds": "0",
"tags.%": "0",
"visibility_timeout_seconds": "30"
},
"meta": {},
"tainted": false
},
"deposed": [],
"provider": "provider.aws"
},
"data.aws_caller_identity.current": {
"type": "aws_caller_identity",
"depends_on": [],
"primary": {
"id": "2018-04-05 23:57:10.202315014 +0000 UTC",
"id": "2018-04-06 03:15:18.246075732 +0000 UTC",
"attributes": {
"account_id": "679918342773",
"arn": "arn:aws:iam::679918342773:user/bryce",
"id": "2018-04-05 23:57:10.202315014 +0000 UTC",
"id": "2018-04-06 03:15:18.246075732 +0000 UTC",
"user_id": "AIDAJPUJFTOKO4IRADMV4"
},
"meta": {},