Skip to content

Commit

Permalink
chore: Update self-managed example to use AL2023
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Jun 12, 2024
1 parent 0cb69a3 commit 816cad6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.90.0
rev: v1.91.0
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
11 changes: 7 additions & 4 deletions self-managed-node-group/eks_default.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ module "eks_default" {
version = "~> 20.0"

cluster_name = "${local.name}-default"
cluster_version = "1.20"
cluster_version = "1.30"

cluster_endpoint_public_access = true
enable_cluster_creator_admin_permissions = true
cluster_endpoint_public_access = true

# EKS Addons
cluster_addons = {
Expand All @@ -21,9 +22,11 @@ module "eks_default" {
default = {
instance_type = "m5.large"

min_size = 1
ami_type = "AL2023_x86_64_STANDARD"

min_size = 2
max_size = 3
desired_size = 1
desired_size = 2
}
}

Expand Down

0 comments on commit 816cad6

Please sign in to comment.