Study FAQ
What should I review before reusing a Microsoft Foundry Bicep template?
Also asked as 2
- How do I adapt a Foundry Bicep sample to another environment?
- What should I inspect in an exported Foundry Bicep file before redeploying it?
Answer
Review the resource types, API versions, location, identity settings, role assignments, and optional model deployments before applying the file. The current Foundry basic sample creates a Cognitive Services account and its child project. Its documented parameters include aiFoundryName, aiProjectName, and location. Set the location explicitly because the sample default can differ from the resource group's location.
Confirm that the deployment principal can create each declared resource and any role assignments. For a model deployment included in the template, check the model name, version, and SKU for the target environment. A copied or exported file can retain environment-specific settings and omit properties that the export tooling does not support, so review the resolved parameters and verify the account and project after deployment.
For a rehearsal, use the approved test scope, check which resources incur ongoing charges, and identify the resources intended for cleanup before deleting a test resource group.
Quickstart: Deploy a Foundry resource by using Bicep · Quickstart: Set up Microsoft Foundry resources
Full explanation
AI-300: Provisioning Foundry Resources and Projects
Study guide · AI-300
Read the full explanation