Hello everyone, I am new to pulumi. I am trying to...
# general
b
Hello everyone, I am new to pulumi. I am trying to build and push a docker image to ECR and run it using ECS so that it automatically builds only when there is changes in the code.
b
this is a very broad scope, what do you have so far?
b
I am always getting errors with the 'import pulumi_docker as docker'. Pulumi up seems not to read it
b
what error do you get?
b
error: Program failed with an unhandled exception: Traceback (most recent call last): File "C:\Users\USER\Downloads\cogito\__main__.py", line 4, in <module> import pulumi_docker as docker ModuleNotFoundError: No module named 'pulumi_docker'
That's the error message
m
Did you add the docker provider to your requirements.txt?
b
No I didn't....please how do I add it?
m
open the requirements.txt in your project and ``pulumi-docker>=4.3.0` to it
b
Ok...thank you
m
you may need to run pip install -r requirements.txt
b
Ok... thanks