Skip to content

Commit

Permalink
[tf] Update the outputs.tf with endpoints nomenclature (#356)
Browse files Browse the repository at this point in the history
* Update the outputs.tf with endpoints nomenclature
* distinguish requires and provides sections in endpoints
  • Loading branch information
MichaelThamm authored Nov 13, 2024
1 parent 43e1d86 commit 8945cbf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ output "app_name" {
value = juju_application.grafana.name
}

output "requires" {
output "endpoints" {
value = {
# Requires
catalogue = "catalogue",
certificates = "certificates",
database = "database",
Expand All @@ -14,11 +15,7 @@ output "requires" {
oauth = "oauth",
receive_ca_cert = "receive-ca-cert",
tracing = "tracing",
}
}

output "provides" {
value = {
# Provides
metrics_endpoint = "metrics-endpoint",
}
}

0 comments on commit 8945cbf

Please sign in to comment.