Questions tagged [pulumi-azure]

40 questions
2
votes
1 answer

Mobile app performing an HTTP Post to Azure Function using Bearer Token and Function Key returns Unauthorized

I'm using a mobile app and am receiving an Unauthorized response when attempting to post to an Azure Function and providing a function key. Error: StatusCode: 401, ReasonPhrase: 'Unauthorized' Code: let postToAsync (baseAddress:string)…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
2
votes
0 answers

Unable to retrieve API keys for a Function App using ListWebAppFunctionKeysArgs

How can I retrieve API keys for a function app in Azure using ListWebAppFunctionKeysArgs? I have the following method: public static Output?> Get(string resourceGroupName, FunctionApp functionApp) { var output…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
2
votes
1 answer

Pulumi: How can I retrieve function names from a Function App in Azure?

Using Pulumi, how can I retrieve function names from a Function App in Azure? Objective: My objective is to retrieve all Azure functions and their associated API key for a given Function App. Issue: I am unable to find Pulumi documentation on how to…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
1
vote
1 answer

Authorization:REDACTED when executing an Azure Function

I am observing Authorization:REDACTED in the log stream attached to my Azure Function. Context: Note, that I can execute the same function successfully when I run the Function App in the debugger within my Visual Studio session, using local…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
1
vote
1 answer

Retrieving Connection String when Creating ServiceBus with Pulumi (AzureNative)

I create a Servicebus-Namespace using AzureNative on Pulumi: public void CreateNamespace(string namespaceName, SkuName skuname, SkuTier tier) { var namespace = new Namespace(namespaceName, new NamespaceArgs { Location =…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
1
vote
2 answers

How to add a new app setting to Azure Web App using pulumi without removing the existing settings?

I'm using pulumi azure native for infrastructure as code. I need to create an Azure Web App (based on an App Service Plan) and add some app settings (and connection strings) throughout the code, e.g., Application Insights instrumentation key, Blob…
msamsami
  • 644
  • 5
  • 10
1
vote
1 answer

Pulumi- C# - output variable

I am trying to provision resource group with below class. Calling it from the stack class but facing some issue with the output variable. class GenerateResourceGroup { public GenerateResourceGroup(Input location, Input rgName,…
1
vote
2 answers

Filter multiple Event Types on Pulumi AzureNative Event Grid Topic Subscription

I create Event Grid Topic Subscriptions to Service Bus Queues: var args = new EventSubscriptionArgs { EventSubscriptionName = topic.SubscriptionName, Scope = topic.Id, Destination = new…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
0
votes
1 answer

Azure Function Keyvault Reference -> User Assigned Identity instead of System Assigned managed Identity

I am currently trying to build an Azure infrastructure for a project using Pulumi (unfortunately I had to use the azure_native provider). The problem is that my function does not understand that it should use the User Assigned Identity for KeyVault…
0
votes
0 answers

Pulumi CertificateBinding error: "App Service Certificate not found"

I'm using the following code to register a new custom domain / host name with an Azure Web App Service, create an App Service Managed certificate, and then bind the certificate to the host name. var webAppBinding = new…
Martin Hatch
  • 279
  • 2
  • 16
0
votes
1 answer

There is no current event loop in thread 'ThreadPoolExecutor-0_0' while using pulumi_azure_native.authorization

I have a couple of custom provider components in my projects and I've written a function to return the credentials of the current Pulumi login context. Here is my function: def get_access_token(endpoint: Optional[str] = None) -> Tuple[str, str,…
msamsami
  • 644
  • 5
  • 10
0
votes
0 answers

Dotnet pulumi An error occurred trying to start process 'pulumi' with working directory '/tmp/automation-2biaety1.30k'. No such file or directory

I run pulumi in dotnet 6 project. I didn't specify the path for stack work directory, that is fine because it will automatically create a folder in /tmp folder. Everything is ok when I run the project on Windows. But I got a problem when run it in a…
Bye
  • 732
  • 8
  • 29
0
votes
1 answer

Dependencies not getting installed when I run "pulumi new azure-python". It just keeps builiding the wheel

I am trying to install the dependencies of azure-python using pulumi and the dependencies are not getting installed. It just keeps building the wheel with no output whatsoever. I run the following commands: $ mkdir azure-python; cd azure-python; $…
0
votes
0 answers

Set csproj folder as Pulumi working directory once

The use case is that we have to perform a Pulumi deployment from outside the csproj folder. So I am doing this in a PowerShell script: $csprojFolder = "./pathtocsproj" pulumi stack select $stackName --secrets-provider=$keyVaultURL --create --cwd…
dushyantp
  • 4,398
  • 7
  • 37
  • 59
0
votes
0 answers

How to retrieve ID from KeyVault addon profile with ManagedCluster(AKS) C# Pulumi

I'm creating a managed cluster with a keyvault in Pulumi C# and struggling to retrieve the clientID from the ManagedCluster AddonProfile. Here's my AddonProfile creation: AddonProfiles = { { "azureKeyvaultSecretsProvider", new…
1
2 3