A Terraform module to manage GitHub Repositories. https://github.com/
APACHE-2.0 License
Bot releases are hidden (Show)
branch_protections
please use branch_protections_v3
instead.var.defaults
as deprecated. This variable was introduced and used before Terraform Module for_each
was available.Published by mariux almost 2 years ago
5.x
Published by soerenmartius over 2 years ago
var.app_installations
should be a of type set(string)
instead of set(number)
Published by soerenmartius over 2 years ago
github_app_installation_repository
(special thanks to @anthr76 for requesting this feature)Published by soerenmartius over 2 years ago
delete_branch_on_merge
in docsPublished by soerenmartius over 2 years ago
github_branches
deploy_keys
in READMEPublished by mariux over 2 years ago
require_conversation_resolution
for Branch Protection (thanks to @0x46616c6b)encrypted_secrets
~> 4.20
fixing an issue that was just supporting v4.19.x
Published by mariux over 2 years ago
Published by soerenmartius over 2 years ago
Bumped the minimum supported version of the GitHub Terraform Provider to v4.19.2
since it contains a critical bugfix to support required_approving_review_count = 0
on branch protection rules. Also, allow_auto_merge
has been added in v4.17.0
.
allow_auto_merge
Published by soerenmartius almost 3 years ago
We dropped support for Terraform pre 1.0 and GitHub Terraform Provider pre 4.0.
In addition we changed to the integrations/github
official GitHub Terraform Provider.
This needs migration actions if you already used this module with the hashicorp/github
provider and want to upgrade.
To migrate from a previous version, please ensure that you are using the
integrations/github
official GitHub Terraform Provider.
terraform {
required_version = "~> 1.0"
required_providers {
github = {
source = "integrations/github"
version = "~> 4.0"
}
}
}
Once you've updated the provider, a manual state migration is required to
migrate existing resources to the new provider.
The following command will replace the provider in the state.
terraform state replace-provider registry.terraform.io/hashicorp/github registry.terraform.io/integrations/github
After you've migrated the state, please run
terraform init
to apply the changes to the resources.
integrations/github
hashicorp/github
webhooks
output as sensitive.dismiss_stale_reviews
in README to a default value of true
Published by soerenmartius about 3 years ago
vulnerability_alerts
per default to true
for public repositories andfalse
for private repositories if not explicitly set to avoid driftsterraform plan
.Published by soerenmartius over 3 years ago
v1
Published by soerenmartius over 3 years ago
Published by soerenmartius over 3 years ago
Published by soerenmartius over 3 years ago
Published by soerenmartius over 3 years ago
This is a BREAKING RELEASE.
Branch protection resources will be recreated and new features are added enforcing security by default.
Please review plans and report regressions and issues asap so we can improve documentation for upgrading.
terraform state mv
but this is not recommended as it is a manual process that can suffer from human-prone errors.archive_on_destroy
to false in repository configurations.module.<NAME>.github_repository.repository
:
archive_on_destroy = true
module.<NAME>.github_branch_protection.branch_protection[*]
module.<NAME>.github_branch_protection_v3.branch_protection[*]
module.<NAME>.github_team_repository.team_repository_by_slug[<SLUG>]
team_id = "<NUMBER>" -> "<SLUG>"
archive_on_destroy
repository flag defaulting to true
.vulnerability_alerts
repository flag.github_branch_protection_v3
instead of github_branch_protection
for performance and compatibility reasons. ATTENTION: This Change will trigger recreation of all branch protections when upgrading to v0.8.0.github_branch_default
to set default branch of repositories. ATTENTION: This Change will trigger creation of new resource when default_branch
argument is set.Published by mariux over 3 years ago
visibility
parameter. Defaults to private
and respects desired state as defined in deprecated private
parameter.private
parameter.2.9.0
.Published by mariux over 3 years ago
plaintext_secrets
argument (#58/#59 kudos to @mrodm)Published by mariux almost 4 years ago
Published by mariux almost 4 years ago