title: Cloudformation Output of Cloudformation Init
body: <p>I have got a CloudFormation stack , shown as below , </p>
  
  <pre><code>  "Metadata" : {
              "AWS::CloudFormation::Init" : {
                  "config" : {
  
                          "/home/ec2-user/create_db_user.sh" : {
                              "source" :                             
  
     "http://s3.amazonaws.com/devops/create_db_user.sh",
                              "mode" : "000755",
                              "owner" : "ec2-user"
                          }
                      }
   ...
  </code></pre>
  
  <p>I need to run this command when EC2 instance is up , after i need set this init script output to the cloudformation stack . </p>
  
  <p>How I can to this . </p>