Skip to content

Create DC/OS Private Agents instance and have conditional DC/OS prereqs for Azure

License

Notifications You must be signed in to change notification settings

dcos-terraform/terraform-azurerm-private-agents

Repository files navigation

Build Status

Azure DC/OS Private Agent Instances

This module creates typical private agent instances

EXAMPLE

module "dcos-private-agent-instances" {
 source  = "dcos-terraform/private-agents/azure"
 version = "~> 0.2.0"

 subnet_id = "myid"
 security_group_ids = ["sg-12345678"]"
 public_ssh_key = "~/.ssh/id_rsa.pub"

 num_private_agents = "2"
 ...
}

Inputs

Name Description Type Default Required
admin_username SSH User string n/a yes
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
location Azure Region string n/a yes
num_private_agents Specify the amount of private agents. These agents will provide your main resources string n/a yes
public_ssh_key SSH Public Key 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
allow_stopping_for_update If true, allows Terraform to stop the instance to update its properties string "true" 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_size Disk Size in GB string "120" no
disk_type Disk Type to Leverage string "Standard_LRS" no
hostname_format Format the hostname inputs are index+1, region, cluster_name string "pvtagt-%[1]d-%[2]s" no
image Source image to boot from map <map> no
name_prefix Name Prefix string "" no
network_security_group_id Security Group Id 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

Outputs

Name Description
admin_username SSH User
private_ips List of private ip addresses created by this module
public_ips List of public ip addresses created by this module

About

Create DC/OS Private Agents instance and have conditional DC/OS prereqs for Azure

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages