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

[PROD] GET templates v2 API needs to get updated to not include default values for connection string properties #1463

Open
etheodoridou opened this issue Feb 23, 2024 · 2 comments

Comments

@etheodoridou
Copy link

Create type v1 or v2: v2
App kind (linux/windows, code/container): linux
If code, which runtime stack: python/node
Create template: Queue trigger, ServiceBus Queue trigger, ServiceBus Topic trigger, Blob trigger, EventHub trigger, CosmosDB trigger, EventGrid trigger

Issues:
The connection string properties for any resource type have a default string (ex. CosmosDbConnectionString). This string is not a valid option (as in it is not one of the user's database/event hub/service bus etc connection strings) and it prevents us from picking a value from the list we get based on the resource type. In template v1, the default value for resource types is undefined and it works correctly.

This issue reproduces in production in both the new/old function create experience.

@shimedh
Copy link

shimedh commented Feb 23, 2024

@fabiocav / @soninaren / @vrdmr Can you look into fixing this?

@liliankasem liliankasem transferred this issue from Azure/azure-functions-host Apr 4, 2024
@liliankasem
Copy link
Member

@vrdmr can your team look into updating python templates?

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

3 participants