Pause the creation of a stack and wait for a signal

0

Hi, can you help me do the following? **pause stack creation and wait for a signal to ensure that specific resources and configurations have been launched correctly before resuming the stack creation process. ** https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitcondition.html

The reason I have to do this is due to the problem I have in making the link of conversions api gataway with my facebook pixel.

Below is the error: Enter image description here

Thank you very much, I hope you can help me. Thank you

1개 답변
0
수락된 답변

Hi, the timeout occurs because there no signal coming to stop the wait on the http endpoint created for this synchro by CFN. The stack will continue only when some external process properly signalled on the pre-defined URL (it seems that you synchonized only 1 single instance of the signal from your screenshot)

See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-waitcondition.html

To send a signal, you send an HTTP request message using the presigned URL. 
The request method must be PUT and the Content-Type header must be an 
empty string or omitted. The request message must be a JSON structure of the 
form specified in Wait condition signal JSON format.

BTW, if your other resources that you mention are also created by another CFN stack, you may be able to use simpler mechanisms to synchronize your 2 launches

Hope it helps, Didier

profile pictureAWS
전문가
답변함 10달 전
profile picture
전문가
검토됨 10달 전
  • Hi, OK thanks for your help. In order to implement this code that extends the duration for the completion of an operation... I have to restart the stack? Then delete the failed one and do it again?

    Thanks for the help

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

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

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

관련 콘텐츠