Hi! :slightly_smiling_face: I'm completely new to ...
# getting-started
h
Hi! 🙂 I'm completely new to Pulumi - I'm trying to create a CD setup that goes dockerhub -> AWS cluster, then be able to view the container running. I've got the automatic push to dockerhub going okay, and I have it creating some resources in AWS including a running ECS, but the cluster doesn't have my docker image in it. I think I'm passing it over incorrectly. The project is here: https://github.com/Dogsocks/pulumi-demo it has a Pulumi github action which shows me a few errors, but nothing that leaps out. I think I'm probably just not passing the right image variable at some point in the main.py...
b
@helpful-animal-2280 that initially looks right to me, can you elaborate on what you mean by this?
but the cluster doesn't have my docker image in it
h
@billowy-army-68599 Thanks for having a look! The cluster (besides now being inactive) says 0 registered containers. Here's the latest github action output: https://github.com/Dogsocks/pulumi-demo/runs/7043091354?check_suite_focus=true It has a few errors, but for me it's hard to know which one is the core issue. I did look at the plugin issue, but I admit I'm not sure how to resolve it via the stack - I can run 'pulumi plugin install resource aws v5.4.0' locally but that doesn't seem to translate to my CD setup.
b
@helpful-animal-2280 this is happening because your stack which as run previously has an old plugin version in it. You need to update your stack locally (outside of CI) You can do that by running
pip install -r requirements.txt --upgrade
locally, then run a successful
pulumi up