Skip to content

Commit

Permalink
Output automation webhook expiry time
Browse files Browse the repository at this point in the history
  • Loading branch information
athiththan11 committed Oct 2, 2024
1 parent 76d730b commit 3259b50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/azurerm/Automation-Webhook/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ output "automation_webhook_url" {
depends_on = [azurerm_automation_webhook.automation_webhook]
value = azurerm_automation_webhook.automation_webhook.uri
}

output "automation_webhook_expiry_time" {
depends_on = [azurerm_automation_webhook.automation_webhook]
value = var.automation_webhook_expiry_time != null ? var.automation_webhook_expiry_time : time_offset.kv-cert-expiration-webhook[0].rfc3339
}

0 comments on commit 3259b50

Please sign in to comment.