Skip to content

Commit

Permalink
added cloudflare config script
Browse files Browse the repository at this point in the history
  • Loading branch information
christian bellee authored and christian bellee committed Dec 31, 2024
1 parent 4373c53 commit 71002f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module storage './modules/stor.bicep' = {
tags: tags
containers: containers
sku: 'Standard_LRS'
deployCustomDomain: false
//deployCustomDomain: false
}
}

Expand Down
9 changes: 8 additions & 1 deletion infra/modules/stor.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,14 @@ resource storage 'Microsoft.Storage/storageAccounts@2023-05-01' = {
sku: {
name: sku
}
properties: deployCustomDomain ? customDomainProps : props
properties: {
accessTier: accessTier
allowBlobPublicAccess: isPublicBlobAccessAllowed
defaultToOAuthAuthentication: isDefaultToOAuthAuthentication
publicNetworkAccess: isPublicNetworkAccessEnabled
supportsHttpsTrafficOnly: isSupportHttpsTrafficOnly
allowSharedKeyAccess: isAllowSharedAccessKey
}
tags: tags
}

Expand Down

0 comments on commit 71002f1

Please sign in to comment.