fix: merge cleanup policies#24
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR simplifies the merge logic for cleanup policies in the Artifact Registry module by consolidating a multi-line merge operation into a single line, and adds a new output to expose the final repository configurations after merging with defaults.
- Simplified cleanup policies merge logic by removing unnecessary
tomap({})call - Added new output
repositories_configurationsto expose final repository configurations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| main.tf | Consolidated cleanup policies merge logic into single line |
| outputs.tf | Added output for final repository configurations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
47b6aa0 to
eb8922b
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Type
Bug fix, Enhancement
Description
Simplified cleanup policies merge logic by removing
tomap()wrapperAdded output for final repository configurations after defaults merge
Diagram Walkthrough
File Walkthrough
main.tf
Simplify cleanup policies merge logicmain.tf
tomap({})conversion
tomap({})to{}for cleaner syntaxoutputs.tf
Add repositories final configuration outputoutputs.tf
repositories_configurationsexposing final repositoryconfigurations
debugging/validation