Terraform v0.12.x
I'm creating an AWS EC2 instance with the aws_instance resource, and I want to pull a Docker image inside the target (I have it set up with the correct AWS credentials). I see the docker_image resource, but that pulls the image on my laptop and not on the target.
How can I pull a docker image on the target? I know I can use user_data, but is there another way?
Thanks.
