Skip to content

Commit 4c6db5b

Browse files
authored
fix: Allow wildcards in the repository variable (#62)
1 parent a7b30ee commit 4c6db5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ variable "github_repositories" {
7474
// organization/repository format used by GitHub.
7575
condition = length([
7676
for repo in var.github_repositories : 1
77-
if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.:/-]+[*]?|\\*)$", repo)) > 0
77+
if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.:/\\-\\*]+)$", repo)) > 0
7878
]) == length(var.github_repositories)
7979
error_message = "Repositories must be specified in the organization/repository format."
8080
}

0 commit comments

Comments
 (0)