https://pulumi.com logo
#general
Title
# general
l

lively-helmet-97905

08/12/2022, 3:51 PM
Does it pulumi working in its dsl language ?
s

salmon-account-74572

08/12/2022, 4:39 PM
I’m not clear on what you’re asking. Can you rephrase? Pulumi uses standard programming languages like Python, JavaScript, TypeScript, Go, etc., instead of a DSL. But perhaps that’s not what you’re asking…?
b

billowy-army-68599

08/12/2022, 5:02 PM
No, Pulumi likely won’t ever have a DSL
g

glamorous-telephone-24915

08/13/2022, 7:22 PM
if Pulumi is not using a DSL what is its data model then to compare desired state with actual state?
b

billowy-army-68599

08/13/2022, 7:55 PM
Can elaborate on what you're asking?
e

echoing-dinner-19531

08/13/2022, 9:05 PM
if Pulumi is not using a DSL what is its data model then to compare desired state with actual state?
It's just a data structure. Each resource has a structure of properties that are saved from the last deployment, and then the new properties sent to the engine for the current deployment and we diff those structures. It's not a language per-se, just maps of property names to property values.
g

glamorous-telephone-24915

08/16/2022, 8:14 AM
I have seen a talk on PowerShell support for Pulumi where they generate a yaml file from PowerShell to be digested by Pulumi. You could argue that this yaml file is Pulumi's DSL. or?
e

echoing-dinner-19531

08/16/2022, 8:56 AM
pulumi-yaml is just one way of expressing the data model, given that it's yaml I suppose you could argue it's a DSL but it's not the pulumi DSL. I expect we'll probably have support for things like bash and powershell in the future that would look different to yaml, but still be a way of expressing the pulumi data model.
l

lively-helmet-97905

09/10/2022, 5:23 AM
Thanks for the response.
3 Views