Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions tf/environments/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1114,10 +1114,13 @@ module "ooniapi_oonimeasurements" {

task_environment = {
# it has to be a json-compliant array
OTHER_COLLECTORS = jsonencode(["http://fastpath.${local.environment}.ooni.io:8475", "https://backend-hel.ooni.org"])
BASE_URL = "https://api.${local.environment}.ooni.io"
S3_BUCKET_NAME = "ooni-data-eu-fra-test"
VALKEY_URL = local.ooniapi_valkey_url
OTHER_COLLECTORS = jsonencode(["http://fastpath.${local.environment}.ooni.io:8475", "https://backend-hel.ooni.org"])
BASE_URL = "https://api.${local.environment}.ooni.io"
S3_BUCKET_NAME = "ooni-data-eu-fra-test"
VALKEY_URL = local.ooniapi_valkey_url
RATE_LIMITS = "10/minute;400000/day;200000/7day"
RATE_LIMITS_WHITELISTED_IPADDRS = jsonencode(["5.9.112.244"])
RATE_LIMITS_UNMETERED_PAGES = jsonencode(["/metrics", "/health"])
}

ooniapi_service_security_groups = [
Expand Down
10 changes: 6 additions & 4 deletions tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1148,10 +1148,12 @@ module "ooniapi_oonimeasurements" {
"http://fastpath.${local.environment}.ooni.io:8475",
"https://backend-fsn.ooni.org"
])
BASE_URL = "https://api.ooni.io"
S3_BUCKET_NAME = "ooni-data-eu-fra"
VALKEY_URL = local.ooniapi_valkey_url
RATE_LIMITS = "10000/minute;4000000/day;2000000/7day"
BASE_URL = "https://api.ooni.io"
S3_BUCKET_NAME = "ooni-data-eu-fra"
VALKEY_URL = local.ooniapi_valkey_url
RATE_LIMITS = "10/minute;400000/day;200000/7day"
RATE_LIMITS_WHITELISTED_IPADDRS = jsonencode(["5.9.112.244"])
RATE_LIMITS_UNMETERED_PAGES = jsonencode(["/metrics", "/health"])
}

ooniapi_service_security_groups = [
Expand Down