https://kedro.org/ logo
#questions
Title
# questions
f

Fazil B. Topal

09/13/2023, 3:42 PM
hey guys, Anyone know how to pass AWS role arn for kedro? Ive been hunting down s3fs and other stuff but not much luck. I can work with local aws profile but in cloud I have optiona to pass ARN but couldn't see anyway to pass this. Any help is much appreciated
d

datajoely

09/13/2023, 3:47 PM
maybe worth building a custom dataset using this? https://aws-sdk-pandas.readthedocs.io/en/stable/api.html
f

Fazil B. Topal

09/13/2023, 3:48 PM
We're using parquet dataset directly, I just don't know if we can use ARN as is or not supported so that I need to do custom dataset
f

Fazil B. Topal

09/13/2023, 4:00 PM
I just did, im getting this guy:
Copy code
AioSession.__init__() got an unexpected keyword argument 'role_arn'
d

datajoely

09/13/2023, 4:00 PM
what version of fsspec do you have installed?
oh sorry I’m being silly
that’s arrow not fsspec
f

Fazil B. Topal

09/13/2023, 4:01 PM
Copy code
"2023.6.0"
I feel like there has to be way to pass this guy without me doing boto stuff 😄
d

datajoely

09/13/2023, 4:02 PM
image.png
in the fsspec code they are doing some ARN regex
maybe its just a bucket prefix?
f

Fazil B. Topal

09/13/2023, 4:03 PM
No idea, I think looks like they just exrtract the raw bucket name here, don't care about the arn
Is there a way to invoke the pyarrow s3fs like you linked?
d

datajoely

09/13/2023, 4:04 PM
😞
f

Fazil B. Topal

09/13/2023, 4:04 PM
Do I need to do anything special there
d

datajoely

09/13/2023, 4:04 PM
Is there a way to invoke the pyarrow s3fs like you linked?
no I don’t think so