[AVM Module Issue]: Storage Account Module missing extendedLocation parameter #4476
Open
1 task done
Labels
Class: Resource Module 📦
This is a resource module
Needs: Triage 🔍
Maintainers need to triage still
Type: AVM 🅰️ ✌️ Ⓜ️
This is an AVM related issue
Check for previous/existing GitHub issues
Issue Type?
I'm not sure
Module Name
avm/res/storage/storage-account
(Optional) Module Version
0.9.1
Description
Hi Team,
We are testing the Azure Extended Zone in LA using Bicep template but when using the module, its giving error.
Added this in parameter file
param extendedLocation= {
name: 'Los Angeles'
type: 'EdgeZone'
}
Added this in main.bicep
param extendedLocation object
And Under module incstgpoc 'br:mcr.microsoft.com/bicep/avm/res/storage/storage-account:0.9.1' added this line.
extendedLocation: extendedLocation
Below is the error:
[{
"owner": "generated_diagnostic_collection_name#1",
"code": "BCP037",
"severity": 8,
"message": "The property "extendedLocation" is not allowed on objects of type "params". Permissible properties include "accessTier", "allowCrossTenantReplication", "allowedCopyScope", "allowSharedKeyAccess", "azureFilesIdentityBasedAuthentication", "customDomainName", "customDomainUseSubDomainName", "customerManagedKey", "defaultToOAuthAuthentication", "diagnosticSettings", "dnsEndpointType", "enableTelemetry", "isLocalUserEnabled", "kind", "localUsers", "lock", "managedIdentities", "minimumTlsVersion", "networkAcls", "queueServices", "roleAssignments", "sasExpirationPeriod", "supportsHttpsTrafficOnly", "tableServices", "tags".",
"source": "bicep",
"startLineNumber": 196,
"startColumn": 5,
"endLineNumber": 196,
"endColumn": 21
}]
Please help us with this issue.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: