Skip to content

Commit

Permalink
(fix) [storage-1.test]init a project and add S3 bucket with user pool…
Browse files Browse the repository at this point in the history
… groups and then update S3 bucket to add trigger (#8691)

Co-authored-by: Sachin Panemangalore <sachinrp@amazon.com>
  • Loading branch information
2 people authored and ammarkarachi committed Nov 12, 2021
1 parent f7b4f0a commit 441c295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async function startAddTriggerFunctionFlow(
policyID: string,
existingTriggerFunction: string | undefined,
): Promise<string | undefined> {
const enableLambdaTriggerOnS3: boolean = await prompter.confirmContinue('Do you want to add a Lambda Trigger for your S3 Bucket?');
const enableLambdaTriggerOnS3: boolean = await prompter.yesOrNo('Do you want to add a Lambda Trigger for your S3 Bucket?');
let triggerFunction: string | undefined = undefined;
if (enableLambdaTriggerOnS3) {
try {
Expand Down

0 comments on commit 441c295

Please sign in to comment.