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.

demandé il y a 2 ans279 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions