You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_dev_test_linux_virtual_machine" {
source="./modules/azurerm/r/azurerm_dev_test_linux_virtual_machine"# allow_claim - (optional) is a type of boolallow_claim=null# disallow_public_ip_address - (optional) is a type of booldisallow_public_ip_address=null# lab_name - (required) is a type of stringlab_name=null# lab_subnet_name - (required) is a type of stringlab_subnet_name=null# lab_virtual_network_id - (required) is a type of stringlab_virtual_network_id=null# location - (required) is a type of stringlocation=null# name - (required) is a type of stringname=null# notes - (optional) is a type of stringnotes=null# password - (optional) is a type of stringpassword=null# resource_group_name - (required) is a type of stringresource_group_name=null# size - (required) is a type of stringsize=null# ssh_key - (optional) is a type of stringssh_key=null# storage_type - (required) is a type of stringstorage_type=null# tags - (optional) is a type of map of stringtags={}
# username - (required) is a type of stringusername=nullgallery_image_reference=[{
offer =null
publisher =null
sku =null
version =null
}]
inbound_nat_rule=[{
backend_port =null
frontend_port =null
protocol =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_dev_test_linux_virtual_machine""this" {
# allow_claim - (optional) is a type of boolallow_claim=var.allow_claim# disallow_public_ip_address - (optional) is a type of booldisallow_public_ip_address=var.disallow_public_ip_address# lab_name - (required) is a type of stringlab_name=var.lab_name# lab_subnet_name - (required) is a type of stringlab_subnet_name=var.lab_subnet_name# lab_virtual_network_id - (required) is a type of stringlab_virtual_network_id=var.lab_virtual_network_id# location - (required) is a type of stringlocation=var.location# name - (required) is a type of stringname=var.name# notes - (optional) is a type of stringnotes=var.notes# password - (optional) is a type of stringpassword=var.password# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# size - (required) is a type of stringsize=var.size# ssh_key - (optional) is a type of stringssh_key=var.ssh_key# storage_type - (required) is a type of stringstorage_type=var.storage_type# tags - (optional) is a type of map of stringtags=var.tags# username - (required) is a type of stringusername=var.usernamedynamic"gallery_image_reference" {
for_each=var.gallery_image_referencecontent {
# offer - (required) is a type of stringoffer=gallery_image_reference.value["offer"]
# publisher - (required) is a type of stringpublisher=gallery_image_reference.value["publisher"]
# sku - (required) is a type of stringsku=gallery_image_reference.value["sku"]
# version - (required) is a type of stringversion=gallery_image_reference.value["version"]
}
}
dynamic"inbound_nat_rule" {
for_each=var.inbound_nat_rulecontent {
# backend_port - (required) is a type of numberbackend_port=inbound_nat_rule.value["backend_port"]
# protocol - (required) is a type of stringprotocol=inbound_nat_rule.value["protocol"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}