secretsmanager_secret: improve idempotency tests - #2364
Conversation
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 56s (non-voting) |
|
Build failed. ✔️ ansible-galaxy-importer SUCCESS in 4m 42s (non-voting) |
Added comprehensive integration tests following the standard 4-step test pattern: 1. Set Value (Check mode) - changed=True, object NOT updated 2. Set Value - changed=True, object updated 3. Set same Value (Check mode) - changed=False, object NOT updated 4. Set same Value - changed=False, object NOT updated Changes: - Added initial secret creation check mode test - Added description parameter idempotency tests (check mode and normal) - Added resource policy check mode and idempotency tests - Added comprehensive binary secret_type tests (creation, update, idempotency) - Added overwrite parameter idempotency tests - Added removal operation check mode and idempotency tests for both recovery windows - Improved immediate removal idempotency test - Added cleanup for binary secret in always block These changes significantly improve test coverage for previously untested or partially tested parameters, bringing them in line with the documented testing standards. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 32s (non-voting) |
SUMMARY
Added comprehensive integration tests following the standard 4-step test pattern:
Changes:
These changes significantly improve test coverage for previously untested or partially tested parameters, bringing them in line with the documented testing standards.
ISSUE TYPE
COMPONENT NAME
secretsmanager_secret
ADDITIONAL INFORMATION
🤖 Generated with Claude Code