-
Notifications
You must be signed in to change notification settings - Fork 632
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
fix(#1578): allow github
access groups to be created without a list of teams
#1589
fix(#1578): allow github
access groups to be created without a list of teams
#1589
Conversation
Oops! It looks like no changelog entry is attached to this PR. Please include a release note as described in https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/docs/changelog-process.md. Example:
If you do not require a release note to be included, please add the |
9fdfc61
to
a48a29c
Compare
github
access groups to be created without a list of teams
github
access groups to be created without a list of teams
a48a29c
to
e3c1211
Compare
github
access groups to be created without a list of teams
github
access groups to be created without a list of teams
@jacobbednarz I took a stab at resolving #1578, mind you this is only my second time updating a terraform provider so go easy on me 🙏 |
acceptance tests look good here
|
if you add a CHANGELOG entry (notes above from the automation), we can get this merged. |
…t a list of teams Previously, the contents of the `github` block were not serialized to input JSON being sent to the Cloudflare API unless there was at least one team specified, even though the teams field is optional. This commit changes the behavior of the `github` block to create `include`, `require` and `exclude` blocks with github organizations without specifying a list of teams. Testing was done on my personal Cloudflare Zero Trust account. Running `terraform apply` twice still results in "detected" changes even though they have been applied. I think this is related to issue cloudflare#1553.
e3c1211
to
3014f0a
Compare
Thanks @jacobbednarz, added the changelog! |
This functionality has been released in v3.14.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Previously, the contents of the
github
block were not serialized to input JSON being sent to the Cloudflare API unless there was at least one team specified, even though the teams field is optional.This commit changes the behavior of the
github
block to createinclude
,require
andexclude
blocks with github organizations without specifying a list of teams.Testing was done on my personal Cloudflare Zero Trust account. Running
terraform apply
twice still results in "detected" changes even though they have been applied. I think this is related to issue #1553.Closes #1578