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
From the course: Azure Infrastructure as Code with GitHub
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
-
-
-
-
Create a service principal in Azure2m 32s
-
(Locked)
Create a secret in GitHub4m 40s
-
(Locked)
Set up a GitHub workflow3m 43s
-
(Locked)
Create the Azure Login Action3m 35s
-
(Locked)
Deploy the resource group2m 59s
-
(Locked)
Deploy an ARM or Bicep template through GitHub Actions4m 26s
-
(Locked)
Challenge: Create your own pipeline21s
-
(Locked)
Solution: Create your own pipeline40s
-
-
-
-