Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to use latest type declarations without upgrading bicep #6784

Closed
blackchoey opened this issue May 7, 2022 · 1 comment
Closed
Labels
enhancement New feature or request Needs: Triage 🔍

Comments

@blackchoey
Copy link

blackchoey commented May 7, 2022

Is your feature request related to a problem? Please describe.

I'm using bicep to register outlook channel for bot service (a feature from #5085). Since I'm using an old bicep version, bicep build failed because it thinks OutlookChannel is an invalid value. I need to use the latest bicep release to build the bicep file I authored. Here's the bicep snippet I wrote:

resource botServiceOutlookChannel 'Microsoft.BotService/botServices/channels@2021-05-01-preview' = {
  parent: botService
  location: 'global'
  name: 'OutlookChannel'
  properties: {
    channelName: 'OutlookChannel'
  }
}

Describe the solution you'd like
I would expect bicep can check whether there's any type updates and download the latest type automatically when executing build command. So I can reduce the frequency of updating bicep binary.

In the meantime, I'm thinking whether it's possible to read the declaration from internet. So people does not need to wait for a new bicep type declaration after Azure service released a new feature. However this may introduce some performance issue.

@blackchoey blackchoey added the enhancement New feature or request label May 7, 2022
@ghost ghost added the Needs: Triage 🔍 label May 7, 2022
@alex-frankel
Copy link
Collaborator

Dup of #5453

@ghost ghost locked as resolved and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

2 participants