Skip to content

Commit

Permalink
Adding 'api_integration_keys' output to config module (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
danjbh authored Aug 19, 2020
1 parent 4534634 commit 1e2d12b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/config/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ output "api_integrations" {
}
}

output "api_integration_keys" {
value = {
for integration in opsgenie_api_integration.this : integration.name => integration.api_key
}
description = "A map of Opsgenie API integration names and generated API keys."
sensitive = true
}

output "escalations" {
value = {
for escalation in opsgenie_escalation.this : escalation.id => escalation.name
Expand Down

0 comments on commit 1e2d12b

Please sign in to comment.