Module of Terraform to created a Virtual Machine, linux or windows, in Microsoft Azure.
TO DO
TO DO
TO DO
No issue is creating limit on this module.
Name | Version |
---|---|
terraform | >= 0.13.0, <= 0.14.10 |
azurerm | >= 2.30.0, <= 2.54.0 |
Name | Version |
---|---|
azurerm | >= 2.30.0, <= 2.54.0 |
No modules.
Name | Type |
---|---|
azurerm_network_interface.this | resource |
azurerm_virtual_machine.this | resource |
azurerm_resource_group.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
delete_data_disks_on_termination | True to delete the data disks automatically when deleting the VM | bool |
false |
no |
delete_os_disk_on_termination | True to delete the OS disk automatically when deleting the VM | bool |
false |
no |
name | The name of virtual machine | string |
n/a | yes |
network_interface_list | A list of network interfaces | list( |
[] |
no |
os_profile | Settings of virtual machine | object({ |
n/a | yes |
os_profile_linux_config | Config profile of linux | map(bool) |
{ |
no |
os_profile_windows_config | Config profile of windows os | map(bool) |
{ |
no |
os_type | The type of os, it can be 'linux' or 'windows' | string |
null |
no |
primary_network_interface_id | The ID of the primary network interface | string |
null |
no |
resource_group_name | The name of resource group where to create the virtual machine | string |
n/a | yes |
storage_data_disk_list | A list of data disk | list(object({ |
[] |
no |
storage_image_reference | The image reference of virtual machine | object({ |
n/a | yes |
storage_image_reference_id | The ID of the Custom Image which the Virtual Machine should be created from | string |
null |
no |
storage_os_disk | The storage os disk settings | object({ |
{ |
no |
tags | A mapping of tags to assign to security group | map(string) |
{} |
no |
vm_size | The size of virtual machine | string |
n/a | yes |
Name | Description |
---|---|
id | The ID of the Virtual Machine |
Rewrites all Terraform configuration files to a canonical format. Both configuration files (.tf) and variables files (.tfvars) are updated.
# $ terraform fmt --help
# Usage:
# terraform fmt [options] [DIR]
$ terraform fmt -check --recursive --diff
# $ terraform fmt --help
# Usage:
# terraform fmt [options] [DIR]
$ terraform fmt --recursive
The configuration of TFLint can be found in the file .tflint.-hcl
# $ tflint --help
# Usage:
# tflint [OPTIONS] [FILE or DIR...]
$ tflint
Validate the configuration files in a directory, referring only to the configuration and not accessing any remote services such as remote state, provider APIs, etc.
# $ terraform validate --help
# Usage:
# terraform validate [options] [dir]
$ terraform init -backend=false
$ terraform validate
Module managed by jortfal | Jose Manuel Ortega Falcon.
Apache 2 Licensed. See LICENSE
file for full details.