Fork me on GitHub
#datomic
<
2020-07-10
>
kenny15:07:35

So excited for this. The timing could not have been more perfect. Thank you Datomic team! ❤️

danieroux14:07:52

Daaaaaaang. Thank you!

Aron16:07:02

I am not sure what I am doing wrong when I am trying to add this policy under my bucket / permissions/ bucket policy

{
  "Id": "Policy1594355345891",
  "Statement": [
      {
            "Sid": "DatomicS3BucketAccess",
            "Effect": "Allow",
            "Principal": {
                "AWS": ["arn:aws:iam::263904136339:user/same-page-dev"]
            },
            "Action": [
                "*"
            ],
            "Resource": ["arn:aws:s3:::datomic-releases-1fc2183a","arn:aws:s3:::datomic-releases-1fc2183a/*","arn:aws:s3:::datomic-code-7cf69135-6e19-4e99-878e-9c3f4a48ad48","arn:aws:s3:::datomic-code-7cf69135-6e19-4e99-878e-9c3f4a48ad48/*"]
        }
  ]
} 
I get the error Policy has invalid resource I think the resources links are fine, maybe I am trying to use it at the wrong place? I don't hope that anyone can just randomly solve this for me remotely, but any kind of pointer, even suggestion on what I should read up on could help. I've tried to understand this error message by reading the docs but it seems that there are multiple reasons for it popping up.

csm16:07:49

Do you want s3:* in Action instead of *?

Aron16:07:00

yeah, and I am doing it at the wrong place, I was informed on freenode. I have to admit that I am utterly confused.

Joe Lane17:07:15

@ashnur I don't understand why you're manually manipulating the datomic bucket policy, what are you trying to do?

Aron17:07:02

same as last time

Aron17:07:14

but I think I might've got it now, I created an completely new policy and added it to the user

alexmiller17:07:52

the user he's using had datomic admin policy, but that does not include s3 access, which prevents clj from downloading jars from the datomic s3 bucket

Aron17:07:33

the download works now, so I am hoping the rest will too

alexmiller17:07:39

cool, it should

kenny17:07:19

Deleting a dev-local system is as simple as deleting <storage-dir>/<system-name>, right?

steveb8n23:07:20

This is great. Importing from cloud will be great for reproducing prod issues and generative testing.

steveb8n23:07:45

A dream would be if https://github.com/vvvvalvalval/datomock can be ported. It’s really useful with local dev. I wonder if this is possible?