feat: Support external repository references for account customizations - #606
Open
chakeega wants to merge 1 commit into
Open
feat: Support external repository references for account customizations#606chakeega wants to merge 1 commit into
chakeega wants to merge 1 commit into
Conversation
Allow account_customizations_name to reference external Git repositories using repo::, https://, or git@ prefixes with optional @ref for branch/tag pinning. Existing folder-based customizations unchanged.
chakeega
requested review from
aspiratr-aws,
dashbat,
ouyanguf,
wiltangg and
yashl
as code owners
February 2, 2026 00:16
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
This PR enables the
account_customizations_namefield to reference external Git repositories, allowing independent versioning and release cycles per account customization without requiring all customizations to live in theaft-account-customizationsrepository.Changes
Buildspec Updates (
aft-account-customizations-terraform.yml)is_repo_reference()to detect external repository referencesparse_repo_reference()with support for three formats:repo::owner/repo- simple prefix formathttps://github.com/owner/repo- HTTPS URLsgit@github.com:owner/repo.git- SSH URLs@refsuffix support for pinning to branches/tagsclone_external_repo()using existing VCS provider credentialsvalidate_customization_structure()to verify cloned repos have requiredterraform/andapi_helpers/directoriesDocumentation
Usage Examples
Backward Compatibility
Existing folder-based customizations continue to work unchanged. Values without repo::, https://, or git@ prefixes are treated as folder names.