Skip to content

Commit 3233251

Browse files
committed
update
1 parent cfd5ec3 commit 3233251

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

articles/azure-resource-manager/bicep/deploy-preflight.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To understand preflight, it helps to see where it fits compared to other checks:
1616
3. [**What-If**](./deploy-what-if.md): Predicts exactly which resources are created, modified, or deleted.
1717
4. [**Deployment**](./deploy-cli.md): The actual execution where Azure builds the resources.
1818

19-
When you trigger a preflight check, Azure doesn't just look at the code. It looks at the live environment and the resource provider (the service responsible for the specific resource, like Microsoft.Compute). It verifies:
19+
When you trigger a preflight check, Azure Resource Manager doesn't just look at the code. It looks at the live environment and the resource provider (the service responsible for the specific resource, like Microsoft.Compute). It verifies:
2020

2121
- Parameter values (types, allowed values, missing required parameters)
2222
- Resource name conflicts (for example, globally unique names already taken)
@@ -28,12 +28,14 @@ If any of these checks fail, the deployment never starts.
2828

2929
## Limitations
3030

31+
Preflight has these limitations:
32+
3133
- Runtime errors: Preflight can't catch everything. For example, if a custom script extension fails during execution because of a typo inside a bash script, preflight won't see that error.
3234
- Dependent values: If Resource B depends on a property generated by Resource A (like a dynamic IP address), preflight might only perform a partial check because that value doesn't exist yet.
3335

3436
## Run preflight
3537

36-
Preflight validation runs automatically when you use deployment validate or what-if style commands. For example, preflight validation runs during these operations:
38+
Preflight validation runs automatically when you use deployment validate or what-if style commands. For example, these operations run preflight validation:
3739

3840
- ARM JSON or Bicep validation in Azure CLI or PowerShell
3941

@@ -55,15 +57,16 @@ Preflight validation runs automatically when you use deployment validate or what
5557
5658
For more information, see [Deploy Bicep files with the Azure CLI](./deploy-cli.md) and [Deploy Bicep files with the Azure PowerShell](./deploy-powershell.md).
5759
58-
- what-if
60+
- What-if
61+
5962
What-if includes preflight checks before calculating changes unless you configure it to skip the preflight. For more information, see [Running the what-if operation](./deploy-what-if.md#running-the-what-if-operation).
6063
61-
- Azure portal "Review + create" step
64+
- Azure portal **Review + create** step
6265
6366
Currently, the Azure portal only supports deploying ARM JSON templates. For more information, see [Deploy ARM templates with the Azure portal](../templates/deploy-portal.md).
6467
65-
Preflight errors appear in the Activity Log but not in deployment history, because the deployment never began.
68+
Preflight errors appear in the activity log but not in deployment history, because the deployment never began.
6669
6770
## Next steps
6871
69-
- To use the what-if operation, see [Bicep What-If: Preview Changes Before Deployment](./deploy-what-if.md)
72+
- To use the what-if operation, see [Bicep What-If: Preview Changes Before Deployment](./deploy-what-if.md).

0 commit comments

Comments
 (0)