Skip to content

Commit 4b020dd

Browse files
committed
fixing urls
1 parent 31813c5 commit 4b020dd

File tree

2 files changed

+4
-4
lines changed
  • terraform-unity/modules
    • terraform-unity-sps-airflow
    • terraform-unity-sps-ogc-processes-api

2 files changed

+4
-4
lines changed

terraform-unity/modules/terraform-unity-sps-airflow/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ resource "aws_ssm_parameter" "airflow_api_url" {
656656
name = format("/%s", join("/", compact(["", var.project, var.venue, var.service_area, "processing", "airflow", "api_url"])))
657657
description = "The URL of the Airflow REST API."
658658
type = "String"
659-
value = "https://${aws_api_gateway_deployment.airflow-api-gateway-deployment.invoke_url}/sps/api/v1"
659+
value = "${aws_api_gateway_deployment.airflow-api-gateway-deployment.invoke_url}/sps/api/v1"
660660
tags = merge(local.common_tags, {
661661
Name = format(local.resource_name_prefix, "endpoints-airflow_api")
662662
Component = "SSM"
@@ -671,8 +671,8 @@ resource "aws_ssm_parameter" "airflow_api_health_check_endpoint" {
671671
type = "String"
672672
value = jsonencode({
673673
"componentName" : "Airflow API"
674-
"healthCheckUrl" : "https://${aws_api_gateway_deployment.airflow-api-gateway-deployment.invoke_url}/sps/api/v1/health"
675-
"landingPageUrl" : "https://${aws_api_gateway_deployment.airflow-api-gateway-deployment.invoke_url}/sps/api/v1"
674+
"healthCheckUrl" : "${aws_api_gateway_deployment.airflow-api-gateway-deployment.invoke_url}/sps/api/v1/health"
675+
"landingPageUrl" : "${aws_api_gateway_deployment.airflow-api-gateway-deployment.invoke_url}/sps/api/v1"
676676
})
677677
tags = merge(local.common_tags, {
678678
Name = format(local.resource_name_prefix, "health-check-endpoints-airflow_api")

terraform-unity/modules/terraform-unity-sps-ogc-processes-api/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ resource "aws_ssm_parameter" "ogc_processes_api_url" {
410410
name = format("/%s", join("/", compact(["", var.project, var.venue, var.service_area, "processing", "ogc_processes", "api_url"])))
411411
description = "The URL of the OGC Processes REST API."
412412
type = "String"
413-
value = "https://${aws_api_gateway_deployment.ogc-api-gateway-deployment.invoke_url}/ogc/api/"
413+
value = "${aws_api_gateway_deployment.ogc-api-gateway-deployment.invoke_url}/ogc/api/"
414414
tags = merge(local.common_tags, {
415415
Name = format(local.resource_name_prefix, "endpoints-ogc_processes_api")
416416
Component = "SSM"

0 commit comments

Comments
 (0)