Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

github iam for terraform

License

NotificationsYou must be signed in to change notification settings

hadenlabs/terraform-github-iam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Latest ReleaseLintCITestpre-commitConventional CommitsKeepAChangelog

terraform-github-iam

Terraform module to provision an github iam.

Requirements

This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:

Usage

module"main" {source="hadenlabs/iam/github"version="0.2.1"providers={      github= github    }team={"name"="name-team""description ="team description""privacy" ="closed"    }    maintainers = ["user-github"]    members     = ["user-github"]  }

Full working examples can be found inexamples folder.

Examples

common

module"main" {source="hadenlabs/iam/github"version="0.2.1"providers={        github= github      }team={"name"="name-team""description ="team description""privacy" ="closed"      }      maintainers = ["user-github"]      members     = ["user-github"]  }

implement members, teams and permissions

module"main" {source="hadenlabs/iam/github"version="0.2.1"providers={        github= github      }team={"name"="name-team""description ="team description""privacy" ="closed"      }      permissions = [        {          repository ="name repository",          permission ="pull",        },      ]      maintainers = ["user-github"]      members     = ["user-github"]  }

Requirements

NameVersion
terraform>= 0.13
github>=4.5.0

Providers

NameVersion
github>=4.5.0

Modules

No modules.

Resources

NameType
github_team.thisresource
github_team_membership.maintainersresource
github_team_membership.membersresource
github_team_repository.thisresource

Inputs

NameDescriptionTypeDefaultRequired
maintainersThis members role maintainerslist(string)[]no
membersThis members role memberlist(string)[]no
permissionsAdd permissions of repository for team
list(object({
repository = string
permission = string
}))
[]no
teamThis team to create
object({
name = string
description = string
privacy = string
})
n/ayes

Outputs

NameDescription
maintainersinstance of maintainers of team github
membersinstance of members of team github
teaminstance of team
team_membersinstance of members for team github

Help

Got a question?

File a GitHubissue.

Contributing

Bug Reports & Feature Requests

Please use theissue tracker to report any bugs or file feature requests.

Development

In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub

  2. Clone the project to your own machine

  3. Commit changes to your own branch

  4. Push your work back up to your fork

  5. Submit aPull Request so that we can review your changes

NOTE: Be sure to rebase the latest changes from "upstream" before making a pull request!

Module Versioning

This Module follows the principles ofSemantic Versioning (SemVer).

Using the given version number ofMAJOR.MINOR.PATCH, we apply the following constructs:

  1. Use theMAJOR version for incompatible changes.
  2. Use theMINOR version when adding functionality in a backwards compatible manner.
  3. Use thePATCH version when introducing backwards compatible bug fixes.

Backwards compatibility in0.0.z and0.y.z version

  • In the context of initial development, backwards compatibility in versions0.0.z isnot guaranteed whenz is increased. (Initial development)
  • In the context of pre-release, backwards compatibility in versions0.y.z isnot guaranteed wheny is increased. (Pre-release)

Copyright

Copyright © 2018-2021Hadenlabs

Trademarks

All other trademarks referenced herein are the property of their respective owners.

License

The code and styles are licensed under the LGPL-3.0 licenseSee project license..

Don't forget to 🌟 Star 🌟 the repo if you like terraform-github-iam

Your feedback is appreciated


[8]ページ先頭

©2009-2025 Movatter.jp