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.

Name the deployment

Name the deployment

- [Instructor] In the previous videos, we have done two deployments. The two storage accounts you see here, the bicep one and the GitHub action one. But if we look at the deployments in the menu on the left, you can see there's only one deployment here while we did do two of them. The reason for that is that by default, the deployment gets the name of the branch that it is in. Its deployment can have its own name. But if it's a name that already exists for the resource group, then the deployment will be overwritten. This isn't really a problem when you're deploying stuff because the resources are still being deployed, but in the log it can be a bit confusing because if someone else is now looking at it research group, there's only record of one deployment instead of two. So it can be a good idea to name the deployment in the pipeline and make sure that it gets a different name each time. And what we can do to get that…

Contents