Sets up ability to do backups from production

This commit is contained in:
2023-03-28 12:40:23 -07:00
parent 24366058cf
commit b71095e44b
25 changed files with 1476 additions and 19 deletions

View File

@@ -82,7 +82,16 @@ resource "aws_s3_bucket" "data" {
},
"Resource": "arn:aws:s3:::data.${var.stage}.app.integreatconsult.com",
"Sid": "AllowReadForProd"
}
},
{
"Action": "s3:*",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::679918342773:role/http-proxy"
},
"Resource": "arn:aws:s3:::data.${var.stage}.app.integreatconsult.com",
"Sid": "AllowReadForProdProxy"
}
]
}
POLICY