-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2ndNov - Added condiotnal creation for Grafana WS and module versions…
… for AMG, AMP
- Loading branch information
Showing
4 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
output "grafana_workspace_id" { | ||
description = "The ID of the Grafana workspace" | ||
value = module.managed_grafana_default.workspace_id | ||
value = try(module.managed_grafana_default[0].workspace_id, "") | ||
} | ||
|
||
output "grafana_workspace_endpoint" { | ||
description = "The endpoint of the Grafana workspace" | ||
value = module.managed_grafana_default.workspace_endpoint | ||
value = try(module.managed_grafana_default[0].workspace_endpoint, "") | ||
} | ||
|
||
output "prometheus_workspace_id" { | ||
description = "Identifier of the workspace" | ||
value = try(module.managed_prometheus_default[0].id, "") | ||
} | ||
|
||
output "prometheus_workspace_prometheus_endpoint" { | ||
description = "Prometheus endpoint available for this workspace" | ||
value = try(module.managed_prometheus_default[0].prometheus_endpoint, "") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters