title: How to set tags of the root volume of EC2 instance via CloudFormation
body: <p>Create EC2 instance using CloudFormation, but the name (tags) of root volume is empty. How to set it using CloudFormation?</p>
  
  <pre><code># ec2-instance.yml (CloudFormation template)
  MyInstance:
    Type: "AWS::EC2::Instance"
    Properties:
      ImageId: "ami-da9e2cbc"
      InstanceType: "t2.nano"
      KeyName: !Ref "KeyPair"
      Tags: # This is for EC2 instance (not root volume)
        - Key: "Name"
          Value: "my-instance"
  </code></pre>
  
  <p>I find "Volumes" and "BlockDeviceMappings" properties but it could not.</p>
  
  <p><a href="https://i.stack.imgur.com/uvP6e.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uvP6e.png" alt="the name is empty"></a></p>