Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
Add Github and Gitlab when using git@ URLs.
  • Loading branch information
djarbz authored Sep 28, 2024
1 parent 438c904 commit 21c2608
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions git-clone/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ variable "git_providers" {
"https://github.com/" = {
provider = "github"
},
"[email protected]:" = {
provider = "github"
},
"https://gitlab.com/" = {
provider = "gitlab"
},
"[email protected]:" = {
provider = "gitlab"
},
}
validation {
error_message = "Allowed values for provider are \"github\" or \"gitlab\"."
Expand Down

0 comments on commit 21c2608

Please sign in to comment.