```hcl
module "mesos" {
    source                      = "github.com/bobtfish/tf_aws_mesos"
    masters                     = "3"
    slaves                      = "5"
    region = "${var.region}"
    admin_key_name = "${terraform_remote_state.vpc.output.admin_key_name}"
#    az = "${terraform_remote_state.vpc.output.primary-az}"
    subnet_id = "${terraform_remote_state.vpc.output.primary-az-frontsubnet}"
    domain = "mesos.notanisp.net"
    vpc_id = "${terraform_remote_state.vpc.output.id}"
    ssh_private_key_file = "../id_rsa"
    discovery_instance_profile = "temp-admin"
}

output "master_public_ips" {
  value = "${module.mesos.master_public_ips}"
}

output "marathon_api" {
  value = "${module.mesos.marathon_api}"
}

```

Move all the machines to a different subnet
user
```hcl
module "mesos" {
    source                      = "github.com/bobtfish/tf_aws_mesos"
    masters                     = "3"
    slaves                      = "5"
    region = "${var.region}"
    admin_key_name = "${terraform_remote_state.vpc.output.admin_key_name}"
#    az = "${terraform_remote_state.vpc.output.primary-az}"
    subnet_id = "${terraform_remote_state.vpc.output.primary-az-ehemeralsubnet}"
    domain = "mesos.notanisp.net"
    vpc_id = "${terraform_remote_state.vpc.output.id}"
    ssh_private_key_file = "../id_rsa"
    discovery_instance_profile = "temp-admin"
}

output "master_public_ips" {
  value = "${module.mesos.master_public_ips}"
}

output "marathon_api" {
  value = "${module.mesos.marathon_api}"
}

```
assistant