Hi @jbardin ,
My version is
> tf version
Terraform v1.7.4
on darwin_arm64
+ provider registry.terraform.io/alekc/kubectl v2.1.3
+ provider registry.terraform.io/hashicorp/aws v5.40.0
Your version of Terraform is out of date! The latest version
is 1.10.0. You can update by downloading from https://www.terraform.io/downloads.html
There is no depends_on
in my config:
> grep -rni depends .
./.terraform/terraform.tfstate:71: "depends_on": []
update: I’ve installed latest terraform, v1.10.1
was released while I was writing this message but issue still persists - it stops on
Refreshing state...
.
update2: I also tried with latest version of providers and modules:
> tf version
Terraform v1.10.1
on darwin_arm64
+ provider registry.terraform.io/alekc/kubectl v2.1.3
+ provider registry.terraform.io/hashicorp/aws v5.80.0
source = "terraform-aws-modules/eks-pod-identity/aws"
version = "1.7.0"
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc"
version = "5.48.0"
still the same deadlock. Might it be these two modules should not be used together? From other side in another environment it works well.
update3: might it be that state of 7 000 resources is too big for aws provider and it silently hangs? Or should aws provider emit some error when it can’t refresh state?