Overview
|
|
| Name |
storage |
| Tag |
2026.8.25.2 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/storage:2026.8.25.2 |
| Last updated |
2026-08-25 09:48:41:+00:00 |
| Created |
2026-08-25 09:48:41:+00:00 |
| Digest |
sha256:3e9dbe6fef2149696fcb1493152295de6e4855b87c2a35b6bf94df4d605bdfc7 |
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.8.25.2' = {
name: 'storage${env}${version}'
params: {
env: env
system: system
tags: tags
}
}