<NME> main.tf
<BEF> variable "AWS_REGION" {
  type = "string"
variable "ONPREM_INSTALLER_URL" {}
variable "ONPREM_AWS_INSTANCE_SIZE" {}
variable "system_teamcity_buildType_id" {}
variable "password_hash" {}

variable "dcos_security" {
  type = "string"
}

variable "dcos_security" {
  type = "string"
  default = ""
}

variable "owner" {
    type = "string"
    default = "dcos/test_util"
}

variable "expiration" {
    type = "string"
    default = "3h"
}

variable "ssh_public_key_file" {
  type = "string"
  default = "id_rsa.pub"
  description = "Defines the public key to log on the cluster."
}

variable "dcos_license_key_contents" {
  type = "string"
  default = ""
  description = "Defines content of license used for EE."
}

variable "instance_type" {
    type = "string"
    default = "t3.medium"
    description = "Defines type of used machine."
}

variable "build_id" {
    type = "string"
    default = ""
    description = "Build ID from CI."
}

variable "build_type" {
    type = "string"
    default = ""
    description = "Build type from CI."
}

variable "password_hash" {
  type = "string"
  default = ""
}

provider "aws" {
  region = "${var.AWS_REGION}"
}

# Used to determine your public IP for forwarding rules
data "http" "whatismyip" {
  url = "http://whatismyip.akamai.com/"
}

resource "random_string" "password" {
  length = 12
  special = false
}

locals {
  cluster_name = "generic-dcos-it-${random_string.password.result}"
}

module "dcos" {
  source  = "dcos-terraform/dcos/aws"
  version = "~> 0.2.10"

  providers = {
    aws = "aws"
  }

  tags {
    owner = "${var.owner}"
    expiration = "${var.expiration}"
    build_id = "${var.build_id}"
    build_type_id = "${var.build_type}"
  }

  cluster_name        = "${local.cluster_name}"
  ssh_public_key_file = "${var.ssh_public_key_file}"
  admin_ips           = ["${data.http.whatismyip.body}/32"]

  num_masters        = "1"
  num_private_agents = "2"
  num_public_agents  = "1"

  dcos_instance_os    = "centos_7.5"

  bootstrap_instance_type = "${var.instance_type}"
  masters_instance_type  = "${var.instance_type}"
  private_agents_instance_type = "${var.instance_type}"
  public_agents_instance_type = "${var.instance_type}"
  #AVAILABILITYZONES

  dcos_calico_network_cidr = "172.17.0.0/16"
  dcos_variant              = "${var.variant}"
  dcos_security             = "${var.dcos_security}"
  dcos_license_key_contents = "${var.dcos_license_key_contents}"

  custom_dcos_download_path = "${var.custom_dcos_download_path}"

  dcos_superuser_username = "testadmin"
  dcos_superuser_password_hash = "${var.password_hash}"
}

resource "local_file" "ansible_inventory" {
  filename = "./inventory"

  content = <<EOF
[bootstraps]
${module.dcos.infrastructure.bootstrap.public_ip}
[masters]
${join("\n", module.dcos.infrastructure.masters.public_ips)}
[agents_private]
${join("\n", module.dcos.infrastructure.private_agents.public_ips)}
[agents_public]
${join("\n", module.dcos.infrastructure.public_agents.public_ips)}
[bootstraps:vars]
node_type=bootstrap
[masters:vars]
node_type=master
dcos_legacy_node_type_name=master
[agents_private:vars]
node_type=agent
dcos_legacy_node_type_name=slave
[agents_public:vars]
node_type=agent_public
dcos_legacy_node_type_name=slave_public
[agents:children]
agents_private
agents_public
[dcos:children]
bootstraps
masters
agents
agents_public
EOF
}

output "dcos_ui" {
  description = "This is the load balancer address to access the DC/OS UI"
  value       = "http://${module.dcos.masters-loadbalancer}/"
}

output "masters_public_ip" {
    description = "This is the public masters IP to SSH"
    value       = "${element(module.dcos.infrastructure.masters.public_ips, 0)}"
}

output "masters_private_ip" {
    description = "This is the private masters IP address"
    value       = "${element(module.dcos.infrastructure.masters.private_ips, 0)}"
}

output "private_agent_ips" {
    description = "These are the IP addresses of all private agents"
    value       = "${join(",", concat(module.dcos.infrastructure.private_agents.private_ips))}"
}

output "public_agent_ips" {
    description = "These are the IP addresses of all public agents"
    value       = "${join(",", module.dcos.infrastructure.public_agents.private_ips)}"
}

output "masters-ips" {
  value = "${module.dcos.masters-ips}"
}

output "cluster-address" {
  value = "${module.dcos.masters-loadbalancer}"
}

output "public-agents-loadbalancer" {
  value = "${module.dcos.public-agents-loadbalancer}"
}
<MSG> Update main.tf

more variables

<DFF> @@ -3,7 +3,11 @@ variable "teamcity_build_id" {}
 variable "ONPREM_INSTALLER_URL" {}
 variable "ONPREM_AWS_INSTANCE_SIZE" {}
 variable "system_teamcity_buildType_id" {}
-variable "password_hash" {}
+
+variable "password_hash" {
+  type = "string"
+  default = ""
+}
 
 variable "dcos_security" {
   type = "string"

{'commit': 'diff --git a/teamcity/main.tf b/teamcity/main.tf\nindex 10459c58..13420cd0 100644\n--- a/teamcity/main.tf\n+++ b/teamcity/main.tf\n@@ -3,7 +3,11 @@ variable "teamcity_build_id" {}\n variable "ONPREM_INSTALLER_URL" {}\n variable "ONPREM_AWS_INSTANCE_SIZE" {}\n variable "system_teamcity_buildType_id" {}\n-variable "password_hash" {}\n+\n+variable "password_hash" {\n+  type = "string"\n+  default = ""\n+}\n \n variable "dcos_security" {\n   type = "string"\n', 'commit_subject': 'Update main.tf', 'repo_name': 'dcos/dcos', 'committer': {'name': 'cgawron1', 'email': '5149c4c8e9417f6313649a5335651bba7c882fc4@mesosphere.com', 'time_sec': '1589841371', 'tz_offset': '-420', 'date': {'seconds': '1589841371'}}, 'commit_tree': 'fb1fa287c3914640b63b9fa680f6a73e146784e1', 'commit_message': 'Update main.tf\n\nmore variables\n', 'language_name': 'Go', 'license': 'apache-2.0', 'hunks': '@@ -3,7 +3,11 @@ variable "teamcity_build_id" {}\n variable "ONPREM_INSTALLER_URL" {}\n variable "ONPREM_AWS_INSTANCE_SIZE" {}\n variable "system_teamcity_buildType_id" {}\n-variable "password_hash" {}\n+\n+variable "password_hash" {\n+  type = "string"\n+  default = ""\n+}\n \n variable "dcos_security" {\n   type = "string"\n', 'addition_count': 5, 'deletion_count': 1, 'src_file': 'a/teamcity/main.tf', 'tgt_file': 'b/teamcity/main.tf', 'file_extension': '.tf', 'before_file': 'variable "AWS_REGION" {\n  type = "string"\nvariable "ONPREM_INSTALLER_URL" {}\nvariable "ONPREM_AWS_INSTANCE_SIZE" {}\nvariable "system_teamcity_buildType_id" {}\nvariable "password_hash" {}\n\nvariable "dcos_security" {\n  type = "string"\n}\n\nvariable "dcos_security" {\n  type = "string"\n  default = ""\n}\n\nvariable "owner" {\n    type = "string"\n    default = "dcos/test_util"\n}\n\nvariable "expiration" {\n    type = "string"\n    default = "3h"\n}\n\nvariable "ssh_public_key_file" {\n  type = "string"\n  default = "id_rsa.pub"\n  description = "Defines the public key to log on the cluster."\n}\n\nvariable "dcos_license_key_contents" {\n  type = "string"\n  default = ""\n  description = "Defines content of license used for EE."\n}\n\nvariable "instance_type" {\n    type = "string"\n    default = "t3.medium"\n    description = "Defines type of used machine."\n}\n\nvariable "build_id" {\n    type = "string"\n    default = ""\n    description = "Build ID from CI."\n}\n\nvariable "build_type" {\n    type = "string"\n    default = ""\n    description = "Build type from CI."\n}\n\nvariable "password_hash" {\n  type = "string"\n  default = ""\n}\n\nprovider "aws" {\n  region = "${var.AWS_REGION}"\n}\n\n# Used to determine your public IP for forwarding rules\ndata "http" "whatismyip" {\n  url = "http://whatismyip.akamai.com/"\n}\n\nresource "random_string" "password" {\n  length = 12\n  special = false\n}\n\nlocals {\n  cluster_name = "generic-dcos-it-${random_string.password.result}"\n}\n\nmodule "dcos" {\n  source  = "dcos-terraform/dcos/aws"\n  version = "~> 0.2.10"\n\n  providers = {\n    aws = "aws"\n  }\n\n  tags {\n    owner = "${var.owner}"\n    expiration = "${var.expiration}"\n    build_id = "${var.build_id}"\n    build_type_id = "${var.build_type}"\n  }\n\n  cluster_name        = "${local.cluster_name}"\n  ssh_public_key_file = "${var.ssh_public_key_file}"\n  admin_ips           = ["${data.http.whatismyip.body}/32"]\n\n  num_masters        = "1"\n  num_private_agents = "2"\n  num_public_agents  = "1"\n\n  dcos_instance_os    = "centos_7.5"\n\n  bootstrap_instance_type = "${var.instance_type}"\n  masters_instance_type  = "${var.instance_type}"\n  private_agents_instance_type = "${var.instance_type}"\n  public_agents_instance_type = "${var.instance_type}"\n  #AVAILABILITYZONES\n\n  dcos_calico_network_cidr = "172.17.0.0/16"\n  dcos_variant              = "${var.variant}"\n  dcos_security             = "${var.dcos_security}"\n  dcos_license_key_contents = "${var.dcos_license_key_contents}"\n\n  custom_dcos_download_path = "${var.custom_dcos_download_path}"\n\n  dcos_superuser_username = "testadmin"\n  dcos_superuser_password_hash = "${var.password_hash}"\n}\n\nresource "local_file" "ansible_inventory" {\n  filename = "./inventory"\n\n  content = <<EOF\n[bootstraps]\n${module.dcos.infrastructure.bootstrap.public_ip}\n[masters]\n${join("\\n", module.dcos.infrastructure.masters.public_ips)}\n[agents_private]\n${join("\\n", module.dcos.infrastructure.private_agents.public_ips)}\n[agents_public]\n${join("\\n", module.dcos.infrastructure.public_agents.public_ips)}\n[bootstraps:vars]\nnode_type=bootstrap\n[masters:vars]\nnode_type=master\ndcos_legacy_node_type_name=master\n[agents_private:vars]\nnode_type=agent\ndcos_legacy_node_type_name=slave\n[agents_public:vars]\nnode_type=agent_public\ndcos_legacy_node_type_name=slave_public\n[agents:children]\nagents_private\nagents_public\n[dcos:children]\nbootstraps\nmasters\nagents\nagents_public\nEOF\n}\n\noutput "dcos_ui" {\n  description = "This is the load balancer address to access the DC/OS UI"\n  value       = "http://${module.dcos.masters-loadbalancer}/"\n}\n\noutput "masters_public_ip" {\n    description = "This is the public masters IP to SSH"\n    value       = "${element(module.dcos.infrastructure.masters.public_ips, 0)}"\n}\n\noutput "masters_private_ip" {\n    description = "This is the private masters IP address"\n    value       = "${element(module.dcos.infrastructure.masters.private_ips, 0)}"\n}\n\noutput "private_agent_ips" {\n    description = "These are the IP addresses of all private agents"\n    value       = "${join(",", concat(module.dcos.infrastructure.private_agents.private_ips))}"\n}\n\noutput "public_agent_ips" {\n    description = "These are the IP addresses of all public agents"\n    value       = "${join(",", module.dcos.infrastructure.public_agents.private_ips)}"\n}\n\noutput "masters-ips" {\n  value = "${module.dcos.masters-ips}"\n}\n\noutput "cluster-address" {\n  value = "${module.dcos.masters-loadbalancer}"\n}\n\noutput "public-agents-loadbalancer" {\n  value = "${module.dcos.public-agents-loadbalancer}"\n}', 'message': 'Update main.tf\n\nmore variables\n', 'author_name': 'cgawron1', 'lang': 'tf'}