28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.03k stars 256 forks source link

Receiving issue when trying to connect to git for AWS provider #100

Open markdjones82 opened 2 years ago

markdjones82 commented 2 years ago

Trying to run blast-radius and it errors when trying to pull down modules form git and setting variables: Could not download module "r53_private_zone" (.terraform/modules/tfvpc-us-west-2-devqa/modules/dns/main.tf:9) source code from "git::https://github.com/terraform-aws-modules/terraform-aws-route53?ref=v2.8.1": error downloading 'https://github.com/terraform-aws-modules/terraform-aws-route53?ref=v2.8.1': git must be available and on the PATH.

davidjeddy commented 1 year ago

Ran into the same error but for different modules. Seems the Dockerfile does not include Git, so the embedded Terraform can not pull 3rd party modules.

Given the last update to the project was 3 years ago, not sure it is still actively being worked on. I would check the list of forks for actively supported versions https://github.com/28mm/blast-radius/network/members

Ianyliu commented 1 year ago

Hi @markdjones82 & @davidjeddy , I just updated my latest Docker image so that Git is installed. Please check:

docker run --rm -it -p 5000:5000 \
  -v $(pwd):/data:ro \
  --security-opt apparmor:unconfined \
  --cap-add=SYS_ADMIN \
  ianyliu/blast-radius-fork
christrt9 commented 1 year ago

@Ianyliu I try your docker image but i get this error

exec /bin/docker-entrypoint.sh: no such file or directory
Ianyliu commented 1 year ago

@r00t9 Please try again now, I've updated the Docker image