Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using atlantis-drift-detection, having problems downloading private terraform repos #82

Open
romelBen opened this issue Jul 17, 2023 · 1 comment

Comments

@romelBen
Copy link

romelBen commented Jul 17, 2023

Hello! I'm wondering what could be my issue in regards to me having issues downloading private repos? Wondering if anyone else has had issues with this.

Logs:
{"level":"panic","ts":1689620559.2007089,"caller":"atlantis-drift-detection/main.go:143","msg":"failed to drift","error":"failed to find extra workspaces: failed to init workspace live/dev: Initializing modules...\n- k8s-iam in ../../modules/k8s-iam\nDownloading git::https://github.com/foofoo/map_values.git for map_values...\n:\nError: Failed to download module\n\nCould not download module \"map_values\" (../../modules/k8s-iam/iam.tf:4)\nsource code from\n\"git::[https://github.com/foofoo/map_values.git\](https://github.com/foofoo/map_values.git/)": error\ndownloading 'https://github.com/foofoo/map_values.git':\n/usr/bin/git exited with 128: Cloning into\n'.terraform/modules/k8s-iam.map'...\nfatal: could not read Username for 'https://github.com/': No such device or\naddress\n\n\n\nError: Failed to download module\n\nCould not download module \"map\" (../../modules/k8s-iam/iam.tf:4)\nsource code from\n\"git::[https://github.com/foofoo/map_values.git\](https://github.com/foofoo/map_values.git/)": error\ndownloading 'https://github.com/foofoo/map_values.git':\n/usr/bin/git exited with 128: Cloning into\n'.terraform/modules/k8s-iam.map'...\nfatal: could not read Username for 'https://github.com/': No such device or\naddress\n\n\n:exit status 1","stacktrace":"main.main\n\t/app/cmd/atlantis-drift-detection/main.go:143\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}

The GH App has enough permissions to download the repos so unsure what is blocking it.

@romelBen
Copy link
Author

How would one incorporate AWS if we have our tf statefiles stored on AWS S3 buckets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant