Update main.tf

Add Github and Gitlab when using git@ URLs.
pull/308/head
djarbz 10 months ago committed by GitHub
parent 438c904567
commit 21c2608681
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,9 +34,15 @@ variable "git_providers" {
"https://github.com/" = { "https://github.com/" = {
provider = "github" provider = "github"
}, },
"git@github.com:" = {
provider = "github"
},
"https://gitlab.com/" = { "https://gitlab.com/" = {
provider = "gitlab" provider = "gitlab"
}, },
"git@gitlab.com:" = {
provider = "gitlab"
},
} }
validation { validation {
error_message = "Allowed values for provider are \"github\" or \"gitlab\"." error_message = "Allowed values for provider are \"github\" or \"gitlab\"."

Loading…
Cancel
Save