-
Notifications
You must be signed in to change notification settings - Fork 0
/
infra.yml
32 lines (31 loc) · 901 Bytes
/
infra.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AWSTemplateFormatVersion: "2010-09-09"
Description: lambda-docker-puppeteer
Resources:
DeploymentBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: lambda-docker-puppeteer-sls
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
IgnorePublicAcls: true
RestrictPublicBuckets: true
OutBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: lambda-docker-puppeteer-out
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
IgnorePublicAcls: true
RestrictPublicBuckets: true
LifecycleConfiguration:
Rules:
- Id: ExpirationOut
Status: Enabled
Prefix: /
ExpirationInDays: 1
Repository:
Type: AWS::ECR::Repository
Properties:
RepositoryName: lambda-docker-puppeteer-repos