Hi team, I'm trying to Implement a Java app using pulumi docker image pulumi/pulumi-java to create ...
p
Hi team, I'm trying to Implement a Java app using pulumi docker image pulumi/pulumi-java to create an AWS EC2 instance. When I execute the Java app in a container I'm getting an error 'Program run without the Pulumi engine available; re-run using the
pulumi
CLI'. However, I'm running pulumi-java image also inside a container. Can someone please share any working examples of the same or any clue what I'm missing?
s
I don't use Java with Pulumi but you will need a container image which includes the
pulumi
CLI command as well as the pulumi-java stuff. Try installing
pulumi
package inside your Dockerfile to build the image, and run a small shell script to check that
pulumi version
works.