How to create a docker container with user data in the ec2 instance with terraform

How to create a docker container with user data  in the ec2 instance with terraform
Share: