I'm trying to do the example here. 1. Getting err...
# beginners-need-help
r
I'm trying to do the example here. 1. Getting error
kedro.io.core.DataSetError: <class 'pandas.core.frame.DataFrame'> was not serialized due to: 'AioClientCreator' object has no attribute '_register_lazy_block_unknown_fips_pseudo_regions'
. Not sure what's happening here. Maybe due to AWS credentials? 2. Should I use the
local/credentials.yml
file? I added three items:
Copy code
roger-data-science:
  aws_access_key_id: XXXXXX
  aws_secret_access_key: XXXXXXX
  role_arn: arn:aws:iam::XXXXXXX:role/AmazonSageMaker-ExecutionRole
but Kedro still gives the warning
UserWarning: Credentials not found in your Kedro project config.
. āœ” Actually I just had to move the
credendtials.yml
to the
conf/sagemaker
directory 3. How does one specify which profile in
.aws/credentials
to use with the Kedro project?
Copy code
[default]
aws_access_key_id = YOUR_AWS_ACCESS_KEY_ID
aws_secret_access_key = YOUR_AWS_SECRET_ACCESS_KEY

[project1]
aws_access_key_id = ANOTHER_AWS_ACCESS_KEY_ID
aws_secret_access_key = ANOTHER_AWS_SECRET_ACCESS_KEY