Justin Grote

Results 875 comments of Justin Grote

@bergmeister, what you're suggesting is what terraform already does though. It's a DSL, so why reinvent the wheel? The point of Pulumi is to use native code to get away...

@bergmeister I agree but the DSL will have its own challenges. How do you do a stable generation of the DSL code? If it is hand-written then it has to...

@bergmeister @mikhailshilkov I've put up 6 different styles (including a DSL) into a new branch. https://github.com/JustinGrote/PulumiPowershellTest/blob/multipleSyntaxExamples/pulumi.ps1 They all work: ![image](https://user-images.githubusercontent.com/15258962/68879401-34f13f80-06be-11ea-88f3-a884e8d5cd2e.png)

So, that being said, a DSL or functions could be created either at the powershell level or at the c# level by generating a binary module. I think powershell-level would...

Here's an example of a "close" DSL format that doesn't require any extra implementation (this deploys an azure function) I know it's ugly but hey, it kinda fits the format,...

@manoj2994 The idea is there is more than one way to skin a cat in Powershell. First make objects available, then abstractions (functions, classes, cmdlets, DSL) can be built on...

You could either add them on startup with Add-Type, or maybe make pseudo Powershell Modules that all they do is load the assemblies, for instance `Import-Module -Name Pulumi.Azure`. There's lots...

Correct, typically for PowerShell modules you embed the dll assemblies and put the add-type in the psm1. You could also have a module with cmdlets to dynamically import. For now...

@mikhailshilkov @leezen I notice this was dropped from all milestones. Is this no longer a priority?

On the same day Amazon CDK announced support for Terraform (and azure via the provider), guess I'll invest over there then...