Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Transfer DAG endpoint in SM2A #253

Closed
smohiudd opened this issue Nov 5, 2024 · 2 comments
Closed

Test Transfer DAG endpoint in SM2A #253

smohiudd opened this issue Nov 5, 2024 · 2 comments

Comments

@smohiudd
Copy link
Contributor

smohiudd commented Nov 5, 2024

Test Transfer DAG Endpoint to be used in github ingestion automation: NASA-IMPACT/veda-data#180

Example from event bridge: https://github.com/NASA-IMPACT/veda-data-airflow/blob/dev/sm2a/infrastructure/functions/s3_event_bridge_to_sfn_execute/lambda_function.py#L52

@smohiudd
Copy link
Contributor Author

smohiudd commented Nov 21, 2024

I tried the transfer DAG in SM2A staging using this config and it didn't work - no files in the veda-data-store bucket:

{
    "origin_bucket": "veda-data-store-staging",
    "origin_prefix": "2024tornadoes/",
    "target_bucket": "veda-data-store",
    "collection": "tornadoes-2024-polygons",
    "filename_regex": "(.*)Tornado_Polygons_(.*).tif$"
}

But the transfer DAG showed as succeeded:
Image

I tried the same config in MWAA staging and it worked.

@amarouane-ABDELHAK @anayeaye

@anayeaye
Copy link
Contributor

Resolved by adding role arns to the airflow configuration secret #260. Deleted the file in the example above and re-ran the transfer dag which successfully copied the file to veda-data-store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants