Skip to content

Commit

Permalink
[Lambda] When creating, wait until the function is active
Browse files Browse the repository at this point in the history
  • Loading branch information
avano committed Feb 26, 2025
1 parent 293d3a4 commit 829758b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ public void createFunction(String name, Runtime runtime, String handler, SdkByte
}
}
}

client.waiter().waitUntilFunctionActive(b -> b.functionName(name));
}

public GetFunctionResponse getFunction(String name) {
Expand Down

0 comments on commit 829758b

Please sign in to comment.