I've been thinking recently about what a deployment actually is. When you deploy a resource via the portal, ARM, or Bicep, you'll notice under the deployment scope that there's something called a deployment. This is also apparent when using Bicep modules and CLI deployments.

For example, nesting Bicep modules like this—with a main.bicep file calling modules that call other modules.

When deployed using the az deployment CLI command:

# log into azure

az login