Is Packer able to enable the EC2 instance detailed monitoring function?


I am following How to Create an AMI Builder with AWS CodeBuild and HashiCorp Packer – Part 2 | AWS DevOps Blog to bake AMI on AWS with Packer.

I know Packer launches a temporary EC2 instance to bake AMI and I need to enable this EC2 instance’s detailed monitoring which is documented at Enable or turn off detailed monitoring for your instances - Amazon Elastic Compute Cloud, but I have not seen any Packer configuration about it.

Just wondering whether Packer support enabling the detailed monitoring of the EC2 instance used to bake AMI?