-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
terraform.tfvars
executable file
·66 lines (54 loc) · 2.4 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
#------------------------------------------------------------------------------
# written by: Lawrence McDaniel
# https://lawrencemcdaniel.com/
#
# date: sep-2023
#
# usage: override default variable values
#------------------------------------------------------------------------------
###############################################################################
# AWS CLI parameters
###############################################################################
aws_account_id = "123456789012"
tags = {
"terraform" = "true",
"project" = "OpenAI Code Samples"
"contact" = "YOUR CONTACT INFORMATION GOES HERE."
}
aws_region = "us-east-1"
# aws_profile = "default"
###############################################################################
# OpenAI API parameters
###############################################################################
openai_endpoint_image_n = 4
openai_endpoint_image_size = "1024x768"
###############################################################################
# Lambda parameters
###############################################################################
lambda_python_runtime = "python3.11"
debug_mode = true
lambda_memory_size = 256
lambda_timeout = 600
###############################################################################
# CloudWatch logging parameters
###############################################################################
logging_level = "INFO"
log_retention_days = 3
###############################################################################
# APIGateway parameters
###############################################################################
create_custom_domain = false
root_domain = "example.com"
shared_resource_identifier = "openai"
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 = 5
# The API request steady-state rate limit.
throttle_settings_rate_limit = 10