From 3259b5036f2739bd1ff198ed4c694a0c44313aee Mon Sep 17 00:00:00 2001 From: athiththan11 Date: Wed, 2 Oct 2024 12:53:37 +0530 Subject: [PATCH] Output automation webhook expiry time --- modules/azurerm/Automation-Webhook/outputs.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/azurerm/Automation-Webhook/outputs.tf b/modules/azurerm/Automation-Webhook/outputs.tf index e13f9555..b10e0504 100644 --- a/modules/azurerm/Automation-Webhook/outputs.tf +++ b/modules/azurerm/Automation-Webhook/outputs.tf @@ -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 +}