Skip to content

Commit

Permalink
increase r53 propagation timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Feb 9, 2024
1 parent 2d025fe commit df918cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const ensureDnsRecords = async (
}
console.log('requested, waiting for propagation')
await waitUntilResourceRecordSetsChanged(
{ maxWaitTime: 60, client },
{ maxWaitTime: 180, client },
{
Id: changeBatch.ChangeInfo?.Id,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class WildcardCertificate extends Construct {

const lambda = new Function(this, 'lambda', {
handler: 'lambda.onEvent',
timeout: Duration.minutes(7), // 5 min timeout for cert + 1 min timeout for r53 record change + 1 min wiggle room
timeout: Duration.minutes(9), // 5 min timeout for cert + 3 min timeout for r53 record change + 1 min wiggle room
runtime: Runtime.NODEJS_18_X,
code: Code.fromAsset(path.join(__dirname, '..', 'dist', 'lambda')),
})
Expand Down

0 comments on commit df918cf

Please sign in to comment.