{"id":25693249,"url":"https://github.com/data-platform-hq/terraform-azurerm-linux-vm","last_synced_at":"2026-02-03T12:00:45.744Z","repository":{"id":183451741,"uuid":"660534520","full_name":"data-platform-hq/terraform-azurerm-linux-vm","owner":"data-platform-hq","description":"Terraform module for creation Azure linux vm","archived":false,"fork":false,"pushed_at":"2024-09-10T08:03:16.000Z","size":35,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T04:42:45.379Z","etag":null,"topics":["azure","azurerm","linux-vm","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/data-platform-hq/linux-vm/azurerm/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/data-platform-hq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-30T08:17:47.000Z","updated_at":"2024-09-10T08:03:18.000Z","dependencies_parsed_at":"2025-06-03T21:09:01.698Z","dependency_job_id":null,"html_url":"https://github.com/data-platform-hq/terraform-azurerm-linux-vm","commit_stats":null,"previous_names":["data-platform-hq/terraform-azurerm-linux-vm"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/data-platform-hq/terraform-azurerm-linux-vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-platform-hq%2Fterraform-azurerm-linux-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-platform-hq%2Fterraform-azurerm-linux-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-platform-hq%2Fterraform-azurerm-linux-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-platform-hq%2Fterraform-azurerm-linux-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/data-platform-hq","download_url":"https://codeload.github.com/data-platform-hq/terraform-azurerm-linux-vm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/data-platform-hq%2Fterraform-azurerm-linux-vm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280708263,"owners_count":26377294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azurerm","linux-vm","terraform-module"],"created_at":"2025-02-24T23:34:58.334Z","updated_at":"2026-02-03T12:00:44.440Z","avatar_url":"https://github.com/data-platform-hq.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure linux vm Terraform module\nTerraform module for creation Azure linux vm\n\n## Usage\n\n```hcl\n# Prerequisite resources\n\ndata \"azurerm_resource_group\" \"example\" {\n  name                = \"example\"\n}\n\ndata \"azurerm_subnet\" \"example\" {\n  name                 = \"example\"\n  virtual_network_name = \"production\"\n  resource_group_name  = data.azurerm_resource_group.example.name\n}\n\nresource \"tls_private_key\" \"example\" {\n  algorithm   = \"RSA\"\n  ecdsa_curve = 2048\n}\n\nmodule \"linux_virtual_machine\" {\n  source   = \"data-platform-hq/linux-vm/azurerm\"\n  version  = \"~\u003e 1.0\"\n\n  project        = var.project\n  env            = var.env\n  resource_group = data.azurerm_resource_group.example.name\n  location       = var.location\n  subnet_id      = data.azurerm_subnet.example.id\n  \n  admin_ssh_key = {\n    username   = \"userexample\"\n    public_key = tls_private_key.example.public_key_openssh\n  }\n}\n```\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e=1.3 |\n| \u003ca name=\"requirement_azurerm\"\u003e\u003c/a\u003e [azurerm](#requirement\\_azurerm) | ~\u003e 4.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | ~\u003e 4.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_linux_virtual_machine.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_virtual_machine) | resource |\n| [azurerm_network_interface.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_interface) | resource |\n| [azurerm_public_ip.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_admin_ssh_key\"\u003e\u003c/a\u003e [admin\\_ssh\\_key](#input\\_admin\\_ssh\\_key) | Objects to configure ssh key reference for virtual machine | \u003cpre\u003eobject({\u003cbr/\u003e    username   = optional(string, \"adminuser\")\u003cbr/\u003e    public_key = optional(string)\u003cbr/\u003e  })\u003c/pre\u003e | n/a | yes |\n| \u003ca name=\"input_custom_network_interface_name\"\u003e\u003c/a\u003e [custom\\_network\\_interface\\_name](#input\\_custom\\_network\\_interface\\_name) | Specifies the name of the virtual machine interface name resource | `string` | `null` | no |\n| \u003ca name=\"input_custom_public_ip_name\"\u003e\u003c/a\u003e [custom\\_public\\_ip\\_name](#input\\_custom\\_public\\_ip\\_name) | Specifies the name of the public ip name name resource | `string` | `null` | no |\n| \u003ca name=\"input_custom_virtual_machine_name\"\u003e\u003c/a\u003e [custom\\_virtual\\_machine\\_name](#input\\_custom\\_virtual\\_machine\\_name) | Specifies the name of the virtual machine name resource | `string` | `null` | no |\n| \u003ca name=\"input_env\"\u003e\u003c/a\u003e [env](#input\\_env) | Environment name | `string` | n/a | yes |\n| \u003ca name=\"input_identity_enabled\"\u003e\u003c/a\u003e [identity\\_enabled](#input\\_identity\\_enabled) | Boolean flag than enables creation of System Assigned identity to VM | `bool` | `false` | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | Azure location | `string` | n/a | yes |\n| \u003ca name=\"input_network_interface_private_ip_address_allocation\"\u003e\u003c/a\u003e [network\\_interface\\_private\\_ip\\_address\\_allocation](#input\\_network\\_interface\\_private\\_ip\\_address\\_allocation) | The allocation method used for the Private IP Address. | `string` | `\"Dynamic\"` | no |\n| \u003ca name=\"input_os_disk\"\u003e\u003c/a\u003e [os\\_disk](#input\\_os\\_disk) | Objects to configure os disk reference for virtual machine | \u003cpre\u003eobject({\u003cbr/\u003e    caching              = string\u003cbr/\u003e    storage_account_type = string\u003cbr/\u003e  })\u003c/pre\u003e | \u003cpre\u003e{\u003cbr/\u003e  \"caching\": \"ReadWrite\",\u003cbr/\u003e  \"storage_account_type\": \"Standard_LRS\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_password_access_enabled\"\u003e\u003c/a\u003e [password\\_access\\_enabled](#input\\_password\\_access\\_enabled) | Boolean flag that enables access using password | `bool` | `false` | no |\n| \u003ca name=\"input_project\"\u003e\u003c/a\u003e [project](#input\\_project) | Project name | `string` | n/a | yes |\n| \u003ca name=\"input_public_ip_allocation_method\"\u003e\u003c/a\u003e [public\\_ip\\_allocation\\_method](#input\\_public\\_ip\\_allocation\\_method) | Defines the allocation method for this IP address. Possible values are Static or Dynamic | `string` | `\"Static\"` | no |\n| \u003ca name=\"input_public_ip_enabled\"\u003e\u003c/a\u003e [public\\_ip\\_enabled](#input\\_public\\_ip\\_enabled) | Boolean flag to enable Public Ip address creation and assignment to Virtual Machine | `bool` | `true` | no |\n| \u003ca name=\"input_resource_group\"\u003e\u003c/a\u003e [resource\\_group](#input\\_resource\\_group) | The name of the resource group | `string` | n/a | yes |\n| \u003ca name=\"input_source_image_reference\"\u003e\u003c/a\u003e [source\\_image\\_reference](#input\\_source\\_image\\_reference) | Objects to configure source image reference for virtual machine | \u003cpre\u003eobject({\u003cbr/\u003e    publisher = string\u003cbr/\u003e    offer     = string\u003cbr/\u003e    sku       = string\u003cbr/\u003e    version   = string\u003cbr/\u003e  })\u003c/pre\u003e | \u003cpre\u003e{\u003cbr/\u003e  \"offer\": \"0001-com-ubuntu-server-jammy\",\u003cbr/\u003e  \"publisher\": \"Canonical\",\u003cbr/\u003e  \"sku\": \"22_04-lts\",\u003cbr/\u003e  \"version\": \"latest\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_subnet_id\"\u003e\u003c/a\u003e [subnet\\_id](#input\\_subnet\\_id) | The ID of the Subnet where this Network Interface should be located in. | `string` | n/a | yes |\n| \u003ca name=\"input_suffix\"\u003e\u003c/a\u003e [suffix](#input\\_suffix) | Optional suffix that would be added to the end of resources names. It is recommended to use dash at the beginning of variable (e.x., '-example') | `string` | `\"\"` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Resource tags | `map(any)` | `{}` | no |\n| \u003ca name=\"input_vm_admin_password\"\u003e\u003c/a\u003e [vm\\_admin\\_password](#input\\_vm\\_admin\\_password) | The password of the local administrator used for the Virtual Machine. | `string` | `null` | no |\n| \u003ca name=\"input_vm_admin_username\"\u003e\u003c/a\u003e [vm\\_admin\\_username](#input\\_vm\\_admin\\_username) | The username of the local administrator used for the Virtual Machine. | `string` | `\"adminuser\"` | no |\n| \u003ca name=\"input_vm_size\"\u003e\u003c/a\u003e [vm\\_size](#input\\_vm\\_size) | The SKU which should be used for this Virtual Machine. | `string` | `\"Standard_F2\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | The ID of the Linux Virtual Machine |\n| \u003ca name=\"output_identity\"\u003e\u003c/a\u003e [identity](#output\\_identity) | linux virtual machine Identities list |\n| \u003ca name=\"output_private_ip\"\u003e\u003c/a\u003e [private\\_ip](#output\\_private\\_ip) | Linux Virtual Machine private IP address |\n| \u003ca name=\"output_public_ip\"\u003e\u003c/a\u003e [public\\_ip](#output\\_public\\_ip) | Linux Virtual Machine public IP address |\n\u003c!-- END_TF_DOCS --\u003e\n\n## License\n\nApache 2 Licensed. For more information please see [LICENSE](https://github.com/data-platform-hq/terraform-azurerm-linux-vm/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdata-platform-hq%2Fterraform-azurerm-linux-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdata-platform-hq%2Fterraform-azurerm-linux-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdata-platform-hq%2Fterraform-azurerm-linux-vm/lists"}