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

using deployment().properties.templateLink.uri in bicep #325

Open
bmoore-msft opened this issue Aug 22, 2020 · 2 comments
Open

using deployment().properties.templateLink.uri in bicep #325

bmoore-msft opened this issue Aug 22, 2020 · 2 comments
Labels

Comments

@bmoore-msft
Copy link
Contributor

Related to #27

Staging of templates will be unnecessary in bicep since we compile and send inline. A couple things came to mind:

  1. common pattern in ARM today is to use deployment().properties.templateLink.uri as a "root" location for all artifacts (templates and non-template files). This property only exists when the deployment resource is created with a templateLink property. If we send inline, this won't exist and the pattern won't work.

  2. should the CLIs do staging to solve the problem (and just first class the scenario in general) what happens for non-cli users?

@ghost ghost added the Needs: Triage 🔍 label Aug 22, 2020
@alex-frankel
Copy link
Collaborator

Are these concerns specifically for non-template artifacts? Won't the template link property still exist as long as I deploy the main template via uri?

If this is specifically about non-template artifacts, then yes I do think we should first class this as much as we can. As with template specs, I think the experience will be best with the CLIs, but the APIs the CLI depends on should also be as easy to use as possible.

@alex-frankel alex-frankel added the question Further information is requested label Aug 24, 2020
@alex-frankel alex-frankel added discussion This is a discussion issue and not a change proposal. and removed Needs: Triage 🔍 question Further information is requested labels Sep 3, 2020
@alex-frankel
Copy link
Collaborator

This will become more of a concern when deployment tooling is compiling bicep and creating the deployment. For now, we can instruct them to deploy however it is required

@alex-frankel alex-frankel added revisit and removed discussion This is a discussion issue and not a change proposal. labels Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants