Infrastructure As C# Code

If you have been deploying code to Azure or any other cloud vendor, chances are you are provisioning resources using PowerShell scripts, ARM templates, CloudFormation, Terraform or a combination of these popular options.

While IaC has grown both in popularity and practice in the past few years, often when using one of these products you are required to define the infrastructure in a JSON…

Continue Reading Vignesh Natarajan’s Article on their blog

Infrastructure As C# Code

Let us get started with using pulumi to create an Azure Function app and configure a Service Bus connection string setting on the function app setting. @”%SystemRoot%System32WindowsPowerShellv1.0powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString(‘https://get.pulumi.com/install.ps1’))” && SET “PATH=%PATH%;%USERPROFILE%.pulumibin” This should download and install the pulumi cli.

Blog Syndicated with Vignesh Natarajan’s Permission

Author: Kieran Holmes

Share This Post On
Share via
Copy link
Powered by Social Snap