Skip to content

Commit

Permalink
Output terraform external urls
Browse files Browse the repository at this point in the history
This is the new format as defined in the template. Used by
teacher-services-cloud for their platform smoke tests.
  • Loading branch information
saliceti committed Jan 21, 2025
1 parent fce9ed9 commit 679d12b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/application/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
output "ingress_hostnames" {
value = [local.ingress_domain_map["INGRESS_CLAIMS_HOST"], local.ingress_domain_map["INGRESS_PLACEMENTS_HOST"]]
}

output "external_urls" {
value = [for domain in ["CLAIMS_HOST", "PLACEMENTS_HOST"] : "https://${local.app_env_values[domain]}/"]
}

0 comments on commit 679d12b

Please sign in to comment.