Files
doczyai-pipelines/streamlit-server/variables.tf
T
2024-05-30 18:36:31 -05:00

94 lines
1.6 KiB
Terraform

# required
variable "aws_region" {
type = string
default = "us-east-2"
}
# required
variable "project_name" {
type = string
default = "doczyai"
}
# required
variable "environment" {
type = string
# default = "dev"
}
variable "client_list" {
type = map(object({
client_name = string
}))
default = {
client1 = {
client_name = "cn1"
}
}
}
variable "vpc_id" {
type = string
}
# variable "ubuntu_ami" {
# type = string
# default = "ami-0de7e97fedfbc6ef6" # Switch to this ami-0b8b44ec9a8f90422
# }
variable "ubuntu_ami" {
type = map(string)
default = {
dev = "ami-0de7e97fedfbc6ef6"
uat = "ami-0b8b44ec9a8f90422"
}
}
variable "ec2_instance_type" {
type = string
default = "t2.large"
}
# EC2 iam role name
variable "ec2_iam_role_name" {
type = string
default = "ec2-iam-role"
}
# Cerate an array of ARNS
variable "SecretsNames"{
type = list(string)
default = []
}
variable "acm_arn_dev" {
type = string
default = "arn:aws:acm:us-east-2:660131068782:certificate/947e04b3-be22-43bf-bea2-a0ad3b221d70"
}
variable "acm_arns" {
type = map(string)
default = {
dev = "arn:aws:acm:us-east-2:660131068782:certificate/947e04b3-be22-43bf-bea2-a0ad3b221d70"
uat = "arn:aws:acm:us-east-2:975049960860:certificate/e036e76d-1f4f-496e-ac97-5f65ec4a34cc"
prod = "arn:aws:acm:region:account-id:certificate/prod-cert-id"
}
}
variable "secret_key" {
type = string
}
# required
variable "access_key" {
type = string
}
# required
variable "token" {
type = string
}