mirror of
https://github.com/floci-io/floci.git
synced 2026-12-05 19:18:01 -05:00
Since #8529 the generated request resources give Glue's types aws:ResourceTag/ keys, but no StoredResourceArns answered for the glue namespace, so a condition on a job's, a connection's or a registry's tags saw none. GlueStoredResourceArns now answers storedTags from GlueService.storedTags: a schema registry's or a schema's tags from the schema registry, any other resource's from the tags applied to its ARN, which Glue drops when it deletes the resource, each read in the account and Region the ARN names, a pre-multi-account entry of the default account in place, through AccountAwareStorageBackend.readInAccount. Only string values are taken, as TagResource keeps the request's map as given. Deleting a table or a user-defined function, directly or with its database, now drops the tags applied to its ARN as Glue's other deletes do, so one recreated under the same name starts with none. Tagging a resource through the shared tag store now puts a new tag map in place of the old one, so the lookup always copies one whole set.