File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ module "report-s3-content-lambda" {
2+ source = " ./modules/lambda"
3+ name = " ReportS3Content"
4+ handler = " handlers.report_s3_content_handler.lambda_handler"
5+ lambda_timeout = 900
6+ memory_size = 10240 # max memory size
7+
8+ iam_role_policy_documents = [
9+ module . ndr-bulk-staging-store . s3_read_policy_document ,
10+ module . statistical-reports-store . s3_read_policy_document ,
11+ module . statistical-reports-store . s3_write_policy_document ,
12+ module . ndr-app-config . app_config_policy ,
13+ ]
14+
15+ lambda_environment_variables = {
16+ APPCONFIG_APPLICATION = module.ndr- app- config.app_config_application_id
17+ APPCONFIG_ENVIRONMENT = module.ndr- app- config.app_config_environment_id
18+ APPCONFIG_CONFIGURATION = module.ndr- app- config.app_config_configuration_profile_id
19+ WORKSPACE = terraform.workspace
20+ STATISTICAL_REPORTS_BUCKET = " ${ terraform . workspace } -${ var . statistical_reports_bucket_name } "
21+ BULK_STAGING_BUCKET_NAME = " ${ terraform . workspace } -${ var . staging_store_bucket_name } "
22+ }
23+
24+ is_gateway_integration_needed = false
25+ is_invoked_from_gateway = false
26+ }
27+
You can’t perform that action at this time.
0 commit comments