-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pointing staging frontend to staging graphql (#143)
### Description Relates to: #142 Updates the staging and dev frontend to point to staging graphql environment.
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 = "/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 = "/" | ||
|