outputs.tf (4 lines of code) (raw):

# Module owners should include the full resource via a 'resource' output # https://azure.github.io/Azure-Verified-Modules/specs/terraform/#id-tffr2---category-outputs---additional-terraform-outputs output "resource_id" { description = "This is the full output for the resource." value = azapi_resource.virtual_machine.id }