Skip to content

Commit

Permalink
Fix Delete
Browse files Browse the repository at this point in the history
  • Loading branch information
daknhh committed Nov 14, 2024
1 parent f7b45e2 commit 7179724
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/lambda/AutoUpdatedManagedIpSets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function handler(Event: CdkCustomResourceEvent | EventBridgeEvent<a
return {
Status: "SUCCESS",
Reason: "IPSet updated successfully",
PhysicalResourceId: Event.RequestId,
PhysicalResourceId: Event.LogicalResourceId,
StackId: Event.StackId,
RequestId: Event.RequestId,
LogicalResourceId: Event.LogicalResourceId,
Expand All @@ -58,7 +58,7 @@ export async function handler(Event: CdkCustomResourceEvent | EventBridgeEvent<a
return {
Status: "FAILED",
Reason: error.message,
PhysicalResourceId: Event.RequestId,
PhysicalResourceId: Event.LogicalResourceId,
StackId: Event.StackId,
RequestId: Event.RequestId,
LogicalResourceId: Event.LogicalResourceId,
Expand All @@ -75,7 +75,7 @@ export async function handler(Event: CdkCustomResourceEvent | EventBridgeEvent<a
return {
Status: "SUCCESS",
Reason: "IP set successfully deleted",
PhysicalResourceId: Event.RequestId,
PhysicalResourceId: Event.LogicalResourceId,
StackId: Event.StackId,
RequestId: Event.RequestId,
LogicalResourceId: Event.LogicalResourceId,
Expand All @@ -87,7 +87,7 @@ export async function handler(Event: CdkCustomResourceEvent | EventBridgeEvent<a
return {
Status: "FAILED",
Reason: error.message,
PhysicalResourceId: Event.RequestId,
PhysicalResourceId: Event.LogicalResourceId,
StackId: Event.StackId,
RequestId: Event.RequestId,
LogicalResourceId: Event.LogicalResourceId,
Expand Down

0 comments on commit 7179724

Please sign in to comment.