linz / basemaps

NZ’s authoritative and open digital basemap service for LINZ and the public.
https://basemaps.linz.govt.nz
Other
94 stars 17 forks source link

fix: register file systems correctly when using duplicate roleArns BM-1055 #3367

Closed blacha closed 3 weeks ago

blacha commented 3 weeks ago

Motivation

We have been seeing some tiff files intermitently fail to load when loading across AWS accounts, this was tracked down a failure to register a AWS roleArn against the target bucket when the roleArn was used in multiple different buckets

Modifications

Use the more general "onFileSystemFound" as "onFileSystemCreated" only happens once per roleArn.

Verification

Tested locally