Phase1-2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
resource "azurerm_network_interface" "nic" {
|
||||
name = "example-nic"
|
||||
name = "vnic"
|
||||
location = var.location
|
||||
resource_group_name = var.resource_group_name
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
output "vm_public_ip" { value = azurerm_public_ip.vm_public.ip_address }
|
||||
@@ -0,0 +1,6 @@
|
||||
variable "resource_group_name" { type = string }
|
||||
variable "location" { type = string }
|
||||
variable "subnet_id" { type = string }
|
||||
variable "vm_size" { type = string }
|
||||
variable "admin_username" { type = string }
|
||||
variable "ssh_public_key" { type = string }
|
||||
|
||||
Reference in New Issue
Block a user