Skip to content

Commit

Permalink
fix: fix syntax error in url output
Browse files Browse the repository at this point in the history
  • Loading branch information
josephpage committed May 3, 2023
1 parent 0309f7d commit 525a5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
output "url" {
description = "Base URL to access the application (`https://*`). If you have set a canonical domain, this will be the URL with the canonical domain, otherwise it will be the default URL of the Scalingo application."
value = (var.canonical_domain == "" ? scalingo_app.app.url : "https://${var.canonical_domain}")
value = (var.domain != null ? "https://${var.domain}" : scalingo_app.app.url)
}

output "domain" {
Expand Down

0 comments on commit 525a5cb

Please sign in to comment.