Replies: 2 comments 8 replies
-
@alhaal how do you setup AWS credentials on the machine? In the repo that your are importing your data into, do you have a different bucket, storage, set of credentials? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@shcheklein thank you for your answer, we are importing data into a differnt repo which uses the same bucket and using the same credentials. Do the version-aware functionality requires special permissions? the s3:HeadObject action is already configured in the bucket policy. we are able to import data if we do not use the version-aware option. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We cannot import data from s3 using dvc import. dvc push is working without any probnlem.
dvc import
dvc import git_url data
ERROR: unexpected error - Forbidden: An error occurred (403) when calling the HeadObject operation: Forbidden
dvc onfig
[core]
remote = s3remote
autostage = true
['remote "s3remote"']
url = s3://bucketname/dvc
version_aware = true
worktree = true
region = eu-west-1
aws cli is working:
aws s3api head-object --bucket bucketname --key dvc/data/folder1/filename1.txt works and gives an output
DVC version: 3.51.2 (pip)
Platform: Python 3.10.9 on Windows-10-10.0.19045-SP0
Subprojects:
dvc_data = 3.15.1
dvc_objects = 5.1.0
dvc_render = 1.0.2
dvc_task = 0.4.0
scmrepo = 3.3.6
Supports:
http (aiohttp = 3.9.5, aiohttp-retry = 2.8.3),
https (aiohttp = 3.9.5, aiohttp-retry = 2.8.3),
s3 (s3fs = 2024.6.1, boto3 = 1.34.131)
Config:
Global:
System:
Cache types: https://error.dvc.org/no-dvc-cache
Caches: local
Remotes: s3, s3
Workspace directory: NTFS on D:
Repo: dvc, git
Repo.site_cache_dir:
Beta Was this translation helpful? Give feedback.
All reactions