aws-cloudformation / aws-cloudformation/cloudformation-cli-java-plugin

Ensure that re-invocations are time/count limited

未關閉
#82 2 則留言 0 個 reaction 已指派 1 人 已被 @rjlohan 認領 在 GitHub 檢視
enhancement question
主要語言
Java
星號
30
分支
48
PR 合併指標
30 天內沒有已合併 PR

描述

Currently, although CloudFormation will eventually timeout on waiting for a resource provisioning action, there is no constraint on the duration or number of re-invocations that can be scheduled, leading to essentially unbounded Lambda compute.

Wrapper should auto-inject a net runtime into the callback context and use this to compute a restriction and eventual timeout at https://github.com/aws-cloudformation/aws-cloudformation-rpdk-java-plugin/blob/master/src/main/java/com/aws/cfn/LambdaWrapper.java#L262

This timeout should probably be slightly less than the CloudFormation timeout to ensure that stack events reflect actual progress and termination of handler occurs before CloudFormation abandons the request.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。