Skip to content

Releases: integrations/terraform-provider-github

v6.7.5

01 Nov 02:15

Choose a tag to compare

[fix]: v6.7.4 causes Internal validation error during TF Init #2855

Full Changelog: v6.7.4...v6.7.5

v6.7.4

31 Oct 21:59

Choose a tag to compare

v6.7.4

⚠️ This release is deprecated, please use v6.7.5 instead

This patch appropriately handles the cases when a Terraform resource has an Update function defined (which was recently added), the Terraform SDK requires that any field that can change must either have ForceNew: true (meaning changes require resource recreation) or for that field to be a computed-only field.

The destroy_on_drift field is a provider config setting that controls how drift detection works - it's not a field that maps to the GitHub API. When implementations try to change this field Terraform will execute the plan properly but fail on the apply because the Update function didn't know how to handle the destroy_on_drift change.

Lastly reads now handle setting encrypted_value and plaintext_value to nil to trigger an update when the "stored" update dates do not match.

Full Changelog: v6.7.3...v6.7.4

v6.7.3

29 Oct 18:21

Choose a tag to compare

v6.7.3

⚠️ This release is deprecated, please use v6.7.5 instead

This patch addresses the issue where the Update function was missed during the cherry pick for github_actions_secret resource.
Tests were also added to avoid regressions in the future.

Full Changelog: v6.7.2...v6.7.3

v6.7.2

29 Oct 14:21

Choose a tag to compare

v6.7.2

⚠️ This release is deprecated, please use v6.7.5 instead

Note: This patch contains the addition of the destroy_on_drift property to github_actions_secret resource because the exact same issue was present there as well.

Bug Fixes

Fixed drift detection bug that caused "Provider produced inconsistent result" errors in github_actions_organization_secret and github_actions_secret resources. The bug occurred when secrets were modified externally - the timestamp wasn't being updated after drift detection, causing infinite loops of false positive drift detection. | #2832

Features

Added destroy_on_drift property to github_actions_secret resource (repository-level secrets), and matches the functionality already available in github_actions_organization_secret. Also includes proper schema migration from v0 to v1 and ensures the property defaults to true for backward compatibility. | #2832

Full Changelog: v6.7.1...v6.7.2

v6.7.1

27 Oct 18:29

Choose a tag to compare

v6.7.1

⚠️ This release is deprecated, please use v6.7.5 instead

Bug Fixes

  • github_actions_organization_secret: Add state migration for destroy_on_drift field to fix regression from v6.7.0 (#2820)

This patch release fixes a regression introduced in v6.7.0 where existing github_actions_organization_secret resources would show invalid state for the new destroy_on_drift field.

The fix adds a schema migration that automatically sets destroy_on_drift=true for existing resources that don't have this field, preventing the need for manual state fixes.

Fixes: #2804

Full Changelog: v6.7.0...v6.7.1

v6.7.0

22 Oct 19:52
efd6d02

Choose a tag to compare

What's Changed

🚀 New Features

  • feat: Added organization role support by @stevehipwell in #2487
  • feat: Add file path protection to rulesets by @grahamhar in #2415
  • feat: Support team organization role assignment by @felixlut in #2322
  • feat: Add support for 'exempt' github_repository_ruleset bypass_mode by @joshhunt in #2764
  • feat: Add github_actions_organization_secret_repository resource by @ylascombe in #2760
  • feat: 🏳️ Custom properties resource & data by @alileza in #2107
  • feat: Add support for DeployKey actor type in repository and organization rulesets by @tiulpin in #2748

🐛 Bugfixes

🛠️ Maintenance

  • deps: Ensures that all dependencies are up to date based on go.mod by @nickfloyd in #2788
  • build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #2783
  • build(deps): bump github.com/ulikunitz/xz from 0.5.8 to 0.5.14 by @dependabot[bot] in #2791
  • build(deps): bump github.com/hashicorp/go-getter from 1.5.3 to 1.7.9 by @dependabot[bot] in #2790
  • build(deps): bump github.com/go-viper/mapstructure/v2 from 2.0.0 to 2.4.0 by @dependabot[bot] in #2789
  • build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4 by @dependabot[bot] in #2793
  • maint: Updates makefile to handle missing the LC_UUID command and dydl errors when running make by @nickfloyd in #2774
  • maint: Adds tests for PR-2502 by @nickfloyd in #2799
  • maint: Adds coverage for bypass_modes in rulesets by @oikarinen in #2802
  • maint: Change support message now that we don't do the Monday/Friday thing by @kfcampbell in #2615
  • maint: Note that GitHub Support doesn't provide support for this integration by @davidstaheli in #2665
  • maint: Deprecated classic project resources by @stevehipwell in #2506

📝 Documentation

New Contributors

Full Changelog: v6.6.0...v6.7.0

v6.6.0

28 Feb 00:00
d63ad78

Choose a tag to compare

What's Changed

  • feat: add support for merge queues in repository rulesets by @MXfive in #2380
  • Add support for GitHub Enterprise Cloud Data residency by @EricDales in #2547
  • fix: graceful handling of 404 in github_actions_repository_oidc_subject_claim_customization_template by @acouvreur in #2483

New Contributors

Full Changelog: v6.5.0...v6.6.0

v6.5.0

17 Jan 01:19
1ca7092

Choose a tag to compare

What's Changed

🛠️ Maintenance

  • build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot in #2472
  • build(deps): bump the github-actions group across 1 directory with 2 updates by @dependabot in #2517
  • build(deps): bump golang.org/x/crypto from 0.26.0 to 0.31.0 by @dependabot in #2512
  • build(deps): bump github/codeql-action from 3.27.9 to 3.28.0 in the github-actions group by @dependabot in #2523

🏷 Other Changes

  • docs: describe how actor_id / integration_id can be found by @mikutas in #2474
  • [Doc] Fix documentation mistake for github_repository_dependabot_security_update resource to use GitHub repository name by @ViacheslavKudinov in #2439
  • DOCS: Code section for github_organization_ruleset is not formatted as hcl by @rowieg in #2522
  • Update organization security manager resource to use operations that are not deprecated by @just-joshing in #2533
  • Adds do_not_enforce_on_create option for github_repository_ruleset by @lfventura in #2525
  • feat: Updated repo collaborators to support ignoring teams by @stevehipwell in #2481
  • feat: support repository level custom_property resource and custom_properties datasource by @felixlut in #2316

New Contributors

Full Changelog: v6.4.0...v6.5.0

v6.4.0

21 Nov 00:35
84c6bd2

Choose a tag to compare

What's Changed

🚀 New Features

🛠️ Maintenance

  • build(deps): bump the github-actions group with 2 updates by @dependabot in #2424
  • build(deps): bump github/codeql-action from 3.26.12 to 3.26.13 in the github-actions group by @dependabot in #2432
  • build(deps): bump the github-actions group with 4 updates by @dependabot in #2441

🏷 Other Changes

New Contributors

Full Changelog: v6.3.1...v6.4.0

v6.3.1

10 Oct 16:54
5809617

Choose a tag to compare

What's Changed

🏷 Bug fixes

  • fix: Ignore changes to attributes by @grahamhar in #2402
  • fix(resource_github_actions_environment_secret): handle 404 on repo read by @scootafew in #2323
  • Fix github_external_groups doc title by @svg153 in #2416

🛠️ Maintenance

  • build(deps): bump github/codeql-action from 3.26.5 to 3.26.7 in the github-actions group across 1 directory by @dependabot in #2388
  • build(deps): bump github/codeql-action from 3.26.7 to 3.26.8 in the github-actions group by @dependabot in #2398
  • chore: update go-github to V65 by @grahamhar in #2359
  • build(deps): bump the github-actions group with 2 updates by @dependabot in #2406
  • build(deps): bump github/codeql-action from 3.26.9 to 3.26.11 in the github-actions group by @dependabot in #2413

📝 Documentation

  • docs: make it clear in the docs that write_delay_ms affects graphql calls by @felixlut in #2386

New Contributors

Full Changelog: v6.3.0...v6.4.0