title: Pass tag Key and Value for resource name in AWS Cloudformation
body: <p>I have my cloudformation json template which has the resource(VPC to be specific) Tags mapped something like this:</p>
  
  <p><code>"Tags" : [ {"Key" : "Name", "Value" : "nameofresource"} ]</code> <br/>
  Now I am running this from a shell script with the command</p>
  
  <p><code>aws cloudformation create-stack --stack-name stackname --template-body file://template.json</code></p>
  
  <p>I want to pass the name from the parameter. I tried it using</p>
  
  <p><code>--parameters ParameterKey=Name,ParameterValue=somevalue</code> </p>
  
  <p>after my template. But it throws an error. Also I tried replacing the <code>"Value"</code> in the JSON with <code>"Ref" : "paramkeyvalue"</code> and passed it as required from the cli.
  How do I pass the name from parameters?</p>