Repository navigation
Improve Atmos Auth - #1602
Merged
Merged
Improve Atmos Auth#1602
Conversation
Contributor
|
Warning This PR exceeds the recommended limit of 1,000 lines.Large PRs are difficult to review and may be rejected due to their size. Please verify that this PR does not address multiple issues. |
Contributor
There was a problem hiding this comment.
golangci-lint found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Andriy Knysh (aknysh)
marked this pull request as ready for review
October 8, 2025 05:40
Andriy Knysh (aknysh)
requested a review
from Erik Osterman (Cloud Posse) (osterman)
October 8, 2025 05:40
Member
Author
|
CodeRabbit (@coderabbitai) full review |
Contributor
✅ Actions performedFull review triggered. |
This was referenced Nov 8, 2025
This was referenced Nov 18, 2025
This was referenced Dec 10, 2025
This was referenced Dec 18, 2025
This was referenced Jan 4, 2026
This was referenced Jan 29, 2026
This was referenced May 22, 2026
This was referenced Jun 3, 2026
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.
what
authsection following the same hierarchy as vars/env/settings:why
ProcessStackConfigfunction contained nearly identical logic repeated 3 times for Terraform, Helmfile, and Packer componentsauthsection needed proper deep-merge support to enable hierarchical authentication configuration across the stackchanges
Auth Section Deep-Merge Implementation
Merge Hierarchy
The
authsection now merges through the complete hierarchy (later values override earlier ones):auth:at stack root)terraform.auth:,helmfile.auth:, orpacker.auth:)component:inheritance)auth:)overrides.auth:)Test Coverage
Comprehensive test coverage with:
TestProcessComponentTestProcessTerraformBackendTestProcessTerraformRemoteStateBackendTestMergeComponentConfigurationsTestProcessAuthConfigtesting
Test Results
✅ All new test cases pass
✅ All auth merging tests pass
Test Quality
Auth Section Usage Examples
Result: The final merged
authfor thevpccomponent will be:Result: The final merged
authfor thevpccomponent will be:notes
✅ Auth deep-merge implementation complete
Current status:
Summary by CodeRabbit
New Features
Improvements
Chores
Tests