Open ssajac opened 3 months ago
I believe this is where the error is coming from (as min_size '1' can't be greater than desired_size '0') but I can't figure out how the "scaling_config" block is formed; and how does it decide that desired_size is zero.
scaling_config {
desired_size = 0 max_size = 5 min_size = 1 }
Terraform Version Details
Terraform v1.9.x
Terraform Variable File Details
No response
Steps to Reproduce
Expected Behavior
EKS Node Group is created successfully.
Actual Behavior
Error: creating EKS Node Group (): operation error EKS: CreateNodegroup, https response error StatusCode: 400, RequestID: , InvalidParameterException: minSize can't be greater than desiredSize
Additional Context
Hello,
We are on Terraform v1.9.x
We can't get past the error "minSize can't be greater that desiredSize".
In the Terraform plan excerpt below we can't figure out why "desired_size=0"; and we also don't know how to modify it to be > 0.
Any feedback is greatly appreciated
module.eks.module.eks_managed_node_group["default"].aws_eks_node_group.this[0] will be created
resource "aws_eks_node_group" "this" {
ami_type = (known after apply)
arn = (known after apply)
capacity_type = (known after apply)
cluster_name = "dva-prod-2-sas-eks"
disk_size = (known after apply)
id = (known after apply)
instance_types = [
labels = {
node_group_name = (known after apply)
node_group_name_prefix = "default-"
node_role_arn = "arn:aws:iam::002472801454:role/dva-prod-eks-node-role"
release_version = (known after apply)
resources = (known after apply)
status = (known after apply)
subnet_ids = [
tags = {
tags_all = {
version = "1.28"
launch_template {
scaling_config {
timeouts {}
update_config {
References
No response
Code of Conduct