From 21c2608681e1d66c9e33fd5641be6949a4bc458e Mon Sep 17 00:00:00 2001 From: djarbz <30350993+djarbz@users.noreply.github.com> Date: Sat, 28 Sep 2024 18:12:34 -0500 Subject: [PATCH] Update main.tf Add Github and Gitlab when using git@ URLs. --- git-clone/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/git-clone/main.tf b/git-clone/main.tf index 0295444..f068810 100644 --- a/git-clone/main.tf +++ b/git-clone/main.tf @@ -34,9 +34,15 @@ variable "git_providers" { "https://github.com/" = { provider = "github" }, + "git@github.com:" = { + provider = "github" + }, "https://gitlab.com/" = { provider = "gitlab" }, + "git@gitlab.com:" = { + provider = "gitlab" + }, } validation { error_message = "Allowed values for provider are \"github\" or \"gitlab\"."