-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
26 lines (22 loc) · 1011 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module "repository" {
for_each = local.repo
source = "ALT-F4-LLC/repository/github"
version = "0.11.0"
description = each.value.description
gitignore_template = try(each.value.gitignore_template, null)
name = each.value.name
owner = var.owner
topics = each.value.topics
visibility = each.value.visibility
has_issues = each.value.has_issues
has_discussions = try(each.value.has_discussions, false)
teams = each.value.teams
vulnerability_alerts = each.value.vulnerability_alerts
license_template = try(each.value.license_template, "mit")
homepage_url = try(each.value.homepage_url, null)
enable_pages = try(each.value.enable_pages, false)
pages_branch = try(each.value.pages_branch, null)
pages_build_type = try(each.value.pages_build_type, "workflow")
pages_cname = try(each.value.pages_cname, null)
pages_path = try(each.value.pages_path, null)
}