When using pulumi, do developers still use Ansibl...
# general
f
When using pulumi, do developers still use Ansible to configure the instances? Is there a product like pulumi but for container or VM configuration?
l
You can do post-creation tasks any way you like. There is no product in the Pulumi family for this. I use AWS SSM for the few machines I need to configure after deployment. Mostly I use "golden images", which means my Pulumi configuration is as simple as specifying an EC2 AMI ID.
Invoking Ansible from Pulumi is pretty easy, especially if it's done either via automation-api, or from EC2 user data or AWS SSM documents.
Something like Packer would be closest to the Pulumi way of working, I'd think.
f
Thanks. I was hoping to do ansible in code. I know you can do it in python. But i guess yaml is that way to go,. Thanks for the advice.
l
What is "Ansible in code"? You can do anything with Pulumi since you're using a general language. You should only have to use yaml if you want to use a tool that relies on yaml.