refactor: move environments from vendored module to root module#4
Merged
ljubon merged 7 commits intotest-gcss-1135from Mar 19, 2026
Merged
refactor: move environments from vendored module to root module#4ljubon merged 7 commits intotest-gcss-1135from
ljubon merged 7 commits intotest-gcss-1135from
Conversation
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.
Summary
github_repository_environmentandgithub_repository_environment_deployment_policyresources from the vendored child module (modules/terraform-github-repository/) — vendored modules must not be modifiedmain.tf, keyed by"repo:env"to avoid naming collisions across reposall_env_branch_policies_map,all_env_tag_policies_map) for maintainabilityCloses reviewer comment: G-Research#28 (comment)
Test plan
terraform fmtproduces no changesterraform validatepasses with "The configuration is valid."github_repository_environment.environment["repo:env"], notmodule.repository[*].github_repository_environment