mirror of
https://github.com/floci-io/floci.git
synced 2026-12-06 03:28:18 -05:00
TagResource, UntagResource and ListTagsForResource were plain map operations keyed by ARN. Tagging a deleted conformance pack's ARN returned 200 and re-created an orphan tag entry, and listing it returned an empty list. The Config model lists ResourceNotFoundException for all three operations. For the kinds Floci stores (config rules, conformance packs, aggregation authorizations) the ARN must now match an existing resource in the caller's account and request Region, so a deleted resource, or an ARN from another account, Region or partition, is not found. The check and the write run under the lock the resource's delete takes, so a delete cannot land between them and leave tags for a resource that is gone. ARNs of kinds Floci does not model are still accepted unchecked.