Ask Your Question
0

How to get WaitCondition Data in instance

asked 2013-06-20 10:52:37 -0500

nanjj gravatar image

In UserData, I use cfn-singal in MySql instance as below: "/opt/aws/bin/cfn-signal --id 00001 -e 0 -r done --data 'done' '",{ "Ref" : "MySqlWaitHandle" }, "'\n",

My question is, how do I get { id:00001, data:done} from other instance? Say WordProc, thanks!

I tried heat resource-metadata stack WaiHandle, which can get the signal data. But the question is how to get it in instance.

edit retag flag offensive close merge delete

11 answers

Sort by ยป oldest newest most voted
0

answered 2013-09-11 03:30:50 -0500

nanjj gravatar image

It sounds OK, if we can remove the creation dependency, say in resource A metadata ref "Fn::GetAtt": ["WaitCondition", "Data"], resource A can still be created before WaitCondition complete.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-06-20 10:52:37 -0500

Seen: 337 times

Last updated: Sep 11 '13