From f28f9f1ebfbf86047396ee54d13afcefd5e76dcf Mon Sep 17 00:00:00 2001 From: Eron Wright Date: Thu, 7 Mar 2024 13:42:54 -0800 Subject: [PATCH] go.mod --- provider/cmd/pulumi-resource-kubernetes/schema.json | 2 +- sdk/dotnet/Yaml/V2/ConfigGroup.cs | 2 +- sdk/go.mod | 3 ++- sdk/go.sum | 6 ++++-- sdk/go/kubernetes/yaml/v2/configGroup.go | 4 ++-- .../com/pulumi/kubernetes/yaml_v2/ConfigGroupArgs.java | 8 ++++---- sdk/nodejs/yaml/v2/configGroup.ts | 2 +- sdk/python/pulumi_kubernetes/yaml/v2/ConfigGroup.py | 6 +++--- 8 files changed, 18 insertions(+), 15 deletions(-) diff --git a/provider/cmd/pulumi-resource-kubernetes/schema.json b/provider/cmd/pulumi-resource-kubernetes/schema.json index 8c10a568ff..1c1a2e0b93 100644 --- a/provider/cmd/pulumi-resource-kubernetes/schema.json +++ b/provider/cmd/pulumi-resource-kubernetes/schema.json @@ -95228,7 +95228,7 @@ }, "resourcePrefix": { "type": "string", - "description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." + "description": "A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"." }, "skipAwait": { "type": "boolean", diff --git a/sdk/dotnet/Yaml/V2/ConfigGroup.cs b/sdk/dotnet/Yaml/V2/ConfigGroup.cs index 3a3bf08d18..3c4612858a 100644 --- a/sdk/dotnet/Yaml/V2/ConfigGroup.cs +++ b/sdk/dotnet/Yaml/V2/ConfigGroup.cs @@ -232,7 +232,7 @@ public class ConfigGroupArgs : global::Pulumi.ResourceArgs public InputUnion>? Objs { get; set; } /// - /// An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + /// A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". /// [Input("resourcePrefix")] public Input? ResourcePrefix { get; set; } diff --git a/sdk/go.mod b/sdk/go.mod index 4624fe5afa..ec1c8d94ff 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible github.com/pkg/errors v0.9.1 - github.com/pulumi/pulumi/sdk/v3 v3.107.0 + github.com/pulumi/pulumi/sdk/v3 v3.108.1 ) require ( @@ -33,6 +33,7 @@ require ( github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect + github.com/google/uuid v1.3.1 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index cb5fe7a637..e6ec3097c5 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -75,6 +75,8 @@ github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -148,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.107.0 h1:bef+ayh9+4KkAqXih4EjlHfQXRY24NWPwWBIQhBxTjg= -github.com/pulumi/pulumi/sdk/v3 v3.107.0/go.mod h1:Ml3rpGfyZlI4zQCG7LN2XDSmH4XUNYdyBwJ3yEr/OpI= +github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= +github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/kubernetes/yaml/v2/configGroup.go b/sdk/go/kubernetes/yaml/v2/configGroup.go index 66db3cbe12..ff5d23e8c1 100644 --- a/sdk/go/kubernetes/yaml/v2/configGroup.go +++ b/sdk/go/kubernetes/yaml/v2/configGroup.go @@ -253,7 +253,7 @@ type configGroupArgs struct { Files interface{} `pulumi:"files"` // Objects representing Kubernetes resources. Objs interface{} `pulumi:"objs"` - // An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + // A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". ResourcePrefix *string `pulumi:"resourcePrefix"` // Indicates that child resources should skip the await logic. SkipAwait *bool `pulumi:"skipAwait"` @@ -267,7 +267,7 @@ type ConfigGroupArgs struct { Files pulumi.Input // Objects representing Kubernetes resources. Objs pulumi.Input - // An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + // A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". ResourcePrefix pulumi.StringPtrInput // Indicates that child resources should skip the await logic. SkipAwait pulumi.BoolPtrInput diff --git a/sdk/java/src/main/java/com/pulumi/kubernetes/yaml_v2/ConfigGroupArgs.java b/sdk/java/src/main/java/com/pulumi/kubernetes/yaml_v2/ConfigGroupArgs.java index a1d017a647..57cf877f70 100644 --- a/sdk/java/src/main/java/com/pulumi/kubernetes/yaml_v2/ConfigGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/kubernetes/yaml_v2/ConfigGroupArgs.java @@ -50,14 +50,14 @@ public Optional>>> objs() { } /** - * An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + * A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". * */ @Import(name="resourcePrefix") private @Nullable Output resourcePrefix; /** - * @return An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + * @return A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". * */ public Optional> resourcePrefix() { @@ -205,7 +205,7 @@ public Builder objs(List objs) { } /** - * @param resourcePrefix An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + * @param resourcePrefix A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". * * @return builder * @@ -216,7 +216,7 @@ public Builder resourcePrefix(@Nullable Output resourcePrefix) { } /** - * @param resourcePrefix An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + * @param resourcePrefix A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". * * @return builder * diff --git a/sdk/nodejs/yaml/v2/configGroup.ts b/sdk/nodejs/yaml/v2/configGroup.ts index 20eebc4e76..85d06fdc42 100644 --- a/sdk/nodejs/yaml/v2/configGroup.ts +++ b/sdk/nodejs/yaml/v2/configGroup.ts @@ -158,7 +158,7 @@ export interface ConfigGroupArgs { */ objs?: pulumi.Input; /** - * An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + * A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". */ resourcePrefix?: pulumi.Input; /** diff --git a/sdk/python/pulumi_kubernetes/yaml/v2/ConfigGroup.py b/sdk/python/pulumi_kubernetes/yaml/v2/ConfigGroup.py index 839b71360d..b2216ea68d 100644 --- a/sdk/python/pulumi_kubernetes/yaml/v2/ConfigGroup.py +++ b/sdk/python/pulumi_kubernetes/yaml/v2/ConfigGroup.py @@ -23,7 +23,7 @@ def __init__(__self__, *, The set of arguments for constructing a ConfigGroup resource. :param pulumi.Input[Union[str, Sequence[pulumi.Input[str]]]] files: Set of paths or a URLs that uniquely identify files. :param pulumi.Input[Union[Any, Sequence[Any]]] objs: Objects representing Kubernetes resources. - :param pulumi.Input[str] resource_prefix: An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + :param pulumi.Input[str] resource_prefix: A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". :param pulumi.Input[bool] skip_await: Indicates that child resources should skip the await logic. :param pulumi.Input[Union[str, Sequence[pulumi.Input[str]]]] yaml: YAML text containing Kubernetes manifest(s). """ @@ -66,7 +66,7 @@ def objs(self, value: Optional[pulumi.Input[Union[Any, Sequence[Any]]]]): @pulumi.getter(name="resourcePrefix") def resource_prefix(self) -> Optional[pulumi.Input[str]]: """ - An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". """ return pulumi.get(self, "resource_prefix") @@ -210,7 +210,7 @@ def omit_resource(obj, opts): :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union[str, Sequence[pulumi.Input[str]]]] files: Set of paths or a URLs that uniquely identify files. :param pulumi.Input[Union[Any, Sequence[Any]]] objs: Objects representing Kubernetes resources. - :param pulumi.Input[str] resource_prefix: An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". + :param pulumi.Input[str] resource_prefix: A prefix for the auto-generated resource names. Defaults to the name of the ConfigGroup. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName". :param pulumi.Input[bool] skip_await: Indicates that child resources should skip the await logic. :param pulumi.Input[Union[str, Sequence[pulumi.Input[str]]]] yaml: YAML text containing Kubernetes manifest(s). """