- Notifications
You must be signed in to change notification settings - Fork1k
Closed
Labels
Description
Hi,
I want to be able to reference terraform modules from my own git repo and push them to coder using the cli.
An issue I have found is that when using the cli it won't successfully push the modules as I'm referencing a self hosted instance of gitlab and it requires a username and access-token. For example a bot username and an access token which can read the modules repo
module"git-clone"{source="git::https://<username>:<access-token>@<git-url>/coder-modules.git//git-clone?ref=main"}
While this code does work, it requires having the username and access token publicly available (obviously not wanted).
Does the coder cli have a way of adding the username and access token to the source URL, if not, could this be done?