-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
30 lines (27 loc) · 1.22 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module "aws_lambda_api" {
source = "./modules/api"
prefix = var.prefix
common_tags = var.common_tags
# Lambda API
description = var.description
runtime = var.runtime
handler = var.handler
memory_size = var.memory_size
envs = var.envs
policy_json = var.policy_json
logs_retention_in_days = var.logs_retention_in_days
jwt_authorization_groups_attr_name = var.jwt_authorization_groups_attr_name
# CI/CD
github = var.github
pre_release = var.pre_release
github_repository = var.github_repository
s3_artifacts = var.s3_artifacts
app_src_path = var.app_src_path
packages_descriptor_path = var.packages_descriptor_path
ci_notifications_slack_channels = var.ci_notifications_slack_channels
# API Gateway
stage_name = var.stage_name
jwt_authorizer = var.jwt_authorizer
routes_definitions = var.routes_definitions
access_logs_retention_in_days = var.access_logs_retention_in_days
}