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.

asked 2 years ago268 views
1 Answer
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
EXPERT
Raphael
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions