mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
correct s3 policy attachment
This commit is contained in:
parent
f3d51c4c7c
commit
9c4a8e11db
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ module "fastapi_sqs_policy" {
|
|||
}
|
||||
|
||||
|
||||
resource "aws_iam_role_policy_attachment" "fastapi_sqs_send" {
|
||||
resource "aws_iam_role_policy_attachment" "fastapi_sqs_read_and_write" {
|
||||
role = module.fastapi.role_name
|
||||
policy_arn = module.fastapi_sqs_policy.policy_arn
|
||||
policy_arn = data.terraform_remote_state.shared.outputs.fast_api_s3_read_and_write_arn
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue