dirien / pulumi-azapi

Pulumi provider for Azure API Management
Apache License 2.0
2 stars 3 forks source link

Unable to create Provider (Typescript) : Invalid or unknown key #262

Open MairaTariq16 opened 5 months ago

MairaTariq16 commented 5 months ago

Describe the bug I am trying to create a Provider for AzAPI using Pulumi Typescript SDK. I run into the following error when I try to create one with the following args:

Expected behavior The provider should be created without any errors, as the args are correct according to the documentation here.

Actual behavior However, I get the following errors: error: pulumi:providers:azapi resource 'azapi' has a problem: could not validate provider configuration: Invalid or unknown key. Examine values at 'azapi.clientId'. error: pulumi:providers:azapi resource 'azapi' has a problem: could not validate provider configuration: Invalid or unknown key. Examine values at 'azapi.clientSecret'. error: pulumi:providers:azapi resource 'azapi' has a problem: could not validate provider configuration: Invalid or unknown key. Examine values at 'azapi.defaultLocation'. error: pulumi:providers:azapi resource 'azapi' has a problem: could not validate provider configuration: Invalid or unknown key. Examine values at 'azapi.environment'. error: pulumi:providers:azapi resource 'azapi' has a problem: could not validate provider configuration: Invalid or unknown key. Examine values at 'azapi.subscriptionId'. error: pulumi:providers:azapi resource 'azapi' has a problem: could not validate provider configuration: Invalid or unknown key. Examine values at 'azapi.tenantId'.

dirien commented 5 months ago

@MairaTariq16 thanks for reporting let me check on this.

Could you print your pulumi about too and post it here?

MairaTariq16 commented 4 months ago

@dirien here you go: `CLI
Version 3.116.1 Go Version go1.22.3 Go Compiler gc

Host
OS darwin Version 14.5 Arch arm64`