-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
terraform.tfvars
executable file
·67 lines (57 loc) · 2.71 KB
/
terraform.tfvars
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
#------------------------------------------------------------------------------
# written by: Lawrence McDaniel
# https://lawrencemcdaniel.com/
#
# date: sep-2023
#
# usage: override default variable values
#------------------------------------------------------------------------------
###############################################################################
# AWS CLI parameters
###############################################################################
aws_account_id = "012345678901"
aws_region = "us-east-1"
# aws_profile = "ADD YOUR PROFILE HERE"
tags = {
"terraform" = "true",
"project" = "Facial Recognition microservice"
"contact" = "ADD YOUR CONTACT INFORMATION HERE"
"shared_resource_identifier" = "rekognition"
}
shared_resource_identifier = "rekognition"
###############################################################################
# Lambda parameters
###############################################################################
lambda_python_runtime = "python3.11"
debug_mode = true
lambda_memory_size = 256
lambda_timeout = 60
###############################################################################
# CloudWatch logging parameters
###############################################################################
logging_level = "INFO"
log_retention_days = 3
###############################################################################
# Rekognition index_faces() optional parameters
###############################################################################
aws_rekognition_max_faces_count = 10
aws_rekognition_face_detect_threshold = 10
aws_rekognition_face_detect_attributes = "DEFAULT"
aws_rekognition_face_detect_quality_filter = "AUTO"
###############################################################################
# APIGateway parameters
###############################################################################
aws_apigateway_create_custom_domaim = false
aws_apigateway_root_domain = "example.com"
stage = "v1"
# Maximum number of requests that can be made in a given time period.
quota_settings_limit = 500
# Number of requests subtracted from the given limit in the initial time period.
quota_settings_offset = 0
# Time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
quota_settings_period = "DAY"
# The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds,
# depending upon whether the underlying token bucket is at its full capacity.
throttle_settings_burst_limit = 25
# The API request steady-state rate limit.
throttle_settings_rate_limit = 10