You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Error: Provider produced inconsistent result after apply
When applying changes to github_actions_organization_secret.organization_secret["GH_PACKAGES_READ"], provider
"provider[\"registry.terraform.io/integrations/github\"]" produced an unexpected new value: Root resource was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
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
Create at least 31 github repository
Create github_actions_organization_secret with visibility = "selected" and selected_repository_ids from 1.
Run terraform apply
Run terraform apply
The text was updated successfully, but these errors were encountered:
* 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://github.com/google/go-github/releases/tag/v36.0.0
[2]: google/go-github#1883
* Fetch full list of selected repos in github_actions_organization_secret
Fixintegrations#793
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: