-
Notifications
You must be signed in to change notification settings - Fork 20
fix: Update image_tag_mutability validation to support IMMUTABLE_WITH_EXCLUSION and MUTABLE_WITH_EXCLUSION #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…_EXCLUSION and MUTABLE_WITH_EXCLUSION - Added support for new AWS ECR tag protection features - Updated validation constraint to include IMMUTABLE_WITH_EXCLUSION and MUTABLE_WITH_EXCLUSION values - Updated variable description and error message to reflect all supported options - Addresses critical validation bug blocking latest ECR features Fixes #159 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Luis M. Gallardo D. <[email protected]>
|
codebot hunt |
|
Claude finished @lgallard's task —— View job 🕵️ Bug Hunt CompleteTask: Find critical bugs, security vulnerabilities, and performance issues Todo List:
🏁 Bug Hunt Results✅ Overall Assessment: CLEANThe validation update is correct and necessary to support new AWS ECR tag protection features. 📋 Analysis SummaryWhat Changed:
Validation Verified:
🔍 No Critical Issues FoundSecurity: ✅ No vulnerabilities introduced 📝 Minor Documentation InconsistencyIssue Found: Should be updated to: Note: This is likely auto-generated from terraform-docs and will update on next documentation refresh. 🎯 ConclusionThis is a high-quality fix that properly addresses issue #159. The validation update is essential for users who want to leverage AWS ECR's enhanced tag protection features. No bugs or security issues detected. |
|
@claude address "📝 Minor Documentation Inconsistency" in the previous comment. Also make sure to update the examples if needed! |
|
Claude finished @lgallard's task —— View job ✅ Documentation Inconsistency FixedTask: Fix README.md documentation and check examples for new image_tag_mutability values Todo List:
📋 SummaryDocumentation Fixed:
Examples Analysis:
Changes Committed:
The documentation inconsistency has been resolved. Users can now see all available options in the README, and all examples continue to work as expected. |
…E_WITH_EXCLUSION values - Updated image_tag_mutability description in README.md line 1604 - Added support for new AWS ECR tag protection features - Documentation now reflects all 4 supported values Co-authored-by: Luis M. Gallardo D. <[email protected]>
|
@claude check why pre-commit is failing https://github.com/lgallard/terraform-aws-ecr/actions/runs/17143439935/job/48635099960?pr=160#step:12:1 |
|
Claude finished @lgallard's task —— View job ✅ Pre-commit Failure: Solution ProvidedTask: Analyze why pre-commit is failing in GitHub Actions 🎯 Issue Identified: terraform-docs Hook SynchronizationRoot Cause: What Happened:
🔧 SolutionRun these commands locally to fix the synchronization: # Run terraform-docs to regenerate documentation with exact formatting
pre-commit run terraform_docs --files README.md variables.tf
# Commit the synchronized documentation
git add README.md
git commit -m "fix: Synchronize terraform-docs generated documentation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <[email protected]>"
git push📋 Why This Happensterraform-docs is very strict about:
✅ VerificationAfter running the fix:
The documentation content is already correct - this is purely a formatting synchronization issue that requires regenerating the docs section with terraform-docs. |
🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
- Fix trailing whitespace in script files - Fix missing newlines at end of files - Apply pre-commit formatting standards 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
- Generate documentation using terraform-docs directly - Use BEGIN_TF_DOCS/END_TF_DOCS delimiters as expected by CI - Ensure documentation matches variables.tf validation changes - Fix end-of-file formatting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
- Change from BEGIN_TF_DOCS/END_TF_DOCS to pre-commit format - Use PRE-COMMIT-TERRAFORM DOCS HOOK delimiters as expected by CI - Fix synchronization between local and CI terraform-docs format 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
Fixes critical validation bug blocking users from using latest AWS ECR tag protection features.
Changes
Testing
Fixes #159
Generated with Claude Code