tree: fc5726f2b39e2fd379b21f90b8a5aed4088e8f38 [path history] [tgz]
  1. files/
  2. auto_scaling_groups.tf
  3. lb.tf
  4. main.tf
  5. outputs.tf
  6. README.md
  7. role_policy.tf
  8. s3.tf
  9. security_groups.tf
  10. variables.tf
  11. vpc.tf
infrastructure-provisioning/terraform/aws/ssn-k8s/main/README.md

Terraform module for deploying DataLab SSN K8S cluster

List of variables which should be provided:

VariableTypeDescription/Value
access_key_idstringRequired. AWS Access Key ID.
secret_access_keystringRequired. AWS Secret Access Key.
service_base_namestringAny infrastructure value (should be unique if multiple SSN’s have been deployed before). Default: datalab-k8s
vpc_idstringID of AWS VPC if you already have VPC created.
vpc_cidrstringCIDR for VPC creation. Conflicts with vpc_id. Default: 172.31.0.0/16
subnet_idstringID of AWS Subnet if you already have subnet created.
subnet_cidrstringCIDR for Subnet creation. Conflicts with subnet_id. Default: 172.31.0.0/24
env_osstringOS type. Available options: debian, redhat. Default: debian
amistringRequired. ID of EC2 AMI.
key_namestringRequired. Name of EC2 Key pair.
regionstringName of AWS region. Default: us-west-2
zonestringName of AWS zone. Default: a
ssn_k8s_masters_countintCount of K8S masters. Default: 3
ssn_k8s_workers_countintCount of K8S workers. Default: 2
ssn_root_volume_sizeintSize of root volume in GB. Default: 30
allowed_cidrslistCIDR to allow acces to SSN K8S cluster. Default: 0.0.0.0/0
ssn_k8s_masters_shapestringShape for SSN K8S masters. Default: t2.medium
ssn_k8s_workers_shapestringShape for SSN K8S workers. Default: t2.medium
os_userstringName of DataLab service user. Default: datalab-user