now checks get created and uploaded!
This commit is contained in:
@@ -56,6 +56,32 @@ resource "aws_s3_bucket" "invoices" {
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
||||
resource "aws_s3_bucket" "data" {
|
||||
bucket = "data.${var.stage}.app.integreatconsult.com"
|
||||
acl = "private"
|
||||
policy = <<POLICY
|
||||
{
|
||||
"Id": "Policy1526084187222",
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Sid": "Stmt1526084185514",
|
||||
"Action": [
|
||||
"s3:GetObject"
|
||||
],
|
||||
"Effect": "Allow",
|
||||
"Resource": "arn:aws:s3:::data.${var.stage}.app.integreatconsult.com/*",
|
||||
"Principal": "*"
|
||||
}
|
||||
]
|
||||
}
|
||||
POLICY
|
||||
website {
|
||||
index_document = "index.html"
|
||||
}
|
||||
}
|
||||
|
||||
resource "aws_sqs_queue" "integreat-mail" {
|
||||
name = "integreat-mail-${var.stage}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user