idoavrah / terraform-tui

Terraform textual UI
https://pypi.org/project/tftui/
Apache License 2.0
998 stars 30 forks source link

Running tftui reporting "No state." #21

Closed starzhanganz closed 5 months ago

starzhanganz commented 1 year ago
/Library/Python/3.9/bin/tftui test.tfstate                                                                              
No state.

how to import the statefile?

idoavrah commented 1 year ago

No need to import the state file, simply run the tftui command in the same directory you would run terraform plan in.

spham commented 5 months ago

hi, what happen when tfstate is on http backend in gitlab ?

idoavrah commented 5 months ago

TFTUI is agnostic to your backend choice. As long as you can run terraform state show and get results - it'll work seamlessly.