Skip to content

Commit 816cad6

Browse files
committed
chore: Update self-managed example to use AL2023
1 parent 0cb69a3 commit 816cad6

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.90.0
3+
rev: v1.91.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate

self-managed-node-group/eks_default.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ module "eks_default" {
33
version = "~> 20.0"
44

55
cluster_name = "${local.name}-default"
6-
cluster_version = "1.20"
6+
cluster_version = "1.30"
77

8-
cluster_endpoint_public_access = true
8+
enable_cluster_creator_admin_permissions = true
9+
cluster_endpoint_public_access = true
910

1011
# EKS Addons
1112
cluster_addons = {
@@ -21,9 +22,11 @@ module "eks_default" {
2122
default = {
2223
instance_type = "m5.large"
2324

24-
min_size = 1
25+
ami_type = "AL2023_x86_64_STANDARD"
26+
27+
min_size = 2
2528
max_size = 3
26-
desired_size = 1
29+
desired_size = 2
2730
}
2831
}
2932

0 commit comments

Comments
 (0)