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.

feita há 2 anos279 visualizações
1 Resposta
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
ESPECIALISTA
Raphael
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas