From the course: Azure Infrastructure as Code with GitHub

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Deploy the resource group

Deploy the resource group

- [Instructor] Now we are almost ready to start deploying our Bicep file. But we need to do one extra thing. We need to create the resource group where the Bicep file will be deployed to. This isn't done by default with the action that we're going to use. So just in the case that that resource group doesn't exist, we will make it part of our pipeline. There isn't a default action we can use to do this. So what we can do is use Azure PowerShell or the Azure CLI. I'm going to use PowerShell for this one. So I search for Azure PowerShell or even Azure Power is enough and I see the Azure PowerShell action right here. Again, it is verified by Azure. And again, I can add it to the YAML file. And again, I can fix the indentation by pressing Alt, dragging my mouse, and slowly press space until the squiggly line is gone. There we go. Sometimes this happens. There's a small indentation problem where you didn't copy and…

Contents