Skip to content
Snippets Groups Projects
variables.tf 2.66 KiB
Newer Older
variable "informatica_username" {}
variable "informatica_password" {}

variable "aws_profile" {
  default = "default"

variable "aws_account_id" {
  type = list(string)
  default = [
    "265723766240"
  ]
}

# see git tagging in .gitlab-ci.yml for image name.
  description = "Secure Agent image name publish by .gitlab-ci.yml."
  description = "Container name for Secure Agent image."
  # in order to pass a container hostname bridge network mode is used
  # instead of awsvpc mode.
  default = "bridge"

variable "container_hostname" {
  default = "test.ei.secureagent.doit.wisc.edu"
}

variable "container_memory" {
  default = 15360 # 15GiB
}

variable "instance_ebs_size" {
  default = 40 # 40GB
}

# see Secure Agent system requirements, before changing instance type, see the
# supported instance types for launch configuration. See `container_memory` above for
# configuring memory for container process.
variable "instance_type" {
  default = "t2.xlarge" # 4 vCPU, 16 GB
}

# note that as per our licesning model each
# container would be an extran instance
variable "container_count" {
  default = "iics-secure-agent-iam-role-test"
  default = {
    Name = "iics-secure-agent"
    tier = "test"
  }
}

variable "efs_tags" {
  type = map(string)
  default = {
    Name = "iics-secure-agent"
    tier = "test"
  }
}

variable "secure_agent_mount_path" {
  default = "/home/agent/infaagent/"
}

variable "secure_agent_sg_tags" {
  default = {
    Name = "secure-agent-efs-sg"
    tier = "test"
  }
}

variable "iam_instance_profile" {
  default = "secure-agent-ecs-instance-profile"
}

variable "secure_agent_efs_sg" {
  default = "secure-agent-efs-sg"