We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5ca702 commit 2279698Copy full SHA for 2279698
outputs_projects.tf
@@ -0,0 +1,22 @@
1
+locals {
2
+ projects = [
3
+ for index, project in data.gitlab_projects.projects.projects :
4
+ merge(project, {
5
+ members = data.gitlab_project_membership.project_membership[project.name].members
6
+ })
7
+ ]
8
+
9
+ projects_template_vars = merge(
10
+ tomap({
11
+ projects = local.projects
12
+ }),
13
14
+ projects_sort = var.projects_sort
15
+ tabulator_theme = var.tabulator_theme,
16
+ html_font_family = var.html_font_family
17
+ }))
18
+}
19
20
+output "projects_html" {
21
+ value = templatefile(local.projects_html_template_file, local.projects_template_vars)
22
0 commit comments