The module creates AzureRM virtual machine instances
module "dcos-master-instances" {
source = "dcos-terraform/instance/azurerm"
version = "~> 0.2.0"
num = "${var.num}"
location = "${var.location}"
dcos_instance_os = "${var.dcos_instance_os}"
ssh_private_key_filename = "${var.ssh_private_key_filename}"
image = "${var.image}"
resource_group_name = "${var.resource_group_name}"
...
}
Name |
Description |
Type |
Default |
Required |
cluster_name |
Name of the DC/OS cluster |
string |
n/a |
yes |
dcos_instance_os |
Operating system to use. Instead of using your own AMI you could use a provided OS. |
string |
n/a |
yes |
disk_size |
Disk Size in GB |
string |
n/a |
yes |
location |
Azure Region |
string |
n/a |
yes |
name_prefix |
Name Prefix |
string |
n/a |
yes |
num |
How many instances should be created |
string |
n/a |
yes |
resource_group_name |
Name of the azure resource group |
string |
n/a |
yes |
subnet_id |
Subnet ID |
string |
n/a |
yes |
vm_size |
Azure virtual machine size |
string |
n/a |
yes |
admin_username |
SSH User |
string |
"" |
no |
avset_platform_fault_domain_count |
Availability set platform fault domain count, differs from location to location |
string |
"3" |
no |
custom_data |
User data to be used on these instances (cloud-init) |
string |
"" |
no |
disk_type |
Disk Type to Leverage |
string |
"Standard_LRS" |
no |
hostname_format |
Format the hostname inputs are index+1, region, cluster_name |
string |
"instance-%[1]d-%[2]s" |
no |
image |
Source image to boot from |
map |
<map> |
no |
network_security_group_id |
Security Group Id |
string |
"" |
no |
private_backend_address_pool |
Private backend address pool |
list |
<list> |
no |
public_backend_address_pool |
Public backend address pool |
list |
<list> |
no |
public_ssh_key |
SSH Public Key |
string |
"" |
no |
ssh_private_key_filename |
Path to the SSH private key |
string |
"/dev/null" |
no |
tags |
Add custom tags to all resources |
map |
<map> |
no |
Name |
Description |
admin_username |
SSH User |
instance_nic_ids |
List of instance nic ids created by this module |
private_ips |
List of private ip addresses created by this module |
public_ips |
List of public ip addresses created by this module |