Skip to content

Commit

Permalink
Pointing staging frontend to staging graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
manasaV3 committed Nov 21, 2023
1 parent f85c4fe commit 09aa634
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/.happy/terraform/envs/dev/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Auto-generated by 'happy infra'. Do not edit
# Make improvements in happy, so that everyone can benefit.
data "aws_ssm_parameter" "graphql_endpoint" {
name = "/cryoet-dev/graphql_endpoint"
}

module "stack" {
source = "[email protected]:chanzuckerberg/happy//terraform/modules/happy-stack-eks?ref=jgadling/optional-datadog"
image_tag = var.image_tag
Expand All @@ -9,6 +13,9 @@ module "stack" {
stack_prefix = "/${var.stack_name}"
app_name = var.app
deployment_stage = "dev"
additional_env_vars = {
API_URL = data.aws_ssm_parameter.graphql_endpoint.value
}
services = {
frontend = {
health_check_path = "/"
Expand Down
7 changes: 7 additions & 0 deletions frontend/.happy/terraform/envs/staging/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Auto-generated by 'happy infra'. Do not edit
# Make improvements in happy, so that everyone can benefit.
data "aws_ssm_parameter" "graphql_endpoint" {
name = "/cryoet-staging/graphql_endpoint"
}

module "stack" {
source = "[email protected]:chanzuckerberg/happy//terraform/modules/happy-stack-eks?ref=jgadling/optional-datadog"
image_tag = var.image_tag
Expand All @@ -9,6 +13,9 @@ module "stack" {
stack_prefix = "/${var.stack_name}"
app_name = var.app
deployment_stage = "staging"
additional_env_vars = {
API_URL = data.aws_ssm_parameter.graphql_endpoint.value
}
services = {
frontend = {
health_check_path = "/"
Expand Down

0 comments on commit 09aa634

Please sign in to comment.