2
votes
How can I use S3 as a filesystem
This was going to be a comment, but I'll add it as an answer and take the consequences.
Yes, you are doing it wrong. S3 is an object store. The things you are looking for (search, directories, etc) ...
1
vote
Accepted
Convert an existing s3 bucket policy into a terraform-managed policy?
Try this, since the bucket is already there with the policy you can run the below command to get the policy inside the tf state
$ terraform import aws_s3_bucket_policy....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
s3 × 7amazon-web-services × 4
amazon-s3 × 3
terraform × 1
python × 1
node.js × 1
shell-script × 1
distributed-systems × 1