title: Create then change a resource in Cloud Formation
body: <p>To preface this, I'm very new to Cloud Formation. I'm trying to build a template that will deploy a fairly simple environment, with two services.</p>
  <p>I need to have an S3 bucket that triggers a message to SQS whenever an object is created. When creating these assets, the S3 configuration must include a pointer to the SQS queue. But the SQS Queue must have a policy that specifically allows the S3 bucket permission. This creates a circular dependency. In order to break this circle I would like to do the following:</p>
  <ol>
  <li>Create S3 bucket</li>
  <li>Create SQS queue, reference S3 bucket</li>
  <li>Modify the S3 bucket to reference SQS queue.</li>
  </ol>
  <p>When I try this I get an error telling me it can't find the SQS queue. When I put a DependsOn command in #3 it errors out in a circular dependency.</p>
  <p>Can you declare a resource , the re-declare it with new parameters later in the template? If so, how would you do that. Am I approaching this wrong?</p>