Skip to content

Commit

Permalink
fix: add initial_delay_seconds in terraform (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoo1984 authored Jan 17, 2025
1 parent 3889128 commit 6779ffc
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
15 changes: 8 additions & 7 deletions .happy/terraform/envs/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ module "stack" {
k8s_namespace = var.k8s_namespace
services = {
gql = merge(local.routing_config[local.service_type], {
name = "graphql-federation"
port = "4444"
memory = "8000Mi"
memory_requests = "8000Mi"
cpu = "3000m"
cpu_requests = "3000m"
health_check_path = "/health"
name = "graphql-federation"
port = "4444"
memory = "8000Mi"
memory_requests = "8000Mi"
cpu = "3000m"
cpu_requests = "3000m"
initial_delay_seconds = "120"
health_check_path = "/health"
// INTERNAL - OIDC protected ALB
// EXTERNAL - external ALB
// PRIVATE - cluster IP only, no ALB at all
Expand Down
15 changes: 8 additions & 7 deletions .happy/terraform/envs/sandbox/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ module "stack" {
k8s_namespace = var.k8s_namespace
services = {
gql = merge(local.routing_config[local.service_type], {
name = "graphql-federation"
port = "4444"
memory = "8000Mi"
memory_requests = "8000Mi"
cpu = "3000m"
cpu_requests = "3000m"
health_check_path = "/health"
name = "graphql-federation"
port = "4444"
memory = "8000Mi"
memory_requests = "8000Mi"
cpu = "3000m"
cpu_requests = "3000m"
initial_delay_seconds = "120"
health_check_path = "/health"
// INTERNAL - OIDC protected ALB
// EXTERNAL - external ALB
// PRIVATE - cluster IP only, no ALB at all
Expand Down
17 changes: 8 additions & 9 deletions .happy/terraform/envs/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ module "stack" {
k8s_namespace = var.k8s_namespace
services = {
gql = merge(local.routing_config[local.service_type], {
name = "graphql-federation"
port = "4444"
memory = "8000Mi"
memory_requests = "8000Mi"
cpu = "3000m"
cpu_requests = "3000m"
liveness_timeout_seconds = "180"
readiness_timeout_seconds = "180"
health_check_path = "/health"
name = "graphql-federation"
port = "4444"
memory = "8000Mi"
memory_requests = "8000Mi"
cpu = "3000m"
cpu_requests = "3000m"
initial_delay_seconds = "120"
health_check_path = "/health"
// INTERNAL - OIDC protected ALB
// EXTERNAL - external ALB
// PRIVATE - cluster IP only, no ALB at all
Expand Down

0 comments on commit 6779ffc

Please sign in to comment.