Skip to content

Fails if only tofu is installed #57

Open

Description

@brizzbuzz

Hey, looks like a super neat tool. Hoping this will be an easy fix, but it looks like if a user is using OpenTofu instead of terraform, and doesn't have terraform installed at all, then the diagram fails to render

Diagram renderer running on localhost:3000
Error while running 'terraform show -json':
Error: Command failed: terraform show -json "/path/to/my/plan/plan.out"
/bin/sh: terraform: command not found

Activity

  1. brizzbuzz commented on Jun 20, 2024

    @brizzbuzz
    Author

    tried two things additionally that didn't really work

    Tried to alias terraform to tofu, failed for an unclear reason (maybe due to spawning a shell that ignores aliases?)

    tried to install terraform, fails b/c tofu and terraform have diverged version wise

  2. jose-joye commented on Nov 27, 2024

    @jose-joye

    Same here.
    Any plan to support openTofu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions