Pushing to an Azure container registry
An Azure container registry will play a significant role in our deployment. It will be a universally available registry well integrated with the Azure infrastructure that we will provision.
A basic step to creating resources on Azure is to manage them under a resource group. Think of an Azure resource group as a container that includes all the resources needed for our application. It is a way to logically separate infrastructure. For example, deleting a resource group will lead to the deletion of the resources provisioned under this resource group.
Our Azure container registry as well as our ACI will reside in a resource group that we will provision. This can be done in many ways – for example, through the command line, the Azure portal, as well as using Terraform.
Adding a resource group via Terraform should look like this:
resource "azurerm_resource_group" "guide_to_docker_compose_resource_group" { &...