Comments (2)
This would indeed increase validation possibilities like catching a simple error like below. The array is a one-dimensional array, while the module tries to access the second dimension and would therefore fail at deployment.
param environments string[]
module KeyVaults '../any/key-vault.bicep' = [for (environment, i) in environments: {
name: 'key-vault-${environment[i]}'
params: {
ProductName: 'ProductName'
Environment: environment[i]
}
}]
from bicep.
Closing as this is covered by the "user defined types" work.
from bicep.
Related Issues (20)
- Log Analytics Workspaces Daily Quota in GB cannot be set lower than 1 HOT 2
- Re-export imported elements HOT 4
- Improve error message of BCP395
- Tree-shake `existing` resources where possible
- Make deployment script able to run on local host HOT 2
- Formmatting and folding code issues HOT 10
- Resource Derived Types -> Add support for User Defined Types in referenced modules HOT 5
- Reformat code
- {"error":{"code":"DeploymentNotFound","message":"Deployment '_uamiAndRoles' could not be found."}} HOT 6
- Feature: Show "common" (starred) list of resources at top of resource type completions
- Microsoft.Network/connections - Site to Site connection's authorizationKey property not settable HOT 1
- What-if fails with "Processing of the what-if request has exceeded system limitations" HOT 3
- User-defined types not parsing array correctly when deploying from template spec HOT 2
- Nested user-defined templates with discriminator are not parsed correctly when using nested loading from bicep registry
- InvalidTemplate on user defined function input variable that has a space in its variable name HOT 2
- Additional improvement ideas for resource and snippet completions
- [Question] Understanding APIVersion in Bicep (and in general) HOT 3
- Feature request: Conditional Access Policies with MS Graph provider for Bicep HOT 2
- JSON parameter and Bicep array - can't match them to work HOT 2
- Add the ability to suppress BCP091 error in bicepparam files.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bicep.