Skip to content

Commit 4c04baf

Browse files
authored
Add CopyFunc custom resource (#48)
* Add CopyFunc custom resource The CopyFunc Custom Resourcewas removed in a prior PR. This meant that the CopyFunc was not invoked, so the files are not uploaded to the S3 bucket. * Bump version
1 parent 50d8a14 commit 4c04baf

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

templates/custom-resource.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Description: ACFS3 - Cert Provider with DNS validation
33
Transform: AWS::Serverless-2016-10-31
44

55
Resources:
6+
7+
CopyCustomResource:
8+
Type: "AWS::CloudFormation::CustomResource"
9+
Properties:
10+
ServiceToken: !GetAtt CopyFunction.Arn
11+
612
S3BucketLogs:
713
Type: AWS::S3::Bucket
814
DeletionPolicy: Retain
@@ -30,7 +36,7 @@ Resources:
3036
Tags:
3137
- Key: Solution
3238
Value: ACFS3
33-
39+
3440
CopyLayerVersion:
3541
Type: "AWS::Serverless::LayerVersion"
3642
Properties:

templates/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Metadata:
1313
Mappings:
1414
Solution:
1515
Constants:
16-
Version: 'v0.6'
16+
Version: 'v0.7'
1717

1818
Parameters:
1919
SubDomain:

0 commit comments

Comments
 (0)