This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
forked from amancevice/terraform-aws-serverless-pypi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
107 lines (87 loc) · 2.52 KB
/
variables.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
variable "iam_role_description" {
description = "Lambda functions IAM role description"
default = "PyPI Lambda permissions"
}
variable "iam_role_name" {
description = "Lambda function role name"
default = "pypi-lambda-role"
}
variable "iam_role_policy_name" {
description = "IAM role inline policy name"
default = "pypi-lambda-permissions"
}
variable "lambda_api_description" {
description = "REST API Lambda function description"
default = "PyPI service REST API"
}
variable "lambda_api_fallback_index_url" {
description = "Optional fallback PyPI index URL"
default = "https://pypi.org/simple/"
}
variable "lambda_api_function_name" {
description = "REST API Lambda function name"
default = "pypi-serverless"
}
variable "lambda_api_memory_size" {
description = "REST API Lambda function memory size"
default = 128
}
variable "lambda_api_publish" {
description = "REST API Lambda function publish trigger"
type = bool
default = false
}
variable "lambda_api_qualifier" {
description = "REST API Lambda function qualifier"
default = null
}
variable "lambda_reindex_description" {
description = "Reindexer Lambda function decription"
default = "PyPI service reindexer"
}
variable "lambda_reindex_function_name" {
description = "Reindexer Lambda function name"
default = "pypi-serverless-reindex"
}
variable "lambda_reindex_memory_size" {
description = "Reindexer Lambda function memory size"
default = 128
}
variable "lambda_reindex_publish" {
description = "Reindexer Lambda function publish true/false"
type = bool
default = false
}
variable "lambda_reindex_qualifier" {
description = "Reindexer Lambda function qualifier"
default = null
}
variable "lambda_runtime" {
description = "Lambda runtime"
default = "python3.8"
}
variable "log_group_retention_in_days" {
description = "CloudWatch log group retention period"
default = 30
}
variable "rest_api_authorization" {
description = "API Gateway method authorization [ NONE | CUSTOM | AWS_IAM | COGNITO_USER_POOLS ]"
default = "NONE"
}
variable "rest_api_base_path" {
description = "PyPI index API Gateway base path"
default = null
}
variable "s3_bucket_name" {
description = "PyPI index S3 bucket name"
default = "wg-pypi-private"
}
variable "s3_presigned_url_ttl" {
description = "PyPI package presigned URL expiration in seconds"
default = 900
}
variable "tags" {
description = "Resource tags"
type = map(string)
default = {}
}