mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
give engine permission to read and write necessary s3 buckets
This commit is contained in:
parent
4b36215788
commit
dad4d6d55c
1 changed files with 5 additions and 1 deletions
|
|
@ -67,4 +67,8 @@ module "lambda" {
|
|||
)
|
||||
}
|
||||
|
||||
# Policies and IAM
|
||||
# Policies and IAM
|
||||
resource "aws_iam-role_policy_attachment" "engine_s3_read_and_write" {
|
||||
role = module.lambda.role_name
|
||||
policy_arn = data.terraform_remote_state.shared.outputs.engine_s3_read_and_write_arn
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue