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

Add template spec support to Publish-Bicep #248

Open
StefanIvemo opened this issue Mar 17, 2022 · 1 comment
Open

Add template spec support to Publish-Bicep #248

StefanIvemo opened this issue Mar 17, 2022 · 1 comment

Comments

@StefanIvemo
Copy link
Member

StefanIvemo commented Mar 17, 2022

Is your feature request related to a problem? Please describe.
We should add support to publish bicep files as template specs using Publish-Bicep.

Describe the solution you'd like
I want Publish-Bicep to support creating template specs. To do this we need to authenticate but I believe we can accomplish this using AzAuth.

Publish-Bicep -Path .\storage.bicep -Target 'ts:<sub-id>/<rg-name>/<template-spec-name>:<version>'

Publish-Bicep -Path .\storage.bicep -Type templateSpec -Name storage -Version v1 -Location westeurope -ResourceGroup myspecs-rg

Additional context
Template Specs - Create Or Update
https://docs.microsoft.com/en-us/rest/api/resources/template-specs/create-or-update

@StefanIvemo StefanIvemo added the enhancement New feature or request label Mar 17, 2022
@StefanIvemo
Copy link
Member Author

Is this doable @PalmEmanuel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants