Skip to content

Commit

Permalink
Merge pull request #199 from unity-sds/fix-health-check-endpoints
Browse files Browse the repository at this point in the history
Fixing the bug in the health check endpoints
  • Loading branch information
drewm-jpl authored Sep 11, 2024
2 parents 0066988 + d27e858 commit a565040
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 25 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ No modules.
| [aws_efs_file_system.efs](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/efs_file_system) | data source |
| [aws_eks_cluster.cluster](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/eks_cluster) | data source |
| [aws_secretsmanager_secret_version.db](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/secretsmanager_secret_version) | data source |
| [aws_ssm_parameter.ssl_cert_arn](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/ssm_parameter) | data source |
| [aws_ssm_parameter.subnet_ids](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/ssm_parameter) | data source |
| [aws_vpc.cluster_vpc](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/vpc) | data source |
| [kubernetes_ingress_v1.airflow_ingress](https://registry.terraform.io/providers/hashicorp/kubernetes/2.29.0/docs/data-sources/ingress_v1) | data source |
Expand Down
4 changes: 2 additions & 2 deletions terraform-unity/modules/terraform-unity-sps-airflow/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ resource "aws_ssm_parameter" "airflow_ui_url" {
}

resource "aws_ssm_parameter" "airflow_ui_health_check_endpoint" {
name = format("/%s", join("/", compact(["", var.project, var.project, var.venue, "component", "airflow-ui"])))
name = format("/%s", join("/", compact(["", "unity", var.project, var.venue, "component", "airflow-ui"])))
description = "The URL of the Airflow UI."
type = "String"
value = jsonencode({
Expand Down Expand Up @@ -482,7 +482,7 @@ resource "aws_ssm_parameter" "airflow_api_url" {
}

resource "aws_ssm_parameter" "airflow_api_health_check_endpoint" {
name = format("/%s", join("/", compact(["", var.project, var.project, var.venue, "component", "airflow-api"])))
name = format("/%s", join("/", compact(["", "unity", var.project, var.venue, "component", "airflow-api"])))
description = "The URL of the Airflow REST API."
type = "String"
value = jsonencode({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ No modules.
| [kubernetes_service.redis](https://registry.terraform.io/providers/hashicorp/kubernetes/2.29.0/docs/resources/service) | resource |
| [aws_db_instance.db](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/db_instance) | data source |
| [aws_secretsmanager_secret_version.db](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/secretsmanager_secret_version) | data source |
| [aws_ssm_parameter.ssl_cert_arn](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/ssm_parameter) | data source |
| [aws_ssm_parameter.subnet_ids](https://registry.terraform.io/providers/hashicorp/aws/5.50.0/docs/data-sources/ssm_parameter) | data source |
| [kubernetes_ingress_v1.ogc_processes_api_ingress](https://registry.terraform.io/providers/hashicorp/kubernetes/2.29.0/docs/data-sources/ingress_v1) | data source |
| [kubernetes_namespace.service_area](https://registry.terraform.io/providers/hashicorp/kubernetes/2.29.0/docs/data-sources/namespace) | data source |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ resource "aws_ssm_parameter" "ogc_processes_api_url" {
}

resource "aws_ssm_parameter" "ogc_processes_api_health_check_endpoint" {
name = format("/%s", join("/", compact(["", var.project, var.project, var.venue, "component", "ogc-api"])))
name = format("/%s", join("/", compact(["", "unity", var.project, var.venue, "component", "ogc-api"])))
description = "The URL of the OGC Processes REST API."
type = "String"
value = jsonencode({
Expand Down

0 comments on commit a565040

Please sign in to comment.