Skip to content

Commit 8fa7e42

Browse files
committed
bicep redis
1 parent 9212160 commit 8fa7e42

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/InfrastructureAsCode/main.bicep

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ resource appServiceApp 'Microsoft.Web/sites@2020-12-01' = {
100100
}
101101
}
102102

103+
resource redisCache 'Microsoft.Cache/Redis@2022-06-01' = {
104+
name: '${uniqueString(resourceGroup().id)}-redis'
105+
location: location
106+
properties: {
107+
sku: {
108+
name: 'Basic'
109+
family: 'C'
110+
capacity: 0
111+
}
112+
enableNonSslPort: false
113+
minimumTlsVersion: '1.2'
114+
}
115+
}
116+
103117
output application_name string = appServiceApp.name
104118
output application_url string = appServiceApp.properties.hostNames[0]
105119
output container_registry_name string = containerRegistry.name

0 commit comments

Comments
 (0)