NASA-IMPACT / veda-backend

Backend services for VEDA
Other
13 stars 5 forks source link

fix: ingestor role to have s3 access #387

Closed slesaad closed 5 months ago

slesaad commented 5 months ago

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 and VEDA_KEY env var) that the raster API uses.

Why?