Skip to content

Commit

Permalink
Update locals.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Feb 16, 2024
1 parent 863bbc9 commit c1192e0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ locals {
role = role
}
]
]) : lower("${item.username}") => item...
]) : lower("${item.username}") => item
}
}
"github_repository" = {
Expand All @@ -41,7 +41,7 @@ locals {
}] : []
template = try([config.template], [])
})
] : lower("${item.name}") => item...
] : lower("${item.name}") => item
}
}
"github_repository_collaborator" = {
Expand All @@ -56,7 +56,7 @@ locals {
}
]
])
]): lower("${item.repository}:${item.username}") => item...
]): lower("${item.repository}:${item.username}") => item
}
}
"github_branch_protection" = {
Expand All @@ -70,14 +70,14 @@ locals {
required_status_checks = try([config.required_status_checks], [])
})
]
]): lower("${item.repository}:${item.pattern}") => item...
]): lower("${item.repository}:${item.pattern}") => item
}
}
"github_team" = {
"this" = {
for item in [for team, config in lookup(local.config, "teams", {}) : merge(config, {
name = team
})] : lower("${item.name}") => item...
})] : lower("${item.name}") => item
}
}
"github_team_repository" = {
Expand All @@ -92,7 +92,7 @@ locals {
}
]
])
]): lower("${item.team}:${item.repository}") => item...
]): lower("${item.team}:${item.repository}") => item
}
}
"github_team_membership" = {
Expand All @@ -107,7 +107,7 @@ locals {
}
]
])
]): lower("${item.team}:${item.username}") => item...
]): lower("${item.team}:${item.username}") => item
}
}
"github_repository_file" = {
Expand All @@ -120,7 +120,7 @@ locals {
content = try(file("${path.module}/../files/${config.content}"), config.content)
})
]
]): lower("${item.repository}/${item.file}") => item...
]): lower("${item.repository}/${item.file}") => item
}
}
"github_issue_label" = {
Expand All @@ -132,7 +132,7 @@ locals {
label = label
})
]
]): lower("${item.repository}:${item.label}") => item...
]): lower("${item.repository}:${item.label}") => item
}
}
}
Expand Down

0 comments on commit c1192e0

Please sign in to comment.