Skip to content
Snippets Groups Projects
Commit a47220b2 authored by Daniel Bimschas's avatar Daniel Bimschas
Browse files

Merge branch 'main' into production

parents 9ef004e0 9864aaa2
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,15 @@ resource "google_cloud_run_service" "goodnews_api" {
name = "ENVIRONMENT"
value = local.environment
}
env {
name = "CACHE_ENABLED"
value = "true"
}
env {
name = "CACHE_TTL_MS"
value = local.environment == "production" ? "43200000" : "60000"
# 12 hours for production, otherwise 1 minute
}
env {
name = "CONTENTFUL_SPACE_ID"
value_from {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment