You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The deployment pane is a fast and convenient way to deploy a Bicep file. However, it can be challenging to find the correct scope to deploy a file to. We have a large repository with many Bicep-files that are deployed to any of a large number of resource groups, subscriptions, or management groups.
Describe the solution you'd like
I would like to configure the deployment scope for a given Bicep-file using a separate configuration file. This would allow new users of the file to get the correct scope without any further research. This file would be checked in to the repository together with the Bicep files.
An example of what this could look like:
$ tree ..
├── bicep-deployment-pane.json
├── main.bicep
└── other.bicep
// bicep-deployment-pane.json{"main.bicep": {// resource-group scoped deployments only require a scope"scope": "/subscriptions/<id>/resourceGroups/<name>"},"other.bicep": {// subscription scoped deployments require a location too"scope": "/subscriptions/<id>","location": "swedencentral"}}
FYI:
I did a small investigation if there was a way to configure this using the VS Code configuration files, but have not been able to find any way. It seems like extension stores its state in the VS Code extension context.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The deployment pane is a fast and convenient way to deploy a Bicep file. However, it can be challenging to find the correct scope to deploy a file to. We have a large repository with many Bicep-files that are deployed to any of a large number of resource groups, subscriptions, or management groups.
Describe the solution you'd like
I would like to configure the deployment scope for a given Bicep-file using a separate configuration file. This would allow new users of the file to get the correct scope without any further research. This file would be checked in to the repository together with the Bicep files.
An example of what this could look like:
FYI:
I did a small investigation if there was a way to configure this using the VS Code configuration files, but have not been able to find any way. It seems like extension stores its state in the VS Code extension context.
The text was updated successfully, but these errors were encountered: