Skip to content

Flaconi/terraform-github-membership

Repository files navigation

terraform-github-membership

Terraform module to manage users in github organization

lint test Tag Terraform License

Providers

Name Version
github ~> 6.2, <=6.7.1

Requirements

Name Version
terraform >= 1.3
github ~> 6.2, <=6.7.1

Required Inputs

No required inputs.

Optional Inputs

The following input variables are optional (have default values):

Description: List of users with admin role

Type:

list(object({
    name   = string
    github = string
    teams  = optional(map(string), {})
  }))

Default: []

Description: List of users with member role

Type:

list(object({
    name   = string
    github = string
    teams  = optional(map(string), {})
  }))

Default: []

Description: A dictionary for team IDs to avoid additional calls to GitHub API

Type: map(string)

Default: {}

Outputs

Name Description
memberships A map of members and admins keyed by username.
teams A map of teams with members and corresponding roles.

License

MIT License

Copyright (c) 2021 Flaconi GmbH

About

This module include existing users into organisation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •