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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠