-
Notifications
You must be signed in to change notification settings - Fork 740
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
github_actions_organization_secret problem to manage more than 30 selected_repository_ids #793
Labels
Comments
Looked into this. Blocked on go-github fixing #1882 and then it can be fixed in this provider. |
I apologize for the omission. Code reviews and approval welcome at: google/go-github#1883 in order to move this along. |
xun-guo-anzx
added a commit
to xun-guo-anzx/terraform-provider-github
that referenced
this issue
Jun 30, 2021
kfcampbell
pushed a commit
to kfcampbell/terraform-provider-github
that referenced
this issue
Jul 26, 2022
* Update go-github version to 36.0.0 * Update go-github to 36.0.0 go-github released the Go client library to [36.0.0][1] 3 days ago. API changes includes: * Add ListOptions required by ListSelectedReposForOrgSecret method. As described in change[2] * Convert repoID used in CreateOrUpdateEnvSecret, GetEnvSecret and DeleteEnvSecret to int from int64. Not sure why it doesn't pop up an error before but seems like this is not a recent change in the new version [1]: https:/google/go-github/releases/tag/v36.0.0 [2]: google/go-github#1883 * Fetch full list of selected repos in github_actions_organization_secret Fix integrations#793
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terraform Version
Terraform v0.15.3 on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The second run of the
terraform apply
command should return "Infrastructure is up to date".Actual Behavior
Important moment - our local.repo_ci_id contains 38 elements (I've checked with 30 elements - the issue doesn't appear).
There are no errors and everything is created correctly on the github after initial
terraform apply
.But if I change nothing and run
terraform apply
again - terraform says:And, if I answer "yes" - I'll get this error:
After that everything is still correct on the github, but in the terraform.state there are only 30 id in
github_actions_organization_secret.selected_repository_ids
.And, if I run
terraform apply
again - it will "create" the secret without error. The circle is closed.Steps to Reproduce
terraform apply
terraform apply
The text was updated successfully, but these errors were encountered: