Open GMZwinge opened 9 months ago
Looks like in v6.0.0-rc1 the problem were solved
👋 Hey Friends, this issue has been automatically marked as stale
because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned
label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Expected Behavior
After a
terraform import
of agithub_branch_protection
resource, aterraform plan
should not show update of attribute likeforce_push_bypassers
,push_restrictions
anddismiss_stale_reviews
,dismissal_restrictions
,pull_request_bypassers
,require_code_owner_reviews
andrestrict_dismissals
inrequired_pull_request_reviews
.Actual Behavior
After a
terraform import
of agithub_branch_protection
resource, aterraform plan
updates empty attribute arraysforce_push_bypassers
,push_restrictions
anddismissal_restrictions
,pull_request_bypassers
inrequired_pull_request_reviews
from[]
tonull
and boolean attributedismiss_stale_reviews
,require_code_owner_reviews
andrestrict_dismissals
fromfalse
tonull
. Eg:Terraform Version
Terraform v1.7.1 on Windows + Provider registry.terraform.io/integrations/github v6.0.0-beta
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Code of Conduct