How to set tags of the root volume of EC2 instance via CloudFormation
Create EC2 instance using CloudFormation, but the name (tags) of root volume is empty. How to set it using CloudFormation? # 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" I find "Volumes" and "BlockDeviceMappings" properties but it could not. CloudFormation does not appear to support this currently. However using an instance user data script , you can do this to tag the root volume: apt-get