Docker machine does not exist error

I have a strange situation which deserves some additional help.
I am testing a docker container which I plan to deploy on aws ec2 instance so I believe I performed all the necessary preliminary tasks (docker -compose build etc) of creating a docker-machine etc. Although the command create docker-machine looks like succeeded (after many attempts) the subsequent cli commands say that no such docker-machine exist. I am unsure as to what seems to be the issue here. Has anyone had any similar issues?

$ docker-machine env testdriven-prod
Docker machine “testdriven-prod” does not exist. Use “docker-machine ls” to list
machines. Use “docker-machine create” to add a new one.
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default virtualbox Timeout
testdriven-drop amazonec2 Timeout <== this is the one I’m interested in
testinstance-1 amazonec2 Timeout

Version 2.0.0.0-mac81 (29211)
Channel: stable
4271b9e6a8
Engine: 18.09.0
Compose: 1.23.2
Machine: 0.16.0
MacOS Mojave 10.14.1

Any help is appreciated. Thanks in advance.
PJ.