aws-cluster
drpebcak/aws-cluster/k3s
Terraform K3S AWS Cluster This module supports creating a k3s cluster with a postgres backend in AWS. It allows you to optionally install Rancher Server cert-manager, or import your K3S cluster into an existing Rancher Server. Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | | rancher2 | >= 1.10.3 | Providers | Name | Version | |------|---------| | aws | n/a | | aws.r53 | n/a | | null | n/a | | rancher2.bootstrap | >= 1.10.3 | | random | n/a | | template | n/a | Modules No modules. Resources | Name | Type | |------|------| | aws_autoscaling_group.k3s_agent | resource | | aws_autoscaling_group.k3s_server | resource | | aws_db_subnet_group.private | resource | | aws_launch_template.k3s_agent | resource | | aws_launch_template.k3s_server | resource | | aws_lb.lb | re
| Name | Type | Description | Default |
|---|---|---|---|
| db_pass | string | Password for RDS user | required |
| db_user | string | Username for RDS database | required |
| rancher_password | string | Password to set for admin user during bootstrap of Rancher Server | required |
| private_subnets | list(any) | List of private subnet ids. | [] |
| install_nginx | bool | Install ingress-nginx | true |
| ssh_keys | list(string) | SSH keys to inject into Rancher instances | [] |
| domain | string | "eng.rancher.space" | |
| agent_k3s_exec | string | exec args to pass to k3s agents | null |
| agent_instance_ssh_user | string | Username for sshing into instances | "ubuntu" |
| k3s_tls_san | string | Sets k3s tls-san flag to this value instead of the default load balancer | null |
| create_external_nlb | bool | Boolean that defines whether or not to create an external load balancer | true |
| registration_command | string | Registration command to import cluster into Rancher. Should not be used when ins | "" |
| server_volume_type | string | Volume Type for K3S Server nodes | "gp3" |
| rancher_token_update | bool | Regenerate admin token. | false |
| server_instance_ssh_user | string | Username for sshing into instances | "ubuntu" |
| install_k3s_version | string | Version of K3S to install | "1.22.9+k3s1" |
| public_subnets_cidr_blocks | list(any) | List of cidr_blocks of public subnets | [] |
| aws_profile | string | Name of the AWS Profile to use for authentication | null |
| db_engine_version | string | Engine Version for RDS Database | "13.4" |
| extra_server_security_groups | list(any) | Additional security groups to attach to k3s server instances | [] |
| subdomain | string | subdomain to host rancher on, instead of using `var.name` | null |
| install_rancher | bool | Boolean that defines whether or not to install Rancher | false |
| nginx_version | string | Version of ingress-nginx helm chart to install | "4.1.3" |
| … and 10 more inputs | |||
external_lb_dns_namek3s_cluster_secretrancher_admin_passwordrancher_urlrancher_token