Overview
|
|
| Name |
storage |
| Tag |
2026.9.9.2 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/storage:2026.9.9.2 |
| Last updated |
2026-09-09 12:51:10:+00:00 |
| Created |
2026-09-09 12:51:10:+00:00 |
| Digest |
sha256:5aa44e8c9c769c2b73016fee295c0b1f834c2dc44015c5e7d5871eb1f5895b5d |
Parameters
| Name |
Type |
Required |
Description |
env |
string |
Yes |
|
system |
string |
Yes |
System/project name |
tags |
object |
Yes |
Tags to add to the resources |
location |
string |
No
resourceGroup().location |
Azure region of the deployment |
prefix |
string |
No
'' |
|
policies |
object |
No
{ } |
|
kind |
string |
No
'StorageV2' |
|
usePolicy |
bool |
No
false |
|
envShortMap |
object |
No
{ dev: env stg: env prd: env rc: env test: 'tst' prod: 'prd' development: 'dev' staging: 'stg' } |
|
envShort |
string |
No
if(empty(envShortMap[env]), if(lessOrEquals(length(env), 3), env, substring(env, 0, 3)), envShortMap[env]) |
|
storageAccountName |
string |
No
format('{0}{1}{2}', prefix, system, envShort) |
|
Outputs
| Name |
Type |
Description |
storageAccountName |
string |
|
Example
@description('The target environment.')
param env string
@description('The deployment version.')
param version string = '1.0.0.0'
@description('System/project name')
param system string
@description('Tags to add to the resources')
param tags object
module storage 'br:bicepacrdevwcom.azurecr.io/bicep/modules/storage:2026.9.9.2' = {
name: 'storage${env}${version}'
params: {
env: env
system: system
tags: tags
}
}