diff --git a/src/index.ts b/src/index.ts index f325fa1..fa86d27 100644 --- a/src/index.ts +++ b/src/index.ts @@ -131,7 +131,7 @@ export class CodeConnectionsHostCustomResource extends cr.AwsCustomResource { super(scope, id, { functionName: names.functionName, role: functionRole, - timeout: cdk.Duration.seconds(15), + timeout: cdk.Duration.minutes(2), installLatestAwsSdk: true, //logGroup: todo onCreate: { diff --git a/test/__snapshots__/custom-resource.bitbucket.default.test.ts.snap b/test/__snapshots__/custom-resource.bitbucket.default.test.ts.snap index 84a74d2..ff3c38f 100644 --- a/test/__snapshots__/custom-resource.bitbucket.default.test.ts.snap +++ b/test/__snapshots__/custom-resource.bitbucket.default.test.ts.snap @@ -28,7 +28,7 @@ exports[`CustomResource Testing Should match snapshot 1`] = ` ], }, "Runtime": "nodejs20.x", - "Timeout": 15, + "Timeout": 120, }, "Type": "AWS::Lambda::Function", }, diff --git a/test/__snapshots__/custom-resource.bitbucket.option.test.ts.snap b/test/__snapshots__/custom-resource.bitbucket.option.test.ts.snap index 4f6e89d..bda085e 100644 --- a/test/__snapshots__/custom-resource.bitbucket.option.test.ts.snap +++ b/test/__snapshots__/custom-resource.bitbucket.option.test.ts.snap @@ -29,7 +29,7 @@ exports[`CustomResource Testing Should match snapshot 1`] = ` ], }, "Runtime": "nodejs20.x", - "Timeout": 15, + "Timeout": 120, }, "Type": "AWS::Lambda::Function", }, diff --git a/test/__snapshots__/custom-resource.github-enterprise.test.ts.snap b/test/__snapshots__/custom-resource.github-enterprise.test.ts.snap index 8678d4b..1f55f3f 100644 --- a/test/__snapshots__/custom-resource.github-enterprise.test.ts.snap +++ b/test/__snapshots__/custom-resource.github-enterprise.test.ts.snap @@ -28,7 +28,7 @@ exports[`CustomResource Testing Should match snapshot 1`] = ` ], }, "Runtime": "nodejs20.x", - "Timeout": 15, + "Timeout": 120, }, "Type": "AWS::Lambda::Function", }, diff --git a/test/__snapshots__/custom-resource.github.test.ts.snap b/test/__snapshots__/custom-resource.github.test.ts.snap index 997e21d..228451b 100644 --- a/test/__snapshots__/custom-resource.github.test.ts.snap +++ b/test/__snapshots__/custom-resource.github.test.ts.snap @@ -28,7 +28,7 @@ exports[`CustomResource Testing Should match snapshot 1`] = ` ], }, "Runtime": "nodejs20.x", - "Timeout": 15, + "Timeout": 120, }, "Type": "AWS::Lambda::Function", }, diff --git a/test/__snapshots__/custom-resource.gitlab-self-managed.test.ts.snap b/test/__snapshots__/custom-resource.gitlab-self-managed.test.ts.snap index 0a3ce55..3241268 100644 --- a/test/__snapshots__/custom-resource.gitlab-self-managed.test.ts.snap +++ b/test/__snapshots__/custom-resource.gitlab-self-managed.test.ts.snap @@ -28,7 +28,7 @@ exports[`CustomResource Testing Should match snapshot 1`] = ` ], }, "Runtime": "nodejs20.x", - "Timeout": 15, + "Timeout": 120, }, "Type": "AWS::Lambda::Function", }, diff --git a/test/__snapshots__/custom-resource.gitlab.test.ts.snap b/test/__snapshots__/custom-resource.gitlab.test.ts.snap index 4926b1c..3ba8a98 100644 --- a/test/__snapshots__/custom-resource.gitlab.test.ts.snap +++ b/test/__snapshots__/custom-resource.gitlab.test.ts.snap @@ -28,7 +28,7 @@ exports[`CustomResource Testing Should match snapshot 1`] = ` ], }, "Runtime": "nodejs20.x", - "Timeout": 15, + "Timeout": 120, }, "Type": "AWS::Lambda::Function", },