idoavrah / terraform-tui

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

feat: allow specifying the executable to use (e.g 'terragrunt') #30

Closed jonwtech closed 1 year ago

jonwtech commented 1 year ago

Adds an '-e', '--executable' argument that allows overriding the default executable (terraform.)

This enables Terragrunt usage (https://github.com/idoavrah/terraform-tui/issues/15), for example:

$ tftui -e terragrunt

idoavrah commented 1 year ago

Looks great. Did you test it? I'm unfamiliar with terragrunt myself.

jonwtech commented 1 year ago

Looks great. Did you test it? I'm unfamiliar with terragrunt myself.

Hi @idoavrah thanks for writing this handy tool :)

Yes, tested out and it works fine for me. Terragrunt just forwards any commands ('init', 'show' etc.) straight to Terraform, so nothing too clever required.