lambda default progress is public [#13]

This commit is contained in:
Brandon Liu
2022-07-06 12:21:12 +08:00
parent fbc7b02123
commit e6ab02ddd3
3 changed files with 12 additions and 6 deletions
+7 -3
View File
@@ -8,6 +8,7 @@
2. Create a ZIP archive with the `tippecanoe` binary at `bin/tippecanoe` and upload as a Lambda layer
3. Copy [lambda_function.py](lambda_function.py) (python 3.9 runtime)
4. set the environment variable `OUTPUT_BUCKET` to your output bucket; give lambda IAM role access to input/output buckets
5. Enable ACLs on the output bucket
```json
{
@@ -17,13 +18,16 @@
"Sid": "AllowGet",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::tippecanoe-lambda-input/*"
"Resource": "arn:aws:s3:::protomaps-tippecanoe-test/*"
},
{
"Sid": "AllowPut",
"Effect": "Allow",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::tippecanoe-lambda-output/*"
"Action": [
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::protomaps-tippecanoe-test-output/*"
}
]
}