Files
doczyai-pipelines/streamlit-server/variables.tf
T
2024-06-26 18:51:59 +02:00

69 lines
1.2 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
}
variable "client_list" {
type = map(object({
client_name = string
}))
default = {
client1 = {
client_name = "cn1"
}
}
}
variable "vpc_id" {
type = string
}
variable "ubuntu_ami" {
type = map(string)
default = {
dev = "ami-0de7e97fedfbc6ef6"
uat = "ami-0b8b44ec9a8f90422"
prod = "ami-0b8b44ec9a8f90422"
}
}
variable "ec2_instance_type" {
type = string
default = "t2.large"
}
# 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:us-east-2:211125720533:certificate/45617883-689b-404c-a16c-019d4083bf7e"
}
}
variable "key_name" {
}