зеркало из https://github.com/Azure/terraform.git
…
|
||
---|---|---|
.. | ||
packer_image_resource_group | ||
TestRecord.md | ||
main.tf | ||
output.tf | ||
readme.md | ||
ubuntu.pkr.hcl | ||
variables.tf |
readme.md
Azure virtual machine scale set with jumpbox from Packer custom image
This template deploys an Azure virtual machine scale set with a jumpbox from a Packer custom image.
Terraform Resource Type | Description |
---|---|
azurerm_image | Manages a Shared Image within a Shared Image Gallery. |
azurerm_lb | Manages a Load Balancer Resource. |
azurerm_lb_backend_address_pool | Manages a Load Balancer Backend Address Pool. |
azurerm_lb_probe | Manages a LoadBalancer Probe Resource. |
azurerm_lb_rule | Manages a Load Balancer Rule. |
azurerm_network_interface | Manages a Network Interface. |
azurerm_public_ip | Manages a Public IP Address. |
azurerm_resource_group | Manages a Resource Group. |
azurerm_subnet | Manages a subnet. Subnets represent network segments within the IP space defined by the virtual network. |
azurerm_virtual_machine | Manages a Virtual Machine. |
azurerm_virtual_machine_scale_set | Manages a virtual machine scale set. |
azurerm_virtual_network | Manages a virtual network including any configured subnets. Each subnet can optionally be configured with a security group to be associated with the subnet. |
Variables
Name | Description |
---|---|
packer_resource_group_name |
Name of the resource group in which the Packer image will be created |
packer_image_name |
Name of the Packer image |
resource_group_name |
Name of the resource group in which the resources will be created |
location |
Location where resources will be create |
tags |
Map of the tags to use for the resources that are deployed |
application_port |
Port that you want to expose to the external load balancer |
admin_user |
User name to use as the admin account on the VMs that will be part of the VM scale set |
admin_password |
Default password for admin account (NOTE: For security reasons, this value is not set in the plaintext variables.tf file.) |
Example
To see how to run this example, see Create an Azure virtual machine scale set from a Packer custom image by using Terraform .