When an external assume role hasn't been provided, the ingestor doesn't have access to any s3 bucket/keys causing all the /ingestions requests to fail because of the "Asset not accessible" validation error.
This PR fixes this by using the same bucket/key configuration (can also be passed via VEDA_BUCKETS and VEDA_KEY env var) that the raster API uses.
Why?
The ingestor should have the same s3 permissions as the raster API to validate if an asset is accessible from the raster api.
What?
When an external assume role hasn't been provided, the ingestor doesn't have access to any s3 bucket/keys causing all the
/ingestions
requests to fail because of the "Asset not accessible" validation error.This PR fixes this by using the same bucket/key configuration (can also be passed via
VEDA_BUCKETS
andVEDA_KEY
env var) that the raster API uses.Why?