mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Real AWS treats same-value retention updates as no-ops, which is required for Terraform idempotency: terraform-provider-aws calls IncreaseStreamRetentionPeriod unconditionally on stream creation with the configured retention_period, so every default-retention (24h) TF stream would fail on first apply if the emulator rejected same-value. Change the strict <= / >= checks to < / > and return early when the requested value already matches. Adds integration coverage for both no-op paths. Fixes #342.