Git Flow: terraform-provider-coder: create new coder_git_repo
data source
#404
Labels
m
estimated at less than 1 week of work
coder_git_repo
data source
#404
Create a new
coder_git_repo
Coder data source to support the following use-cases:Implementation Notes:
coderd
will be responsible for querying the remote repository and setting the required data in the data source based on user inputs. We need to be using the existing user's oauth2 tokens to authenticate with the Git provider. Doing this in the provider means that typographical errors or issues cloning the repo will only be discovered at plan/apply time, and not while the user is still filling out the form.coder_git_repo
data source per template.coder_parameter
references to this data source are immutable. Rationale: if a user later changes the git repo linked to their workspace, the expected behaviour is not clear.The text was updated successfully, but these errors were encountered: