-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set require_linear_history
in github_branch_protection
to True
#952
Comments
Just leaving a quick note here: we're experiencing the same issue with GHES 3.1, Terraform 1.0.7, and github-provider 4.17. It is happening for attributes Root cause is the GHES 3.1 not supporting setting these attributes via API. It is added in GHES 3.2. |
👋 Hey Friends, this issue has been automatically marked as |
👋 Hey Friends, this issue has been automatically marked as |
Terraform Version
Running Atlantis
Terraform v0.15.3
on linux_amd64
Affected Resource(s)
Please list the resources as a list, for example:
Expected Behavior
When using
require_linear_history = true
in agithub_branch_protection
block it should enable it in the Github APIActual Behavior
Terraform seems unable to set it to true as it keeps coming up in plans.
The follow plan appears every time it's executed:
Steps to Reproduce
terraform plan
in an unchanged staterequire_linear_history
every time.References
This is mentioned here as well, #887 (comment), but figured we should open a real issue.
The text was updated successfully, but these errors were encountered: