Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save soerenmartius/58aee7d7b475f690c97f990896ea726a to your computer and use it in GitHub Desktop.
Save soerenmartius/58aee7d7b475f690c97f990896ea726a to your computer and use it in GitHub Desktop.
GitHub as Code configuration example
# This file is part of Terramate Configuration.
# Terramate is an orchestrator and code generator for Terraform.
# Please see https://github.com/mineiros-io/terramate for more information.
#
# To generate/update Terraform code within the stacks run `terramate generate` from the repositories root directory.
### USER MAPS ################################################################
#
# As GitHub usernames are hard to maintain we generate mappings here to real names.
# This will help maintain large lists of users and improve on-/off-boardings.
# The keys of the maps are readable versions while the values are the actual github usernames.
#
# The following maps are supported:
#
# - organization_owners - A map of administrators of the github organization
# - organization_members - A map of members of the github organization
# - collaborators - A map of users that can be set as collaborators within projects
# - blocked_users - A map of users that should be blocked (please see github documentation for details)
#
# Terramate Configuration in other places will take care of creating subsets of those maps
# and provide them to the stacks when they are actually used.
#
globals {
# A map of members of the github organization
#
# It is recommneded to map users to github-accounts in the following ways for internal and external employees
# and machine users used in CI/CD setups like github actions or other CI systems.
#
# "{real.name}" = "{github-account}"
# "ext/{company}/{real.name}" = "{github-account}"
# "machine/{user|repository|topic}" = "{github-account}"
#
organization_members = {
"marius.tolzmann" = "mariux"
"soeren.martius" = "soerenmartius"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment