gip-inclusion / data-inclusion

data·inclusion aggrège les données de l'insertion sociale et professionnelle
https://api.data.inclusion.beta.gouv.fr/api/v0/docs
MIT License
6 stars 1 forks source link

chore(deployment) : Fix sources object access #273

Closed vperron closed 1 month ago

vperron commented 1 month ago

It seems reasonable that the Airflow DAGs would access the sources folder and can get object properties in it.

In staging:

[2024-08-12T16:08:33.544+0000] {process_utils.py:191} INFO -   File "/opt/airflow/venvs/python/venv/lib/python3.12/site-packages/botocore/client.py", line 1021, in _make_api_call                                  
[2024-08-12T16:08:33.545+0000] {process_utils.py:191} INFO -     raise error_class(parsed_response, operation_name)
[2024-08-12T16:08:33.546+0000] {process_utils.py:191} INFO - botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden