Skip to content

Commit

Permalink
fix(static-website): update webacl logical id since provider lambda n…
Browse files Browse the repository at this point in the history
…ame changed (#532)
  • Loading branch information
cogwirrel committed Aug 14, 2023
1 parent 82677b3 commit 979dd7c
Show file tree
Hide file tree
Showing 2 changed files with 790 additions and 790 deletions.
4 changes: 2 additions & 2 deletions packages/static-website/src/cloudfront-web-acl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export class CloudfrontWebAcl extends Construct {
}),
},
});
const provider = new Provider(this, "CloudfrontWebAclProvider", {
const provider = new Provider(this, "CloudfrontAclProvider", {
onEventHandler,
role: providerRole,
providerFunctionName,
Expand Down Expand Up @@ -304,7 +304,7 @@ export class CloudfrontWebAcl extends Construct {
}
);

return new CustomResource(this, "CFWebAclCustomResource", {
return new CustomResource(this, "CFAclCustomResource", {
serviceToken: provider.serviceToken,
properties: {
ID: aclName,
Expand Down
Loading

0 comments on commit 979dd7c

Please sign in to comment.