Skip to content

v3.1.0 severily slows down the github_branch_protection resource #565

@SanderKnape

Description

@SanderKnape

The github_branch_protection resource has become much slower with the release of version 3.1.0.

Before the refresh during a terraform plan the refresh of this resource would take less than a second. Now it takes somewhere between 2 to 5 seconds.

Terraform Version

Tested with Terraform version 0.12.29 and 0.13.4

Affected Resource(s)

Please list the resources as a list, for example:

  • github_branch_protection

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. Create a bunch of github_branch_protection resources
  2. Plan the creation of these resources with both the previous and current GitHub Provider
  3. See the difference in speed

References

Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions