Merge pull request #839 from Hestia-Homes/deploy-fastapi-with-terraform

Deploy fastapi with terraform: correct s3 policy name
This commit is contained in:
Daniel Roth 2026-03-11 14:47:42 +00:00 committed by GitHub
commit 7de7f311f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,7 +120,7 @@ module "fastapi" {
############################################
resource "aws_iam_role_policy_attachment" "fast_api_s3_read" {
role = module.fastapi.role_name
policy_arn = data.terraform_remote_state.shared.outputs.fast_api_s3_read_arn
policy_arn = data.terraform_remote_state.shared.outputs.fast_api_s3_read_and_write_arn
}
module "fastapi_sqs_policy" {