https://pulumi.com logo
Title
l

little-apartment-30401

03/21/2023, 8:59 AM
Anyone have any thoughts about deploying containers to Azure Container Instances via Pulumi? They're in that weird intersection of "infrastructure" and "runtime" that I'm not sure if Pulumi is a good fit or not.
i

incalculable-napkin-4298

03/21/2023, 2:49 PM
I'm doing container apps using pulumi. Had to find a good balance but I think I've found something that works for me
I've my 'core' infrastructure from my 'application specific' infrastructure. This app specific infra is in a specific stack. That is what I deploy as part of my ci-cd pipeline
b

bored-activity-40468

03/21/2023, 4:34 PM
We're also using it to deploy container apps.
We have management stack per sub and sort of a management stack per env. So what gets deployed for the actual container app is what CD runs. It sounds similar to what Erwin is doing :)
@incalculable-napkin-4298 Have you done anything with custom domain names and ContainerApps? We use APIM also and I have code that uses the preview feature to create a managed certificate. I wish they had that for CA's.
i

incalculable-napkin-4298

03/21/2023, 4:43 PM
Yes and No, I've placed an application gateway in front of my container apps. That's what I'm using to configure my custom domain names and ssl termination.
b

bored-activity-40468

03/21/2023, 4:45 PM
ah, do you don't have to add a cert to the container app env?
oh, also, you're using a custom vnet?
i

incalculable-napkin-4298

03/21/2023, 4:46 PM
yes
b

bored-activity-40468

03/21/2023, 4:46 PM
that makes sense
l

little-apartment-30401

03/21/2023, 8:51 PM
K right on, feeling a bit better about it now!
Have y'all hit any issues that I should look out for?
b

bored-activity-40468

03/22/2023, 12:11 PM