added sample for creating a NAT gateway with a virtual machine and corresponding network, subnet and public IP addresses
This commit is contained in:
19
quickstart/101-nat-gateway-create/outputs.tf
Normal file
19
quickstart/101-nat-gateway-create/outputs.tf
Normal file
@ -0,0 +1,19 @@
|
||||
output "resource_group_name" {
|
||||
description = "The name of the created resource group."
|
||||
value = azurerm_resource_group.rg.name
|
||||
}
|
||||
|
||||
output "virtual_network_name" {
|
||||
description = "The name of the created virtual network."
|
||||
value = azurerm_virtual_network.my_terraform_network.name
|
||||
}
|
||||
|
||||
output "subnet_name_1" {
|
||||
description = "The name of the created subnet 1."
|
||||
value = azurerm_subnet.my_terraform_subnet_1.name
|
||||
}
|
||||
|
||||
output "nat_gateway"{
|
||||
description = "The name of the created NAT gateway."
|
||||
value = azurerm_nat_gateway.my_nat_gateway.id
|
||||
}
|
Reference in New Issue
Block a user