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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容