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

use "pulumi.json#/Resource" in yaml/v2 Resources #2918

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-kubernetes/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -95224,7 +95224,7 @@
"resources": {
"type": "array",
"items": {
"$ref": "pulumi.json#/Any"
"$ref": "pulumi.json#/Resource"
},
"description": "Resources created by the ConfigGroup."
}
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/gen/overlays.go
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ var yamlConfigGroupV2Resource = pschema.ResourceSpec{
TypeSpec: pschema.TypeSpec{
Type: "array",
Items: &pschema.TypeSpec{
Ref: "pulumi.json#/Any",
Ref: "pulumi.json#/Resource",
},
},
Description: "Resources created by the ConfigGroup.",
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Yaml/V2/ConfigGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public partial class ConfigGroup : global::Pulumi.ComponentResource
/// Resources created by the ConfigGroup.
/// </summary>
[Output("resources")]
public Output<ImmutableArray<object>> Resources { get; private set; } = null!;
public Output<ImmutableArray<Pulumi.Resource>> Resources { get; private set; } = null!;


/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions sdk/go/kubernetes/yaml/v2/configGroup.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/nodejs/yaml/v2/configGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class ConfigGroup extends pulumi.ComponentResource {
/**
* Resources created by the ConfigGroup.
*/
public /*out*/ readonly resources!: pulumi.Output<any[]>;
public /*out*/ readonly resources!: pulumi.Output<pulumi.Resource[]>;

/**
* Create a ConfigGroup resource with the given unique name, arguments, and options.
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/pulumi_kubernetes/yaml/v2/ConfigGroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def _internal_init(__self__,

@property
@pulumi.getter
def resources(self) -> pulumi.Output[Optional[Sequence[Any]]]:
def resources(self) -> pulumi.Output[Optional[Sequence[pulumi.Resource]]]:
"""
Resources created by the ConfigGroup.
"""
Expand Down
Loading