Send Wait Condition Signal from Lambda

0

I'm trying to send a Cloudformation Wait Condition Signal from a js lambda function once the infrastructure is done provisioning. I'm using Axios to PUT FormData trying to emulate the curl request shown in the docs (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-waitcondition.html). Cloudformation shows an 'unparsable WaitCondition data' error. Has anybody had success doing this?

  • I didn't find the solution. But, there was a better way of handling my situation. Having the lambda wait until the infrastructure was finished by polling its status before returning prevents the rest of the stack from provisioning which is what I wanted.

質問済み 2年前290ビュー
1回答
0

What are you creating in CloudFormation vs. what is running post-provisioning?

Lambda could be a way to signal but personally I'd prefer signaling from within the resource you're creating (especially when talking about EC2).

AWS
エキスパート
Raphael
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ