jsii icon indicating copy to clipboard operation
jsii copied to clipboard

PowerShell Language Support

Open ghost opened this issue 6 years ago • 11 comments

Hi CDK team, know. Know you support .NET but would love to see support extended to PowerShell Core.

ghost avatar Jan 11 '19 16:01 ghost

Thanks for your interest. Definitely on our radar, but nothing concrete yet.

eladb avatar Jan 13 '19 10:01 eladb

any updates on this ?

ghost avatar Mar 26 '19 20:03 ghost

@steven-cuthill-otm - sorry for the delay. We do have people working on a proof of concept that we are going to probably pursue more actively in the near future. Stay tuned!

RomainMuller avatar Jan 24 '20 15:01 RomainMuller

Just for people tracking this issue, there was a very nice presentation done on the PowerShell Conference Europe regarding PowerShell support in the AWS CDK: https://www.youtube.com/watch?v=IjIHhZP_7RA.

@RomainMuller any update for us impatient souls on where that development stands?

danielboth avatar Sep 11 '20 09:09 danielboth

Hi, is this worthy project still in the works? Any rough timeline? I've worked with CDK in Typescript but my tool of choice for everything AWS is Powershell and it would help take full advantage of CDK a lot faster. The PSCONF.EU video gave me hope but it's over a year old. I was hoping for a 2020 Re:invent announcement. I checked the CDK v1 and 2 roadmap and I do not see any trace of Powershell support. Please tell me PSCDK is still happening. Thank you for all your work.

stephaneel avatar Dec 16 '20 17:12 stephaneel

I just watched that video, and commented on the video that they didn't share a link to the PSCDK project. Perhaps was abandoned?

intrasight avatar Dec 19 '20 16:12 intrasight

Just my $.02 worth: it's pretty rare that AWS is behind Microsoft in tool availability. But with Bicep (which compiles to ARM JSON), they've made a big move to easing the burden on template development.

AWS should respond by making PowerShell interface with CDK so that it is easy for engineers (as opposed to developers) to create Cfn templates without having to learn CloudFormation YAML syntax.

Better yet: add a VS Code extension with IntelliSense to really accelerate the CDK adoption.

yobyot avatar Apr 12 '22 15:04 yobyot

IntelliSense for what language?

intrasight avatar Apr 12 '22 15:04 intrasight

PowerShell, of course. :-)

One of the big issues, IMHO, with Cfn coding in VS Code is the lack of IntelliSense for either YAML or JSON in the AWS Toolkit extension for VS Code. It's a huge miss. You should see what the Bicep extension enables in VS Code. Cmd-spacebar is about 90% of coding an Azure template.

yobyot avatar Apr 12 '22 15:04 yobyot

I know for C# that you get intellisense for referenced assemblies. For PowerShell, that's not the case? And that's the issue?

intrasight avatar Apr 12 '22 17:04 intrasight

For those looking for a workaround, here is a sample repository showing one way to author CDK with PowerShell via the .NET assemblies for CDK: https://github.com/aws-samples/aws-cdk-powershell

scrthq avatar Jan 27 '23 04:01 scrthq