Skip to content

Commit

Permalink
Support UpdateNodegroupConfig in bootstrap IAM, ignore min_size for n…
Browse files Browse the repository at this point in the history
…odegroup scaling (#119)

* add eks:UpdateNodegroupConfig to deployment permissions

* ignore changes to node group min_size
  • Loading branch information
steved authored Aug 22, 2023
1 parent ccd9c90 commit 6301ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions iam-bootstrap/bootstrap-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
"eks:ListTagsForResource",
"eks:TagResource",
"eks:UntagResource",
"eks:UpdateNodegroupConfig",
"eks:UpdateNodegroupVersion"
],
"Resource": "*"
Expand Down
1 change: 1 addition & 0 deletions submodules/eks/node-group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ resource "aws_eks_node_group" "node_groups" {
lifecycle {
ignore_changes = [
scaling_config[0].desired_size,
scaling_config[0].min_size,
]
}

Expand Down

0 comments on commit 6301ca0

Please sign in to comment.