Skip to content

Commit

Permalink
rebase with policy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abbas-khan10 committed Dec 13, 2024
1 parent 9d236c2 commit c3bbb71
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions infrastructure/lambda-delete-doc-object.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,17 @@ module "delete-document-object-lambda" {
name = "DeleteDocumentObjectS3"
handler = "handlers.delete_document_object_handler.lambda_handler"
lambda_timeout = 900
iam_role_policies = [
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
"arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy",
module.ndr-app-config.app_config_policy_arn,
module.ndr-document-store.s3_object_access_policy,
module.ndr-lloyd-george-store.s3_object_access_policy,
module.document_reference_dynamodb_table.dynamodb_policy,
module.lloyd_george_reference_dynamodb_table.dynamodb_policy,
aws_iam_policy.dynamodb_stream_delete_object_policy.arn
iam_role_policy_documents = [
module.document_reference_dynamodb_table.dynamodb_read_policy_document,
module.document_reference_dynamodb_table.dynamodb_write_policy_document,
module.ndr-document-store.s3_read_policy_document,
module.ndr-document-store.s3_write_policy_document,
module.lloyd_george_reference_dynamodb_table.dynamodb_read_policy_document,
module.lloyd_george_reference_dynamodb_table.dynamodb_write_policy_document,
module.ndr-lloyd-george-store.s3_read_policy_document,
module.ndr-lloyd-george-store.s3_write_policy_document,
module.ndr-app-config.app_config_policy,
aws_iam_policy.dynamodb_stream_delete_object_policy.policy
]
rest_api_id = null
api_execution_arn = null
Expand Down

0 comments on commit c3bbb71

Please sign in to comment.