Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to deploy functions app where name is autogenerated using uniqueString #5394

Closed
elygre opened this issue Dec 10, 2021 · 0 comments
Closed
Labels
enhancement New feature or request Needs: Triage 🔍

Comments

@elygre
Copy link

elygre commented Dec 10, 2021

This is perhaps neither a bug nor a feature request, but more of a "how do I...".

We're deploying the infrastructure for a functions app using bicep, where the name of the functions app itself is generated using the uniqueString function: var functionAppName = 'yggdrasil-${uniqueString(resourceGroup().id)}'. This is deployed using a pipeline in Azure DevOps, which is probably relevant.

Now, we also want to automate the deployment of the app itself. The CLI func azure functionapp publish <funcname> needs to know the function name, which is autogenerated.

I guess there are two questions:

  • Is there an obvious solution?
  • Is publishing the function app something that might be done from within bicep, using the functionAppName variable -- now or in the future?
@elygre elygre added the enhancement New feature or request label Dec 10, 2021
@ghost ghost added the Needs: Triage 🔍 label Dec 10, 2021
@Azure Azure locked and limited conversation to collaborators Dec 10, 2021
@alex-frankel alex-frankel converted this issue into discussion #5404 Dec 10, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

1 participant