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
Running plural destroy on aws-bootstrap always fails with this Terraform error:
│ Error: Unsupported attribute
│
│ on aws-bootstrap/locals.tf line 6, in locals:
│ 6: worker_private_subnet_ids = var.create_cluster ? module.vpc.worker_private_subnets_ids : var.worker_private_subnet_ids
│ ├────────────────
│ │ module.vpc is object with 98 attributes
│
│ This object does not have an attribute named "worker_private_subnets_ids".
I get the same error if I manually try terraform destroy inside bootstrap/terraform directory in the workspace.
Just to get to the root cause, I set create_cluster to false and then it makes a little progress but fails again further along. Not sure but I suspect create_cluster set to true is causing issue related to resource ordering when destroying.
@tusharm Are you still running into this issue? I did 6 cycles of creating and destroying clusters and wasn't able to replicate it. So if you are still running into this I would love to setup a call so we can further debug this.
I've just had the same issue when trying to destroy, I noticed some references to a worker_private_subnets_ids variable, and other references to a worker_private_subnet_ids variable, is it possible the wrong variable name has been used somewhere?
Summary
Running plural destroy on aws-bootstrap always fails with this Terraform error:
I get the same error if I manually try
terraform destroy
insidebootstrap/terraform
directory in the workspace.Just to get to the root cause, I set
create_cluster
to false and then it makes a little progress but fails again further along. Not sure but I suspectcreate_cluster
set totrue
is causing issue related to resource ordering when destroying.Reproduction
I can replicate it with these commands:
UI/UX Issue Screenshots
Additional Info about Your Environment
Message from the maintainers:
Impacted by this bug? Give it a 👍. We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: