forked from arielkru/badCode
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstorage.bicep
More file actions
49 lines (40 loc) · 899 Bytes
/
storage.bicep
File metadata and controls
49 lines (40 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@description('Name of environment')
param env string = 'dev'
@description('Default location for all resources.')
param location string = resourceGroup().location
var name = 'bicepgoat'
resource datadisk 'Microsoft.Compute/disks@2021-12-01' = {
name: '${name}-disk-${env}'
location: location
sku: {
name: 'Standard_LRS'
}
properties: {
diskSizeGB: 10
encryptionSettingsCollection: {
enabled: false
}
}
}
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-01-01' = {
name: '${name}-sa-${env}'
location: location
kind: 'StorageV2'
sku: {
name: 'Standard_GRS'
}
properties: {
supportsHttpsTrafficOnly: false
networkAcls: {
bypass: 'None'
defaultAction: 'Deny'
}
}
resource configWeb 'config' = {
name: 'web'
properties: {
minTlsVersion: '1.1'
remoteDebuggingEnabled: true
}
}
}