You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Invalid count argument
on platform.tf line 25, in resource "aws_autoscaling_lifecycle_hook" "aws_node_termination_handler":
25: count = length(module.eks.workers_asg_names)
The "count" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Add instance refresh code to my existing cluster. The "aws_autoscaling_lifecycle_hook" code piece is failing.
Related to
#1373 (comment)
Already tried deleting .terraform, init and plan/apply
Versions
❯ terraform providers --version
Terraform v0.13.6
Reproduction
Steps to reproduce the behavior:
Add
Actual behavior
Terminal Output Screenshot(s)
The text was updated successfully, but these errors were encountered: