I am trying to create an instance in ec2 using CLI. Is there anyway to specify tags to the instance when using CLI to create instances?
aws ec2 run-instances --image-id $ami_id --key-name $deployment_key_name \
--region $region --security-groups default --instance-type m4.large \
--user-data file://./yaml/master.yaml