mirror of
https://github.com/floci-io/floci.git
synced 2026-12-06 03:28:18 -05:00
The request-resources table gives AWS Config's rules, aggregators, conformance packs and other resources, EFS's file systems and access points, and Route 53 Resolver's endpoints, rules and firewall domain lists the aws:ResourceTag keys, which the Service Reference lists for them, but none of the three services answered storedTags, so a condition on a resource tag never matched for them: a caller allowed an action only on resources tagged team=blue was refused it on the blue one as on any other. Each service's stored-ARN class now reads the tags it keeps on the resource the ARN names, under the lock that resource's tag changes hold, so a concurrent change is seen whole or not at all: Config through ListTagsForResource's own locked read; EFS from the caller's file system or access point the ARN names, matched on its stored ARN and copied under its resource lock (EfsService.storedTags); Route 53 Resolver from its tag store for the caller's endpoint, rule or firewall domain list, under the monitor its tag changes hold. An ARN of another account reads none, as these services keep no resource of it for the caller.