Skip to content

Commit

Permalink
Add note on app.ContainerApp API versions and KV secrets (#3284)
Browse files Browse the repository at this point in the history
Prompted by #3243
  • Loading branch information
thomas11 committed May 14, 2024
1 parent a1d5194 commit 9ee2174
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/resources/app-ContainerApp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**Note**: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the `KeyVaultUrl` property. If you encounter the error _"invalid: value or keyVaultUrl and identity should be provided"_ with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.
8 changes: 4 additions & 4 deletions provider/cmd/pulumi-resource-azure-native/schema.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions sdk/dotnet/App/ContainerApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace Pulumi.AzureNative.App
/// Azure REST API version: 2022-10-01. Prior API version in Azure Native 1.x: 2022-03-01.
///
/// Other available API versions: 2022-01-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-03-01.
///
/// **Note**: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the `KeyVaultUrl` property. If you encounter the error _"invalid: value or keyVaultUrl and identity should be provided"_ with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.
/// </summary>
[AzureNativeResourceType("azure-native:app:ContainerApp")]
public partial class ContainerApp : global::Pulumi.CustomResource
Expand Down
2 changes: 2 additions & 0 deletions sdk/nodejs/app/containerApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import * as utilities from "../utilities";
* Azure REST API version: 2022-10-01. Prior API version in Azure Native 1.x: 2022-03-01.
*
* Other available API versions: 2022-01-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-03-01.
*
* **Note**: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the `KeyVaultUrl` property. If you encounter the error _"invalid: value or keyVaultUrl and identity should be provided"_ with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.
*/
export class ContainerApp extends pulumi.CustomResource {
/**
Expand Down
4 changes: 4 additions & 0 deletions sdk/python/pulumi_azure_native/app/container_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def __init__(__self__,
Other available API versions: 2022-01-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-03-01.
**Note**: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the `KeyVaultUrl` property. If you encounter the error _"invalid: value or keyVaultUrl and identity should be provided"_ with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[pulumi.InputType['ConfigurationArgs']] configuration: Non versioned Container App configuration properties.
Expand All @@ -246,6 +248,8 @@ def __init__(__self__,
Other available API versions: 2022-01-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-03-01.
**Note**: the current default Azure API version for this resource, 2022-10-01, has an issue with referencing Key Vault secrets via the `KeyVaultUrl` property. If you encounter the error _"invalid: value or keyVaultUrl and identity should be provided"_ with such a configuration, you can use API version 2023-05-1 instead. In v3 of this provider, we will update the default API version.
:param str resource_name: The name of the resource.
:param ContainerAppArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
Expand Down

0 comments on commit 9ee2174

Please sign in to comment.