mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
The generated request resources give ECS's cluster, task-definition, service, capacity-provider, task and container-instance types the aws:ResourceTag/ and ecs:ResourceTag/ keys, but EcsService answered no tags, so a condition on an ECS resource's tags saw none. Its storedTags now reads the resource the ARN names in the request's account, where every ECS handler reads: a stored one in place under the key its ARN gives, a record saved before storage was account-aware or before a task definition's key named its Region included, matched on the whole ARN, and a task or a container instance from memory. TagResource and UntagResource changed the resource's map in place without a lock; they now give it a new map under the service's lock, and the tags fields are volatile.