This module will created a Github repository and team adding the members provided.
Name | Version |
---|---|
github | >= 2.6.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
product_name | Name of the product, this will be used in the team and respoistory name | string |
n/a | yes |
user_names | List of users to add to this repository | list(map(any)) |
n/a | yes |
No output.
For more information view:
https://www.terraform.io/docs/providers/github/index.html
provider "github" {
token = " "
organization = " "
}
module "github" {
source = "[email protected]/LexisNexis-Terraform/terraform-github-repo?ref=v1.0.0"
product_name = "Example Application API"
user_names = [
{"ad_username" = "[email protected]", "github_username" = "gitexample"},
{"ad_username" = "[email protected]", "github_username" = "gitexample2"},
]
}