@@ -193,51 +193,32 @@ This option will discover Bicep files from parameter metadata.
193
193
194
194
# ## Using Bicep parameter files
195
195
196
- :octicons-beaker-24:{ .experimental } Experimental · :octicons-milestone-24 : v1.27.0
196
+ <!-- module:version v1.34.0 -->
197
197
198
198
You can use `.bicepparam` files to reference your Bicep modules as a method for providing parameters.
199
199
Using the Bicep parameter file format, allows you to get many of the benefits of the Bicep language.
200
200
201
201
For example :
202
202
203
203
` ` ` bicepparam
204
- using 'template .bicep'
204
+ using 'main .bicep'
205
205
206
206
param storageAccountName = 'bicepstorage001'
207
207
param tags = {
208
208
env: 'test'
209
209
}
210
210
` ` `
211
211
212
- Presently, to use this feature you must :
213
-
214
- 1. Enable the experimental feature in `bicepconfig.json`.
215
- 2. Enable expansion of Bicep parameter files in `ps-rule.yaml`.
216
-
217
- For example :
218
-
219
- ` ` ` json title="bicepconfig.json"
220
- {
221
- "experimentalFeaturesEnabled": {
222
- "paramsFiles": true
223
- }
224
- }
225
- ` ` `
226
-
227
- ` ` ` yaml title="ps-rule.yaml"
228
- configuration:
229
- AZURE_BICEP_PARAMS_FILE_EXPANSION: true
230
- ` ` `
231
-
232
- !!! Experimental "Experimental - [Learn more][13]"
233
- Bicep parameter files are a work in progress.
234
- This feature will be transitioned to stable after the Bicep CLI support is finalized.
235
-
236
212
!!! Learn
237
213
To learn more about Bicep parameter files see [Create parameters files for Bicep deployment][16].
238
214
239
- [13] : versioning.md#experimental-features
215
+ !!! Note
216
+ To use Bicep parameter files you must use a minimum of Bicep CLI version **0.18.4**.
217
+ You can configure PSRule to check for the minimum Bicep version.
218
+ See [configuring minimum version][10] for information on how to enable this check.
219
+
240
220
[16] : https://learn.microsoft.com/azure/azure-resource-manager/bicep/parameter-files?tabs=Bicep
221
+ [10] : setup/setup-bicep.md#configuring-minimum-version
241
222
242
223
# # Restoring modules from a private registry
243
224
@@ -266,7 +247,6 @@ To configure your registry see [Make your container registry content publicly av
266
247
267
248
[15] : https://learn.microsoft.com/azure/azure-resource-manager/bicep/private-module-registry
268
249
[14] : https://learn.microsoft.com/azure/container-registry/anonymous-pull-access
269
- [10] : setup/setup-bicep.md#configuring-minimum-version
270
250
271
251
# ## Configure `bicepconfig.json`
272
252
@@ -296,11 +276,11 @@ Use the following credential type based on your environment as the first value o
296
276
The `bicepconfig.json` configures the Bicep CLI.
297
277
You should commit this file into a repository along with your Bicep code.
298
278
299
- [9] : https://learn.microsoft.com/azure/active-directory /managed-identities-azure-resources/overview
279
+ [9] : https://learn.microsoft.com/entra/identity /managed-identities-azure-resources/overview
300
280
301
281
# ## Granting access to a private registry
302
282
303
- To access a private registry use an Azure AD identity which has been granted permissions to pull Bicep modules.
283
+ To access a private registry use an Entra ID identity which has been granted permissions to pull Bicep modules.
304
284
When using `Environment` credential type, see [create a service principal that can access resources][11] to create the identity.
305
285
If you are using the `ManagedIdentity` credential type, an identity is created for when you [configure the managed identity][9].
306
286
0 commit comments