hey guys, Anyone know how to pass AWS role arn fo...
# questions
f
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
maybe worth building a custom dataset using this? https://aws-sdk-pandas.readthedocs.io/en/stable/api.html
f
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
I just did, im getting this guy:
Copy code
AioSession.__init__() got an unexpected keyword argument 'role_arn'
d
what version of fsspec do you have installed?
oh sorry I’m being silly
that’s arrow not fsspec
f
Copy code
"2023.6.0"
I feel like there has to be way to pass this guy without me doing boto stuff 😄
d
image.png
in the fsspec code they are doing some ARN regex
maybe its just a bucket prefix?
f
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
😞
f
Do I need to do anything special there
d
Is there a way to invoke the pyarrow s3fs like you linked?
no I don’t think so