feat: Add github_organization_network_configuration resource#2895
Closed
austenstone wants to merge 13 commits intointegrations:mainfrom
Closed
feat: Add github_organization_network_configuration resource#2895austenstone wants to merge 13 commits intointegrations:mainfrom
austenstone wants to merge 13 commits intointegrations:mainfrom
Conversation
5 tasks
Collaborator
|
@austenstone We've now upgraded |
1 task
0b2dbdc to
eebea06
Compare
deiga
suggested changes
Mar 15, 2026
github/resource_github_organization_network_configuration_test.go
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
…etwork configurations
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
|
Healthy from my side ✅ I re-tested the full flow and everything is behaving as expected: create/update/destroy all work cleanly, CI is green, and the acceptance coverage passes. I also validated the real-world integration path with org network configurations, runner group association, and hosted runner private networking. |
Contributor
Author
|
I opened a separate pull request for the Enterprise level. We can either stack these PRS or just merge the Enterprise one. |
Contributor
Author
|
closing in favor of #3274 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a new
github_organization_network_configurationresource to manage GitHub organization network configurations for hosted compute services.It also adds the missing linkage for GitHub-hosted private networking on
github_actions_runner_groupvianetwork_configuration_id, so hosted runners can consume private networking through their assigned runner group.What this PR adds
github_organization_network_configurationgithub_actions_runner_group.network_configuration_idgithub_organization_network_configurationgithub_organization_network_configurationgithub_actions_runner_groupgithub_actions_hosted_runnerSchema
github_organization_network_configurationname(Required) - Network configuration name (1-100 chars, alphanumeric plus._-)compute_service(Optional) - Hosted compute service:noneoractions(default:none)network_settings_ids(Required) - Exactly one network settings IDcreated_on(Computed) - Creation timestampid(Computed) - Resource IDgithub_actions_runner_groupnetwork_configuration_id(Optional) - The ID of the hosted compute network configuration associated with the runner group for GitHub-hosted private networkingNotes
checkOrganization().github_actions_hosted_runner.network_settings_idsmust use the GitHub-facing network settings identifier (GitHubId), not the Azure ARM resource ID.Validation
go test ./github -run TestAccGithubOrganizationNetworkConfiguration -count=1go test ./github -run TestAccGithubActionsRunnerGroup -count=1go test ./github -run '^$' -count=1