Terraform child module to manage creation of generic linux VMs.
Name | Version |
---|---|
terraform | >= 0.15.4 |
azurerm | >= 2.57.0 |
Name | Version |
---|---|
azurerm | >= 2.57.0 |
local | n/a |
template | n/a |
No modules.
Name | Type |
---|---|
azurerm_linux_virtual_machine.app | resource |
azurerm_linux_virtual_machine.db | resource |
azurerm_linux_virtual_machine.web | resource |
azurerm_network_interface.app | resource |
azurerm_network_interface.db | resource |
azurerm_network_interface.web | resource |
azurerm_public_ip.app | resource |
azurerm_public_ip.db | resource |
azurerm_public_ip.web | resource |
azurerm_resource_group.app | resource |
azurerm_resource_group.db | resource |
azurerm_resource_group.web | resource |
local_file.app_startup_script | resource |
local_file.database_startup_script | resource |
local_file.web_startup_script | resource |
template_file.app_startup_script | data source |
template_file.database_startup_script | data source |
template_file.web_startup_script | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app | set to true to include app tier | string |
false |
no |
app_instance_config | n/a | object({ |
{ |
no |
app_startup_script | n/a | string |
"" |
no |
common_tags | (Optional) Map of common tags for taggable resources. | map(string) |
{} |
no |
database | set to true to include database tier | string |
false |
no |
database_startup_script | n/a | string |
"" |
no |
db_instance_config | n/a | object({ |
{ |
no |
disable_password_authentication | Set password auth on or off. Needs to be false for admin_password to be set | bool |
false |
no |
location | Location to deploy to | string |
"West Europe" |
no |
prefix | Main prefix for all objects | string |
n/a | yes |
rg_name | Resource group name | string |
n/a | yes |
subnet_id | Subnet to deploy to | string |
n/a | yes |
web | set to true to include web tier | string |
false |
no |
web_instance_config | // linuxvm related | object({ |
{ |
no |
web_startup_script | // templates | string |
"" |
no |
Name | Description |
---|---|
database_startup_script | startup script when instance boots |
linuxvm-web-private_ip_address | Azure Linux VM: Azure Linux VM Web Server private IP address |
linuxvm-web-public_ip_address | Azure Linux VM: Azure Linux VM Web Server public IP address |
web_startup_script | startup script when instance boots |
windows_app_startup_script | startup script when instance boots |