mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Follow-ups of the stored-tags batches (#9794, #9799), from their reviews. Config's TagResource keeps tags for any config ARN of a kind it holds no resource of (an aggregator, a stored query), and storedTags read them, so a caller allowed config:TagResource could store tags on such an ARN that then satisfied an aws:ResourceTag condition. AwsConfigService.heldTags answers only for the kinds Config holds and checks before tagging (a rule, a conformance pack, an aggregation authorization, the configuration recorder), and finds the resource without creating the per-Region maps or the lock its tag changes use, which the locked read did for the Region of any ARN a request named, denied ones included; it takes that lock only once the resource is found. EFS's storedTags likewise finds the file system or access point before taking its lock. MemoryDbServiceTest checks that every map of tags MemoryDB answers is a copy, and the MemoryDB and Route 53 Resolver integration tests' cleanups name the port, as they run after the test method once Quarkus has reset RestAssured's (Route53ResolverRequests gains a port overload).