Skip to content

Commit

Permalink
Updating tf to match new spec
Browse files Browse the repository at this point in the history
  • Loading branch information
manasaV3 committed Feb 8, 2024
1 parent 4f45b9a commit 57526fa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .happy/terraform/envs/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ module "stack" {
source = "git@github.com:chanzuckerberg/happy//terraform/modules/happy-stack-eks?ref=main"
image_tag = var.image_tag
image_tags = jsondecode(var.image_tags)
app_name = "cryoet"
stack_name = var.stack_name
deployment_stage = "dev"
stack_prefix = "/${var.stack_name}"
k8s_namespace = var.k8s_namespace
platform_architecture = "arm64"
additional_env_vars = {
HASURA_GRAPHQL_ENABLE_CONSOLE = "false"
HASURA_GRAPHQL_DATABASE_URL = data.aws_ssm_parameter.db_url.value
Expand All @@ -29,7 +29,8 @@ module "stack" {
memory = "1500Mi"
cpu = "1500m"
health_check_path = "/healthz",
service_type = "INTERNAL"
service_type = "INTERNAL",
platform_architecture = "arm64",
}
}
tasks = {
Expand Down
5 changes: 3 additions & 2 deletions .happy/terraform/envs/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ module "stack" {
source = "git@github.com:chanzuckerberg/happy//terraform/modules/happy-stack-eks?ref=main"
image_tag = var.image_tag
image_tags = jsondecode(var.image_tags)
app_name = "cryoet"
stack_name = var.stack_name
deployment_stage = "prod"
stack_prefix = "/${var.stack_name}"
k8s_namespace = var.k8s_namespace
platform_architecture = "arm64"
additional_env_vars = {
HASURA_GRAPHQL_ENABLE_CONSOLE = "false"
HASURA_GRAPHQL_DATABASE_URL = data.aws_ssm_parameter.db_url.value
Expand All @@ -29,7 +29,8 @@ module "stack" {
memory = "1500Mi"
cpu = "1500m"
health_check_path = "/healthz",
service_type = "EXTERNAL"
service_type = "EXTERNAL",
platform_architecture = "arm64",
}
}
tasks = {
Expand Down
5 changes: 3 additions & 2 deletions .happy/terraform/envs/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ module "stack" {
source = "git@github.com:chanzuckerberg/happy//terraform/modules/happy-stack-eks?ref=main"
image_tag = var.image_tag
image_tags = jsondecode(var.image_tags)
app_name = "cryoet"
stack_name = var.stack_name
deployment_stage = "staging"
stack_prefix = "/${var.stack_name}"
k8s_namespace = var.k8s_namespace
platform_architecture = "arm64"
additional_env_vars = {
HASURA_GRAPHQL_ENABLE_CONSOLE = "false"
HASURA_GRAPHQL_DATABASE_URL = data.aws_ssm_parameter.db_url.value
Expand All @@ -29,7 +29,8 @@ module "stack" {
memory = "1500Mi"
cpu = "1500m"
health_check_path = "/healthz",
service_type = "EXTERNAL"
service_type = "EXTERNAL",
platform_architecture = "arm64",
}
}
tasks = {
Expand Down

0 comments on commit 57526fa

Please sign in to comment.