blast-radius icon indicating copy to clipboard operation
blast-radius copied to clipboard

Receiving issue when trying to connect to git for AWS provider

Open markdjones82 opened this issue 2 years ago • 5 comments

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.

markdjones82 avatar Jun 24 '22 15:06 markdjones82

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

davidjeddy avatar Nov 22 '22 08:11 davidjeddy

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

Ianyliu avatar Nov 22 '22 16:11 Ianyliu

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

exec /bin/docker-entrypoint.sh: no such file or directory

christrt9 avatar Jan 11 '23 10:01 christrt9

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

Ianyliu avatar Jan 15 '23 15:01 Ianyliu