Skip to content

Commit 20a2e00

Browse files
committed
Add ip prefix as output
1 parent f8e49be commit 20a2e00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/azurerm/Public-IP-Prefix/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ output "public_ip_prefix_id" {
1313
depends_on = [azurerm_public_ip_prefix.public_ip_prefix]
1414
value = azurerm_public_ip_prefix.public_ip_prefix.id
1515
}
16+
17+
output "ip_prefix" {
18+
depends_on = [azurerm_public_ip_prefix.public_ip_prefix]
19+
value = azurerm_public_ip_prefix.public_ip_prefix.ip_prefix
20+
}

0 commit comments

Comments
 (0)