title: How can I specify a signed S3 URL as template in CloudFormation?
body: <p>In AWS CloudFormation, you can specify a template by uploading a template file or by specifying a S3 URL to a template. (Specify an Amazon S3 template URL)</p>
  
  <p>If the bucket is public, you can construct a URL for anyone to access the object/template. This works fine as long as the S3 template URL is a simple URL:</p>
  
  <p><code>https://s3.amazonaws.com/public-bucket/unsigned.template</code></p>
  
  <p>But if the bucket is private, you can generate a signed S3 URL if you want to share an object to others. I am given a URL that is a signed S3 URL for a template in a private bucket:</p>
  
  <p><code>https://s3.amazonaws.com/private-bucket/signed.template?Signature=Cs6sqUABadcfZAuFu5FSMWAQ%3D&amp;Expires=1459636414&amp;AWSAccessKeyId=AKIAJ23456AXIOUBCNQ</code></p>
  
  <p>Unfortunately CF is not honoring the signed URL and strips everything after <code>.template</code>. Due to this I get <code>Access Denied</code> error. Does anyone know a way to specify a signed S3 URL as a template in CloudFormation?</p>