AWS DC/OS Windows Instances

This module creates typical windows instances. Beaware that this feature is in EXPERIMENTAL state

EXAMPLE

module "dcos-windows-instances" {
  source  = "dcos-terraform/windows-instance/aws"
  version = "~> 0.2.0"

  cluster_name = "production"
  aws_subnet_ids = ["subnet-12345678"]
  aws_security_group_ids = ["sg-12345678"]"

  num = "2"
}

Inputs

Name Description Type Default Required
aws_key_name Specify the aws ssh key to use. We assume its already loaded in your SSH agent. Set ssh_public_key_file to empty string string n/a yes
aws_security_group_ids Firewall IDs to use for these instances list n/a yes
aws_subnet_ids Subnets to spawn the instances in. The module tries to distribute the instances list n/a yes
cluster_name Name of the DC/OS cluster string n/a yes
num How many instances should be created string n/a yes
aws_ami AMI that will be used for the instances instead of the Mesosphere chosen default images. Custom AMIs must fulfill the Mesosphere DC/OS system-requirements: See https://docs.mesosphere.com/1.12/installing/production/system-requirements/ string "" no
aws_associate_public_ip_address Associate a public IP address with the instances string "true" no
aws_extra_volumes Extra volumes for each instance list <list> no
aws_iam_instance_profile Instance profile to be used for these instances string "" no
aws_instance_type Instance type string "m4.xlarge" no
aws_root_volume_size Root volume size in GB string "120" no
aws_root_volume_type Root volume type string "standard" no
dcos_instance_os Operating system to use. Instead of using your own AMI you could use a provided OS. string "centos_7.4" no
hostname_format Format the hostname inputs are index+1, region, cluster_name string "%[3]s-windows%[1]d-%[2]s" no
name_prefix Name Prefix string "" no
tags Add custom tags to all resources map <map> no
user_data User data to be used on these instances (cloud-init) string "" no

Outputs

Name Description
instances List of instance IDs
os_user The OS user to be used
private_ips List of private ip addresses created by this module
public_ips List of public ip addresses created by this module
windows_passwords Returns the decrypted AWS generated windows password