Skip to content

Commit

Permalink
Add CopyFunc custom resource (#48)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ConnorKirk authored Jan 18, 2022
1 parent 50d8a14 commit 4c04baf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion templates/custom-resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Description: ACFS3 - Cert Provider with DNS validation
Transform: AWS::Serverless-2016-10-31

Resources:

CopyCustomResource:
Type: "AWS::CloudFormation::CustomResource"
Properties:
ServiceToken: !GetAtt CopyFunction.Arn

S3BucketLogs:
Type: AWS::S3::Bucket
DeletionPolicy: Retain
Expand Down Expand Up @@ -30,7 +36,7 @@ Resources:
Tags:
- Key: Solution
Value: ACFS3

CopyLayerVersion:
Type: "AWS::Serverless::LayerVersion"
Properties:
Expand Down
2 changes: 1 addition & 1 deletion templates/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Metadata:
Mappings:
Solution:
Constants:
Version: 'v0.6'
Version: 'v0.7'

Parameters:
SubDomain:
Expand Down

0 comments on commit 4c04baf

Please sign in to comment.