mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
* fix(opensearch): scope domains to the request's region Domain records were keyed by the bare name, so a domain created in one region could be described, updated and deleted from another, and the same name conflicted across regions. Key the store by region and name, resolve every operation inside the region the request is signed for, and migrate pre-scoping records onto the scoped key taking the region from their ARN. Region-scope the legacy host-path data directory per account and region, keeping the bare directory for records that predate the region marker while it still exists. Closes #6081 Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> * fix(opensearch): reject a tag ARN naming another account as not found findByArn resolved the account named in the ARN, where every fixed lookup only reached the caller's account through the account-aware storage backend, so a caller could read and change another account's domain tags under the default settings. An ARN naming a foreign account now answers ResourceNotFoundException the way Lambda layers, EventBridge and Redshift answer theirs, and the RegionScoping suite pins it for the three tag operations. Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> --------- Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>