From 6dd99b7b311395b6932ee6dff06ca59b95d2a342 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 2 Feb 2022 21:20:24 +1100 Subject: [PATCH] Workaround for integrations/terraform-provider-github#1037 --- github.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/github.tf b/github.tf index 051f5b9..dcec75e 100644 --- a/github.tf +++ b/github.tf @@ -31,6 +31,13 @@ resource "github_repository" "repository" { vulnerability_alerts = true for_each = local.github_repositories + + lifecycle { + ignore_changes = [ + # Workaround for integrations/terraform-provider-github#1037. + branches, + ] + } } resource "github_repository_deploy_key" "deploy_key" {