File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
terraform/aws/aws-eks-operator Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11data "aws_region" "current" {}
2+
3+ data "aws_eks_cluster_versions" "latest" {
4+ default_only = true
5+ }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ locals {
1010 subnet_ids = module. vpc . private_subnets
1111
1212 # EKS cluster configuration
13- cluster_version = " 1.34 " # TODO: omit this?
13+ cluster_version = data . aws_eks_cluster_versions . latest . cluster_versions [ 0 ] . cluster_version
1414 node_instance_type = " t3.medium"
1515 desired_size = 2
1616 max_size = 2
@@ -26,7 +26,7 @@ locals {
2626 ha_proxy_service_name = " ${ helm_release . tailscale_operator . name } -ha"
2727}
2828
29- # This isn't required but helps avoid Let's Encrypt throttling to make testing and iterating easier.
29+ # This isn't required but helps avoid conflicts and Let's Encrypt throttling to make testing and iterating easier.
3030resource "random_string" "operator_name_suffix" {
3131 length = 3
3232 numeric = false
You can’t perform that action at this time.
0 commit comments