Files
doczyai-pipelines/streamlit-server/variables.tf
T

69 lines
1.2 KiB
Terraform
Raw Normal View History

2024-05-01 16:59:07 -05:00
# required
variable "aws_region" {
type = string
default = "us-east-2"
}
# required
variable "project_name" {
type = string
default = "doczyai"
}
# required
variable "environment" {
2024-06-26 18:51:59 +02:00
type = string
2024-05-01 16:59:07 -05:00
}
variable "client_list" {
type = map(object({
client_name = string
}))
default = {
client1 = {
client_name = "cn1"
}
}
}
variable "vpc_id" {
type = string
}
variable "ubuntu_ami" {
2024-06-26 18:51:59 +02:00
type = map(string)
2024-05-30 18:36:31 -05:00
default = {
dev = "ami-0de7e97fedfbc6ef6"
uat = "ami-0b8b44ec9a8f90422"
2024-06-26 18:51:59 +02:00
prod = "ami-0b8b44ec9a8f90422"
2024-05-30 18:36:31 -05:00
}
2024-05-01 16:59:07 -05:00
}
variable "ec2_instance_type" {
2024-06-26 18:51:59 +02:00
type = string
default = "t2.large"
2024-05-01 16:59:07 -05:00
}
# Cerate an array of ARNS
2024-06-26 18:51:59 +02:00
variable "SecretsNames" {
type = list(string)
2024-05-01 16:59:07 -05:00
default = []
}
variable "acm_arn_dev" {
2024-06-26 18:51:59 +02:00
type = string
2024-05-17 17:21:55 -05:00
default = "arn:aws:acm:us-east-2:660131068782:certificate/947e04b3-be22-43bf-bea2-a0ad3b221d70"
2024-05-17 13:57:08 -05:00
}
2024-05-30 18:08:02 -05:00
variable "acm_arns" {
2024-06-26 18:51:59 +02:00
type = map(string)
2024-05-30 18:08:02 -05:00
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"
2024-06-26 18:51:59 +02:00
prod = "arn:aws:acm:us-east-2:211125720533:certificate/45617883-689b-404c-a16c-019d4083bf7e"
2024-05-30 18:08:02 -05:00
}
}
2024-06-06 17:28:21 +02:00
variable "key_name" {
}
2024-06-12 17:46:35 +02:00