Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Latest commit

 

History

History
121 lines (110 loc) · 12.8 KB

File metadata and controls

121 lines (110 loc) · 12.8 KB

Requirements

Name Version
terraform ~> 1.4.4
aws = 4.63.0
helm = 2.9.0
kubectl = 1.14.0
kubernetes = 2.19.0
random = 3.4.3
tls = 4.0.4

Providers

Name Version
aws 4.63.0
random 3.4.3

Modules

Name Source Version
acm ../modules/acm n/a
cert-manager ../../common/modules/cert-manager n/a
eks ../modules/eks n/a
elasticache ../modules/elasticache n/a
iam ../modules/iam n/a
label-studio ../../common/modules/label-studio n/a
lbc ../modules/load-balancer-controller n/a
nic ../../common/modules/nginx-ingress-controller n/a
rds ../modules/rds n/a
route53 ../modules/route53 n/a
s3 ../modules/s3 n/a
s3_role ../modules/s3_role n/a
vpc ../modules/vpc n/a

Resources

Name Type
random_password.postgresql_password resource
random_password.redis_password resource
aws_caller_identity.current data source
aws_eks_cluster.eks data source
aws_eks_cluster_auth.eks data source

Inputs

Name Description Type Default Required
aws_auth_accounts List of account maps to add to the aws-auth configmap list(any) [] no
aws_auth_roles List of role maps to add to the aws-auth configmap list(any) [] no
aws_auth_users List of user maps to add to the aws-auth configmap list(any) [] no
cluster_endpoint_public_access_cidrs List of CIDR blocks which can access the Amazon EKS public API server endpoint list(string)
[
"0.0.0.0/0"
]
no
create_acm_certificate Whether to create acm certificate or use existing bool false no
create_r53_zone Create R53 zone for main public domain bool false no
deploy_label_studio Include Label Studio module? bool true no
desired_capacity Desired capacity for the autoscaling Group. number 3 no
domain_name Main public domain name string null no
eks_capacity_type Type of capacity associated with the EKS Node Group string "ON_DEMAND" no
enterprise Deploy enterprise version of Label Studio bool false no
environment Name of the environment where infrastructure is being built. string n/a yes
ingress_namespace Namespace for ingress string "ingress" no
instance_type Type of instance to be used for the Kubernetes cluster. string "t3.medium" no
label_studio_additional_set Additional sets for Label Studio Helm chart release map(string) {} no
label_studio_docker_registry_email Docker email to pull Label Studio image string "" no
label_studio_docker_registry_password Docker password to pull Label Studio image. string "" no
label_studio_docker_registry_server Docker registry fqdn to pull Label Studio image from string "https://index.docker.io/v2/" no
label_studio_docker_registry_username Docker username to pull Label Studio image string "" no
label_studio_helm_chart_name Label Studio Helm chart name to be installed string "label-studio" no
label_studio_helm_chart_repo Heartex repository name. string "https://charts.heartex.com" no
label_studio_helm_chart_repo_password Password for HTTP basic authentication against the Helm repository. string "" no
label_studio_helm_chart_repo_username Username for HTTP basic authentication against the Helm repository. string "" no
label_studio_helm_chart_version Label Studio Helm chart version string "1.0.16" no
lets_encrypt_email Email address for certificate sing via Let's Encrypt string null no
license_literal License link for enterprise Label Studio string null no
max_size Maximum number of the instances in autoscaling group number 5 no
min_size Minimum number of the instances in autoscaling group number 3 no
monitoring_namespace Namespace for monitoring string "monitoring" no
name Name is the prefix to use for resources that needs to be created. string n/a yes
postgresql_ca_crt_file n/a string null no
postgresql_database Postgresql database name string "labelstudio" no
postgresql_host Postgresql fqdn string "" no
postgresql_machine_type Postgresql machine type string "db.m5.large" no
postgresql_password Postgresql password string null no
postgresql_port Postgresql port number 5432 no
postgresql_ssl_mode n/a string "require" no
postgresql_tls_crt_file n/a string null no
postgresql_tls_key_file n/a string null no
postgresql_type Postgresql type string "internal" no
postgresql_username Postgresql username string "labelstudio" no
predefined_s3_bucket Predefined S3 Bucket
object(
{
name : string
region : string
folder : string
kms_arn : string
}
)
null no
predefined_vpc_id Predefined VPC string null no
private_cidr_block List of private subnet cidr blocks list(string)
[
"10.0.1.0/24",
"10.0.2.0/24",
"10.0.3.0/24"
]
no
public_cidr_block List of public subnet cidr blocks list(string)
[
"10.0.101.0/24",
"10.0.102.0/24",
"10.0.103.0/24"
]
no
record_name Main record domain name string null no
redis_ca_crt_file n/a string null no
redis_host Redis fqdn string "" no
redis_machine_type Redis machine type string "cache.t3.micro" no
redis_password Redis password string null no
redis_port Redis port string 6379 no
redis_ssl_mode n/a string "required" no
redis_tls_crt_file n/a string null no
redis_tls_key_file n/a string null no
redis_type Redis deployment type string "internal" no
region The AWS region where terraform build resources. string "us-east-1" no

Outputs

Name Description
bucket_id Bucket Name (aka ID)
cluster_endpoint The endpoint for your EKS Kubernetes API
cluster_name Name of the EKS cluster
cluster_version Version of the EKS cluster
connect_cluster Configuring EKS cluster access for kubectl
host n/a
load_balancer_host n/a