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
When selecting more than one resource from the list, it fails to destroy as shown below:
My workaround is to select each resource individually then destroy one at a time.
$ tftarget destroy
? Select resources to target destroy: module.Stack.module.Compute.aws_instance.server[0] will be destroyed, module.Stack.module.Compute.aws_instance.server[1] will be destroyed
Enter a value: yes
╷
│ Error: Invalid target "{module.Stack.module.Compute.aws_instance.server[0],module.Stack.module.Compute.aws_instance.server[1]}"
│
│ Must begin with a variable name.
╵
For more help on using this command, run:
terraform destroy -help
==============🎉 Selected Resources 🎉==============
module.Stack.module.Compute.aws_instance.server[0] will be destroyed
module.Stack.module.Compute.aws_instance.server[1] will be destroyed
@orangekame3 Unfortunately I can't do that as it's quite big and it's impossible to redact all confidential things and internal naming of resources,terraform plan works fine.
When selecting more than one resource from the list, it fails to destroy as shown below:
My workaround is to select each resource individually then destroy one at a time.
The text was updated successfully, but these errors were encountered: