Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
resourceGithubDependabotOrganizationSecretCreateOrUpdate
(#1759)
Fixes a regression used when trying to create/update a dependabot organization secret. List is an `int` so cannot be cast to a different type. We therefore double convert it. There was a regression introduced by version 5.27. This happened as the go-github client moved over to using int64 as ids in v53.0.0 ```hcl terraform { required_providers { github = { source = "integrations/github" version = "5.27.0" } } } provider "github" { owner = var.owner } variable "owner" { type = string } resource "github_repository" "example" { name = "example" description = "My awesome codebase" visibility = "public" } resource "github_dependabot_organization_secret" "example" { secret_name = "example" visibility = "selected" plaintext_value = "anything" selected_repository_ids = [ github_repository.example.repo_id, ] } ```
- Loading branch information