From 5762d559e3adac63837ad34910b81af56f2a3d4c Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Mon, 12 Aug 2024 02:32:59 -0700 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.89.0 (#432) This PR was generated via `$ upgrade-provider pulumi/pulumi-rke --kind=bridge --pr-reviewers=iwahbe`. --- - Updating Java Gen version from 0.12.0 to 0.14.0. - Upgrading pulumi-terraform-bridge from v3.88.0 to v3.89.0. --- .pulumi-java-gen.version | 2 +- examples/go.mod | 4 +- examples/go.sum | 8 +- provider/go.mod | 7 +- provider/go.sum | 14 +- sdk/go.mod | 2 +- sdk/go.sum | 4 +- sdk/java/build.gradle | 4 +- .../src/main/java/com/pulumi/rke/Cluster.java | 23 +- .../main/java/com/pulumi/rke/Provider.java | 17 +- .../main/java/com/pulumi/rke/Utilities.java | 14 +- sdk/python/pulumi_rke/cluster.py | 234 +++++++++--------- 12 files changed, 175 insertions(+), 158 deletions(-) diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index d33c3a21..0548fb4e 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.12.0 \ No newline at end of file +0.14.0 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index cfade0e6..2bdc45f0 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-rke/examples/v3 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.126.0 +require github.com/pulumi/pulumi/pkg/v3 v3.128.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.126.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.128.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 8ef90117..01fb8a55 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,10 @@ 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.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.126.0 h1:XaZU1ehjHN2I5ihkfwxK/UFMDiCDM9FSt2TBnbldAx4= -github.com/pulumi/pulumi/pkg/v3 v3.126.0/go.mod h1:1P4/oK9zceOJUm48QQl/TqjDN68lfsdnTR1FITTFddw= -github.com/pulumi/pulumi/sdk/v3 v3.126.0 h1:6GQVhwG2jgnG7wjRiWgrq0/sU39onctAiBcvTlqb20s= -github.com/pulumi/pulumi/sdk/v3 v3.126.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.128.0 h1:K3qtJYjHg4DkA7LxknY/MoQZ+QHdHQDh/k2njjmjHXM= +github.com/pulumi/pulumi/pkg/v3 v3.128.0/go.mod h1:/spoJXy/mqQ8fBLgXBEbUrAnL7pHdfXOviIo5fZROEY= +github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= +github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= 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/provider/go.mod b/provider/go.mod index 37318903..4ba62929 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,8 +3,8 @@ module github.com/pulumi/pulumi-rke/provider/v3 go 1.21.12 require ( - github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0 - github.com/pulumi/pulumi/sdk/v3 v3.126.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0 + github.com/pulumi/pulumi/sdk/v3 v3.128.0 github.com/rancher/terraform-provider-rke v1.5.0 ) @@ -212,7 +212,7 @@ require ( github.com/pulumi/pulumi-java/pkg v0.11.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect github.com/pulumi/pulumi-yaml v1.9.1 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.126.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.128.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rancher/lasso v0.0.0-20240123150939-7055397d6dfa // indirect @@ -251,6 +251,7 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/xlab/treeprint v1.2.0 // indirect + github.com/yuin/goldmark v1.7.4 // indirect github.com/zclconf/go-cty v1.14.2 // indirect github.com/zclconf/go-cty-yaml v1.0.2 // indirect go.etcd.io/etcd/api/v3 v3.5.9 // indirect diff --git a/provider/go.sum b/provider/go.sum index 53afb8c7..25271655 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2384,16 +2384,16 @@ github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2p github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= github.com/pulumi/pulumi-java/pkg v0.11.0 h1:Jw9gBvyfmfOMq/EkYDm9+zGPxsDAA8jfeMpHmtZ+1oA= github.com/pulumi/pulumi-java/pkg v0.11.0/go.mod h1:sXAk25P47AQVQL6ilAbFmRNgZykC7og/+87ihnqzFTc= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0 h1:0W2Y3Fk7VAWHpjD3FwzVnqWo7g1hD+96C0YDobMnvDU= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0/go.mod h1:QSDiqiCMMbfzrsp3oyRPWgSVE/dkVH5ujxoFappqjdo= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0 h1:Om0Yw07/5dVABB2ou8+XBCmbp9TUUtDZJEh2B5jPGgI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0/go.mod h1:EWGqRo+ogMPty23b6rVUajgJXUDSNXU+WqcZTPlzyEI= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.9.1 h1:JPeI80M23SPactxgnCFS1casZlSr7ZhAXwSx4H55QQ4= github.com/pulumi/pulumi-yaml v1.9.1/go.mod h1:OH0R34yJxA5u6zjYBN4JXcWoEvfkRoOVWi6viu8buoA= -github.com/pulumi/pulumi/pkg/v3 v3.126.0 h1:XaZU1ehjHN2I5ihkfwxK/UFMDiCDM9FSt2TBnbldAx4= -github.com/pulumi/pulumi/pkg/v3 v3.126.0/go.mod h1:1P4/oK9zceOJUm48QQl/TqjDN68lfsdnTR1FITTFddw= -github.com/pulumi/pulumi/sdk/v3 v3.126.0 h1:6GQVhwG2jgnG7wjRiWgrq0/sU39onctAiBcvTlqb20s= -github.com/pulumi/pulumi/sdk/v3 v3.126.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.128.0 h1:K3qtJYjHg4DkA7LxknY/MoQZ+QHdHQDh/k2njjmjHXM= +github.com/pulumi/pulumi/pkg/v3 v3.128.0/go.mod h1:/spoJXy/mqQ8fBLgXBEbUrAnL7pHdfXOviIo5fZROEY= +github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= +github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2587,6 +2587,8 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yuin/goldmark v1.7.4 h1:BDXOHExt+A7gwPCJgPIIq7ENvceR7we7rOS9TNoLZeg= +github.com/yuin/goldmark v1.7.4/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= diff --git a/sdk/go.mod b/sdk/go.mod index 3fd66ded..f4451def 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.126.0 + github.com/pulumi/pulumi/sdk/v3 v3.128.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 4a60806e..6185e557 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,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.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.126.0 h1:6GQVhwG2jgnG7wjRiWgrq0/sU39onctAiBcvTlqb20s= -github.com/pulumi/pulumi/sdk/v3 v3.126.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= +github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= 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/java/build.gradle b/sdk/java/build.gradle index dc483c14..e360a28c 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.12.0") + implementation("com.pulumi:pulumi:0.14.0") } task sourcesJar(type: Jar) { @@ -150,4 +150,4 @@ if (signingKey) { useInMemoryPgpKeys(signingKey, signingPassword) sign publishing.publications.mainPublication } -} \ No newline at end of file +} diff --git a/sdk/java/src/main/java/com/pulumi/rke/Cluster.java b/sdk/java/src/main/java/com/pulumi/rke/Cluster.java index 0ee1032a..49e016de 100644 --- a/sdk/java/src/main/java/com/pulumi/rke/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/rke/Cluster.java @@ -932,7 +932,7 @@ public Output> workerHosts() { * * @param name The _unique_ name of the resulting resource. */ - public Cluster(String name) { + public Cluster(java.lang.String name) { this(name, ClusterArgs.Empty); } /** @@ -940,7 +940,7 @@ public Cluster(String name) { * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ - public Cluster(String name, @Nullable ClusterArgs args) { + public Cluster(java.lang.String name, @Nullable ClusterArgs args) { this(name, args, null); } /** @@ -949,15 +949,22 @@ public Cluster(String name, @Nullable ClusterArgs args) { * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ - public Cluster(String name, @Nullable ClusterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("rke:index/cluster:Cluster", name, args == null ? ClusterArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + public Cluster(java.lang.String name, @Nullable ClusterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("rke:index/cluster:Cluster", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } - private Cluster(String name, Output id, @Nullable ClusterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("rke:index/cluster:Cluster", name, state, makeResourceOptions(options, id)); + private Cluster(java.lang.String name, Output id, @Nullable ClusterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("rke:index/cluster:Cluster", name, state, makeResourceOptions(options, id), false); } - private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + private static ClusterArgs makeArgs(@Nullable ClusterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? ClusterArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .additionalSecretOutputs(List.of( @@ -984,7 +991,7 @@ private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@N * @param state * @param options Optional settings to control the behavior of the CustomResource. */ - public static Cluster get(String name, Output id, @Nullable ClusterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + public static Cluster get(java.lang.String name, Output id, @Nullable ClusterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new Cluster(name, id, state, options); } } diff --git a/sdk/java/src/main/java/com/pulumi/rke/Provider.java b/sdk/java/src/main/java/com/pulumi/rke/Provider.java index f848a681..be58873d 100644 --- a/sdk/java/src/main/java/com/pulumi/rke/Provider.java +++ b/sdk/java/src/main/java/com/pulumi/rke/Provider.java @@ -33,7 +33,7 @@ public Output> logFile() { * * @param name The _unique_ name of the resulting resource. */ - public Provider(String name) { + public Provider(java.lang.String name) { this(name, ProviderArgs.Empty); } /** @@ -41,7 +41,7 @@ public Provider(String name) { * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ - public Provider(String name, @Nullable ProviderArgs args) { + public Provider(java.lang.String name, @Nullable ProviderArgs args) { this(name, args, null); } /** @@ -50,11 +50,18 @@ public Provider(String name, @Nullable ProviderArgs args) { * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ - public Provider(String name, @Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("rke", name, args == null ? ProviderArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + public Provider(java.lang.String name, @Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("rke", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } - private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + private static ProviderArgs makeArgs(@Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? ProviderArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .build(); diff --git a/sdk/java/src/main/java/com/pulumi/rke/Utilities.java b/sdk/java/src/main/java/com/pulumi/rke/Utilities.java index ea08c87b..14a3430c 100644 --- a/sdk/java/src/main/java/com/pulumi/rke/Utilities.java +++ b/sdk/java/src/main/java/com/pulumi/rke/Utilities.java @@ -17,7 +17,7 @@ public class Utilities { - public static Optional getEnv(String... names) { + public static Optional getEnv(java.lang.String... names) { for (var n : names) { var value = Environment.getEnvironmentVariable(n); if (value.isValue()) { @@ -27,7 +27,7 @@ public static Optional getEnv(String... names) { return Optional.empty(); } - public static Optional getEnvBoolean(String... names) { + public static Optional getEnvBoolean(java.lang.String... names) { for (var n : names) { var value = Environment.getBooleanEnvironmentVariable(n); if (value.isValue()) { @@ -37,7 +37,7 @@ public static Optional getEnvBoolean(String... names) { return Optional.empty(); } - public static Optional getEnvInteger(String... names) { + public static Optional getEnvInteger(java.lang.String... names) { for (var n : names) { var value = Environment.getIntegerEnvironmentVariable(n); if (value.isValue()) { @@ -47,7 +47,7 @@ public static Optional getEnvInteger(String... names) { return Optional.empty(); } - public static Optional getEnvDouble(String... names) { + public static Optional getEnvDouble(java.lang.String... names) { for (var n : names) { var value = Environment.getDoubleEnvironmentVariable(n); if (value.isValue()) { @@ -68,8 +68,8 @@ public static InvokeOptions withVersion(@Nullable InvokeOptions options) { ); } - private static final String version; - public static String getVersion() { + private static final java.lang.String version; + public static java.lang.String getVersion() { return version; } @@ -78,7 +78,7 @@ public static String getVersion() { var versionFile = Utilities.class.getClassLoader().getResourceAsStream(resourceName); if (versionFile == null) { throw new IllegalStateException( - String.format("expected resource '%s' on Classpath, not found", resourceName) + java.lang.String.format("expected resource '%s' on Classpath, not found", resourceName) ); } version = new BufferedReader(new InputStreamReader(versionFile)) diff --git a/sdk/python/pulumi_rke/cluster.py b/sdk/python/pulumi_rke/cluster.py index 294184df..0f4e0a72 100644 --- a/sdk/python/pulumi_rke/cluster.py +++ b/sdk/python/pulumi_rke/cluster.py @@ -1721,11 +1721,11 @@ def __init__(__self__, addon_job_timeout: Optional[pulumi.Input[int]] = None, addons: Optional[pulumi.Input[str]] = None, addons_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - authentication: Optional[pulumi.Input[pulumi.InputType['ClusterAuthenticationArgs']]] = None, - authorization: Optional[pulumi.Input[pulumi.InputType['ClusterAuthorizationArgs']]] = None, - bastion_host: Optional[pulumi.Input[pulumi.InputType['ClusterBastionHostArgs']]] = None, + authentication: Optional[pulumi.Input[Union['ClusterAuthenticationArgs', 'ClusterAuthenticationArgsDict']]] = None, + authorization: Optional[pulumi.Input[Union['ClusterAuthorizationArgs', 'ClusterAuthorizationArgsDict']]] = None, + bastion_host: Optional[pulumi.Input[Union['ClusterBastionHostArgs', 'ClusterBastionHostArgsDict']]] = None, cert_dir: Optional[pulumi.Input[str]] = None, - cloud_provider: Optional[pulumi.Input[pulumi.InputType['ClusterCloudProviderArgs']]] = None, + cloud_provider: Optional[pulumi.Input[Union['ClusterCloudProviderArgs', 'ClusterCloudProviderArgsDict']]] = None, cluster_name: Optional[pulumi.Input[str]] = None, cluster_yaml: Optional[pulumi.Input[str]] = None, custom_certs: Optional[pulumi.Input[bool]] = None, @@ -1734,32 +1734,32 @@ def __init__(__self__, dind_dns_server: Optional[pulumi.Input[str]] = None, dind_storage_driver: Optional[pulumi.Input[str]] = None, disable_port_check: Optional[pulumi.Input[bool]] = None, - dns: Optional[pulumi.Input[pulumi.InputType['ClusterDnsArgs']]] = None, + dns: Optional[pulumi.Input[Union['ClusterDnsArgs', 'ClusterDnsArgsDict']]] = None, enable_cri_dockerd: Optional[pulumi.Input[bool]] = None, ignore_docker_version: Optional[pulumi.Input[bool]] = None, - ingress: Optional[pulumi.Input[pulumi.InputType['ClusterIngressArgs']]] = None, + ingress: Optional[pulumi.Input[Union['ClusterIngressArgs', 'ClusterIngressArgsDict']]] = None, kubernetes_version: Optional[pulumi.Input[str]] = None, - monitoring: Optional[pulumi.Input[pulumi.InputType['ClusterMonitoringArgs']]] = None, - network: Optional[pulumi.Input[pulumi.InputType['ClusterNetworkArgs']]] = None, - nodes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodeArgs']]]]] = None, + monitoring: Optional[pulumi.Input[Union['ClusterMonitoringArgs', 'ClusterMonitoringArgsDict']]] = None, + network: Optional[pulumi.Input[Union['ClusterNetworkArgs', 'ClusterNetworkArgsDict']]] = None, + nodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodeArgs', 'ClusterNodeArgsDict']]]]] = None, nodes_confs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, prefix_path: Optional[pulumi.Input[str]] = None, - private_registries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPrivateRegistryArgs']]]]] = None, - restore: Optional[pulumi.Input[pulumi.InputType['ClusterRestoreArgs']]] = None, - rotate_certificates: Optional[pulumi.Input[pulumi.InputType['ClusterRotateCertificatesArgs']]] = None, - services: Optional[pulumi.Input[pulumi.InputType['ClusterServicesArgs']]] = None, - services_etcd_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesEtcdDeprecatedArgs']]] = None, - services_kube_api_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeApiDeprecatedArgs']]] = None, - services_kube_controller_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeControllerDeprecatedArgs']]] = None, - services_kube_proxy_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeProxyDeprecatedArgs']]] = None, - services_kube_scheduler_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeSchedulerDeprecatedArgs']]] = None, - services_kubelet_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeletDeprecatedArgs']]] = None, + private_registries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterPrivateRegistryArgs', 'ClusterPrivateRegistryArgsDict']]]]] = None, + restore: Optional[pulumi.Input[Union['ClusterRestoreArgs', 'ClusterRestoreArgsDict']]] = None, + rotate_certificates: Optional[pulumi.Input[Union['ClusterRotateCertificatesArgs', 'ClusterRotateCertificatesArgsDict']]] = None, + services: Optional[pulumi.Input[Union['ClusterServicesArgs', 'ClusterServicesArgsDict']]] = None, + services_etcd_deprecated: Optional[pulumi.Input[Union['ClusterServicesEtcdDeprecatedArgs', 'ClusterServicesEtcdDeprecatedArgsDict']]] = None, + services_kube_api_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeApiDeprecatedArgs', 'ClusterServicesKubeApiDeprecatedArgsDict']]] = None, + services_kube_controller_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeControllerDeprecatedArgs', 'ClusterServicesKubeControllerDeprecatedArgsDict']]] = None, + services_kube_proxy_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeProxyDeprecatedArgs', 'ClusterServicesKubeProxyDeprecatedArgsDict']]] = None, + services_kube_scheduler_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeSchedulerDeprecatedArgs', 'ClusterServicesKubeSchedulerDeprecatedArgsDict']]] = None, + services_kubelet_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeletDeprecatedArgs', 'ClusterServicesKubeletDeprecatedArgsDict']]] = None, ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_cert_path: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - system_images: Optional[pulumi.Input[pulumi.InputType['ClusterSystemImagesArgs']]] = None, + system_images: Optional[pulumi.Input[Union['ClusterSystemImagesArgs', 'ClusterSystemImagesArgsDict']]] = None, update_only: Optional[pulumi.Input[bool]] = None, - upgrade_strategy: Optional[pulumi.Input[pulumi.InputType['ClusterUpgradeStrategyArgs']]] = None, + upgrade_strategy: Optional[pulumi.Input[Union['ClusterUpgradeStrategyArgs', 'ClusterUpgradeStrategyArgsDict']]] = None, __props__=None): """ ## Import @@ -1780,11 +1780,11 @@ def __init__(__self__, :param pulumi.Input[int] addon_job_timeout: RKE k8s cluster addon deployment timeout in seconds for status check (int) :param pulumi.Input[str] addons: RKE k8s cluster user addons YAML manifest to be deployed (string) :param pulumi.Input[Sequence[pulumi.Input[str]]] addons_includes: RKE k8s cluster user addons YAML manifest urls or paths to be deployed (list) - :param pulumi.Input[pulumi.InputType['ClusterAuthenticationArgs']] authentication: RKE k8s cluster authentication configuration (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterAuthorizationArgs']] authorization: RKE k8s cluster authorization mode configuration (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterBastionHostArgs']] bastion_host: RKE k8s cluster bastion Host configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterAuthenticationArgs', 'ClusterAuthenticationArgsDict']] authentication: RKE k8s cluster authentication configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterAuthorizationArgs', 'ClusterAuthorizationArgsDict']] authorization: RKE k8s cluster authorization mode configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterBastionHostArgs', 'ClusterBastionHostArgsDict']] bastion_host: RKE k8s cluster bastion Host configuration (list maxitems:1) :param pulumi.Input[str] cert_dir: Specify a certificate dir path (string) - :param pulumi.Input[pulumi.InputType['ClusterCloudProviderArgs']] cloud_provider: RKE k8s cluster cloud provider configuration [rke-cloud-providers](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/) (list maxitems:1) + :param pulumi.Input[Union['ClusterCloudProviderArgs', 'ClusterCloudProviderArgsDict']] cloud_provider: RKE k8s cluster cloud provider configuration [rke-cloud-providers](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/) (list maxitems:1) :param pulumi.Input[str] cluster_name: RKE k8s cluster name used in the kube config (string) :param pulumi.Input[str] cluster_yaml: RKE k8s cluster config yaml encoded. Provider arguments take precedence over this one (string) :param pulumi.Input[bool] custom_certs: Use custom certificates from a cert dir (string) @@ -1793,31 +1793,31 @@ def __init__(__self__, :param pulumi.Input[str] dind_dns_server: DinD RKE cluster dns (string) :param pulumi.Input[str] dind_storage_driver: DinD RKE cluster storage driver (string) :param pulumi.Input[bool] disable_port_check: Enable/Disable RKE k8s cluster port checking. Default `false` (bool) - :param pulumi.Input[pulumi.InputType['ClusterDnsArgs']] dns: RKE k8s cluster DNS Config (list maxitems:1) + :param pulumi.Input[Union['ClusterDnsArgs', 'ClusterDnsArgsDict']] dns: RKE k8s cluster DNS Config (list maxitems:1) :param pulumi.Input[bool] enable_cri_dockerd: Enable/Disable CRI dockerd for kubelet; set it to true starting from Kubernetes version 1.24 or later. Default `false` (bool) :param pulumi.Input[bool] ignore_docker_version: Enable/Disable RKE k8s cluster strict docker version checking. Default `false` (bool) - :param pulumi.Input[pulumi.InputType['ClusterIngressArgs']] ingress: RKE k8s cluster ingress controller configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterIngressArgs', 'ClusterIngressArgsDict']] ingress: RKE k8s cluster ingress controller configuration (list maxitems:1) :param pulumi.Input[str] kubernetes_version: K8s version to deploy. If kubernetes image is specified, image version takes precedence. Default: `rke default` (string) - :param pulumi.Input[pulumi.InputType['ClusterMonitoringArgs']] monitoring: RKE k8s cluster monitoring Config (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterNetworkArgs']] network: RKE k8s cluster network configuration (list maxitems:1) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodeArgs']]]] nodes: RKE k8s cluster nodes (list) + :param pulumi.Input[Union['ClusterMonitoringArgs', 'ClusterMonitoringArgsDict']] monitoring: RKE k8s cluster monitoring Config (list maxitems:1) + :param pulumi.Input[Union['ClusterNetworkArgs', 'ClusterNetworkArgsDict']] network: RKE k8s cluster network configuration (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodeArgs', 'ClusterNodeArgsDict']]]] nodes: RKE k8s cluster nodes (list) :param pulumi.Input[str] prefix_path: RKE k8s directory path (string) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPrivateRegistryArgs']]]] private_registries: RKE k8s cluster private docker registries (list) - :param pulumi.Input[pulumi.InputType['ClusterRestoreArgs']] restore: RKE k8s cluster restore configuration (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterRotateCertificatesArgs']] rotate_certificates: RKE k8s cluster rotate certificates configuration (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesArgs']] services: RKE k8s cluster services (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesEtcdDeprecatedArgs']] services_etcd_deprecated: Use services.etcd instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeApiDeprecatedArgs']] services_kube_api_deprecated: Use services.kube_api instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeControllerDeprecatedArgs']] services_kube_controller_deprecated: Use services.kube_controller instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeProxyDeprecatedArgs']] services_kube_proxy_deprecated: Use services.kubeproxy instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeSchedulerDeprecatedArgs']] services_kube_scheduler_deprecated: Use services.scheduler instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeletDeprecatedArgs']] services_kubelet_deprecated: Use services.kubelet instead (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterPrivateRegistryArgs', 'ClusterPrivateRegistryArgsDict']]]] private_registries: RKE k8s cluster private docker registries (list) + :param pulumi.Input[Union['ClusterRestoreArgs', 'ClusterRestoreArgsDict']] restore: RKE k8s cluster restore configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterRotateCertificatesArgs', 'ClusterRotateCertificatesArgsDict']] rotate_certificates: RKE k8s cluster rotate certificates configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesArgs', 'ClusterServicesArgsDict']] services: RKE k8s cluster services (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesEtcdDeprecatedArgs', 'ClusterServicesEtcdDeprecatedArgsDict']] services_etcd_deprecated: Use services.etcd instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeApiDeprecatedArgs', 'ClusterServicesKubeApiDeprecatedArgsDict']] services_kube_api_deprecated: Use services.kube_api instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeControllerDeprecatedArgs', 'ClusterServicesKubeControllerDeprecatedArgsDict']] services_kube_controller_deprecated: Use services.kube_controller instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeProxyDeprecatedArgs', 'ClusterServicesKubeProxyDeprecatedArgsDict']] services_kube_proxy_deprecated: Use services.kubeproxy instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeSchedulerDeprecatedArgs', 'ClusterServicesKubeSchedulerDeprecatedArgsDict']] services_kube_scheduler_deprecated: Use services.scheduler instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeletDeprecatedArgs', 'ClusterServicesKubeletDeprecatedArgsDict']] services_kubelet_deprecated: Use services.kubelet instead (list maxitems:1) :param pulumi.Input[bool] ssh_agent_auth: SSH Agent Auth enable (bool) :param pulumi.Input[str] ssh_cert_path: SSH Certificate Path (string) :param pulumi.Input[str] ssh_key_path: SSH Private Key Path (string) - :param pulumi.Input[pulumi.InputType['ClusterSystemImagesArgs']] system_images: RKE k8s cluster system images list (list maxitems:1) + :param pulumi.Input[Union['ClusterSystemImagesArgs', 'ClusterSystemImagesArgsDict']] system_images: RKE k8s cluster system images list (list maxitems:1) :param pulumi.Input[bool] update_only: Skip idempotent deployment of control and etcd plane. Default `false` (bool) - :param pulumi.Input[pulumi.InputType['ClusterUpgradeStrategyArgs']] upgrade_strategy: RKE k8s cluster upgrade strategy (list maxitems:1) + :param pulumi.Input[Union['ClusterUpgradeStrategyArgs', 'ClusterUpgradeStrategyArgsDict']] upgrade_strategy: RKE k8s cluster upgrade strategy (list maxitems:1) """ ... @overload @@ -1857,11 +1857,11 @@ def _internal_init(__self__, addon_job_timeout: Optional[pulumi.Input[int]] = None, addons: Optional[pulumi.Input[str]] = None, addons_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - authentication: Optional[pulumi.Input[pulumi.InputType['ClusterAuthenticationArgs']]] = None, - authorization: Optional[pulumi.Input[pulumi.InputType['ClusterAuthorizationArgs']]] = None, - bastion_host: Optional[pulumi.Input[pulumi.InputType['ClusterBastionHostArgs']]] = None, + authentication: Optional[pulumi.Input[Union['ClusterAuthenticationArgs', 'ClusterAuthenticationArgsDict']]] = None, + authorization: Optional[pulumi.Input[Union['ClusterAuthorizationArgs', 'ClusterAuthorizationArgsDict']]] = None, + bastion_host: Optional[pulumi.Input[Union['ClusterBastionHostArgs', 'ClusterBastionHostArgsDict']]] = None, cert_dir: Optional[pulumi.Input[str]] = None, - cloud_provider: Optional[pulumi.Input[pulumi.InputType['ClusterCloudProviderArgs']]] = None, + cloud_provider: Optional[pulumi.Input[Union['ClusterCloudProviderArgs', 'ClusterCloudProviderArgsDict']]] = None, cluster_name: Optional[pulumi.Input[str]] = None, cluster_yaml: Optional[pulumi.Input[str]] = None, custom_certs: Optional[pulumi.Input[bool]] = None, @@ -1870,32 +1870,32 @@ def _internal_init(__self__, dind_dns_server: Optional[pulumi.Input[str]] = None, dind_storage_driver: Optional[pulumi.Input[str]] = None, disable_port_check: Optional[pulumi.Input[bool]] = None, - dns: Optional[pulumi.Input[pulumi.InputType['ClusterDnsArgs']]] = None, + dns: Optional[pulumi.Input[Union['ClusterDnsArgs', 'ClusterDnsArgsDict']]] = None, enable_cri_dockerd: Optional[pulumi.Input[bool]] = None, ignore_docker_version: Optional[pulumi.Input[bool]] = None, - ingress: Optional[pulumi.Input[pulumi.InputType['ClusterIngressArgs']]] = None, + ingress: Optional[pulumi.Input[Union['ClusterIngressArgs', 'ClusterIngressArgsDict']]] = None, kubernetes_version: Optional[pulumi.Input[str]] = None, - monitoring: Optional[pulumi.Input[pulumi.InputType['ClusterMonitoringArgs']]] = None, - network: Optional[pulumi.Input[pulumi.InputType['ClusterNetworkArgs']]] = None, - nodes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodeArgs']]]]] = None, + monitoring: Optional[pulumi.Input[Union['ClusterMonitoringArgs', 'ClusterMonitoringArgsDict']]] = None, + network: Optional[pulumi.Input[Union['ClusterNetworkArgs', 'ClusterNetworkArgsDict']]] = None, + nodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodeArgs', 'ClusterNodeArgsDict']]]]] = None, nodes_confs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, prefix_path: Optional[pulumi.Input[str]] = None, - private_registries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPrivateRegistryArgs']]]]] = None, - restore: Optional[pulumi.Input[pulumi.InputType['ClusterRestoreArgs']]] = None, - rotate_certificates: Optional[pulumi.Input[pulumi.InputType['ClusterRotateCertificatesArgs']]] = None, - services: Optional[pulumi.Input[pulumi.InputType['ClusterServicesArgs']]] = None, - services_etcd_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesEtcdDeprecatedArgs']]] = None, - services_kube_api_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeApiDeprecatedArgs']]] = None, - services_kube_controller_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeControllerDeprecatedArgs']]] = None, - services_kube_proxy_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeProxyDeprecatedArgs']]] = None, - services_kube_scheduler_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeSchedulerDeprecatedArgs']]] = None, - services_kubelet_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeletDeprecatedArgs']]] = None, + private_registries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterPrivateRegistryArgs', 'ClusterPrivateRegistryArgsDict']]]]] = None, + restore: Optional[pulumi.Input[Union['ClusterRestoreArgs', 'ClusterRestoreArgsDict']]] = None, + rotate_certificates: Optional[pulumi.Input[Union['ClusterRotateCertificatesArgs', 'ClusterRotateCertificatesArgsDict']]] = None, + services: Optional[pulumi.Input[Union['ClusterServicesArgs', 'ClusterServicesArgsDict']]] = None, + services_etcd_deprecated: Optional[pulumi.Input[Union['ClusterServicesEtcdDeprecatedArgs', 'ClusterServicesEtcdDeprecatedArgsDict']]] = None, + services_kube_api_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeApiDeprecatedArgs', 'ClusterServicesKubeApiDeprecatedArgsDict']]] = None, + services_kube_controller_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeControllerDeprecatedArgs', 'ClusterServicesKubeControllerDeprecatedArgsDict']]] = None, + services_kube_proxy_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeProxyDeprecatedArgs', 'ClusterServicesKubeProxyDeprecatedArgsDict']]] = None, + services_kube_scheduler_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeSchedulerDeprecatedArgs', 'ClusterServicesKubeSchedulerDeprecatedArgsDict']]] = None, + services_kubelet_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeletDeprecatedArgs', 'ClusterServicesKubeletDeprecatedArgsDict']]] = None, ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_cert_path: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - system_images: Optional[pulumi.Input[pulumi.InputType['ClusterSystemImagesArgs']]] = None, + system_images: Optional[pulumi.Input[Union['ClusterSystemImagesArgs', 'ClusterSystemImagesArgsDict']]] = None, update_only: Optional[pulumi.Input[bool]] = None, - upgrade_strategy: Optional[pulumi.Input[pulumi.InputType['ClusterUpgradeStrategyArgs']]] = None, + upgrade_strategy: Optional[pulumi.Input[Union['ClusterUpgradeStrategyArgs', 'ClusterUpgradeStrategyArgsDict']]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -1981,62 +1981,62 @@ def get(resource_name: str, addons: Optional[pulumi.Input[str]] = None, addons_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, api_server_url: Optional[pulumi.Input[str]] = None, - authentication: Optional[pulumi.Input[pulumi.InputType['ClusterAuthenticationArgs']]] = None, - authorization: Optional[pulumi.Input[pulumi.InputType['ClusterAuthorizationArgs']]] = None, - bastion_host: Optional[pulumi.Input[pulumi.InputType['ClusterBastionHostArgs']]] = None, + authentication: Optional[pulumi.Input[Union['ClusterAuthenticationArgs', 'ClusterAuthenticationArgsDict']]] = None, + authorization: Optional[pulumi.Input[Union['ClusterAuthorizationArgs', 'ClusterAuthorizationArgsDict']]] = None, + bastion_host: Optional[pulumi.Input[Union['ClusterBastionHostArgs', 'ClusterBastionHostArgsDict']]] = None, ca_crt: Optional[pulumi.Input[str]] = None, cert_dir: Optional[pulumi.Input[str]] = None, - certificates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterCertificateArgs']]]]] = None, + certificates: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterCertificateArgs', 'ClusterCertificateArgsDict']]]]] = None, client_cert: Optional[pulumi.Input[str]] = None, client_key: Optional[pulumi.Input[str]] = None, - cloud_provider: Optional[pulumi.Input[pulumi.InputType['ClusterCloudProviderArgs']]] = None, + cloud_provider: Optional[pulumi.Input[Union['ClusterCloudProviderArgs', 'ClusterCloudProviderArgsDict']]] = None, cluster_cidr: Optional[pulumi.Input[str]] = None, cluster_dns_server: Optional[pulumi.Input[str]] = None, cluster_domain: Optional[pulumi.Input[str]] = None, cluster_name: Optional[pulumi.Input[str]] = None, cluster_yaml: Optional[pulumi.Input[str]] = None, - control_plane_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterControlPlaneHostArgs']]]]] = None, + control_plane_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterControlPlaneHostArgs', 'ClusterControlPlaneHostArgsDict']]]]] = None, custom_certs: Optional[pulumi.Input[bool]] = None, delay_on_creation: Optional[pulumi.Input[int]] = None, dind: Optional[pulumi.Input[bool]] = None, dind_dns_server: Optional[pulumi.Input[str]] = None, dind_storage_driver: Optional[pulumi.Input[str]] = None, disable_port_check: Optional[pulumi.Input[bool]] = None, - dns: Optional[pulumi.Input[pulumi.InputType['ClusterDnsArgs']]] = None, + dns: Optional[pulumi.Input[Union['ClusterDnsArgs', 'ClusterDnsArgsDict']]] = None, enable_cri_dockerd: Optional[pulumi.Input[bool]] = None, - etcd_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterEtcdHostArgs']]]]] = None, + etcd_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterEtcdHostArgs', 'ClusterEtcdHostArgsDict']]]]] = None, ignore_docker_version: Optional[pulumi.Input[bool]] = None, - inactive_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterInactiveHostArgs']]]]] = None, - ingress: Optional[pulumi.Input[pulumi.InputType['ClusterIngressArgs']]] = None, + inactive_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterInactiveHostArgs', 'ClusterInactiveHostArgsDict']]]]] = None, + ingress: Optional[pulumi.Input[Union['ClusterIngressArgs', 'ClusterIngressArgsDict']]] = None, internal_kube_config_yaml: Optional[pulumi.Input[str]] = None, kube_admin_user: Optional[pulumi.Input[str]] = None, kube_config_yaml: Optional[pulumi.Input[str]] = None, kubernetes_version: Optional[pulumi.Input[str]] = None, - monitoring: Optional[pulumi.Input[pulumi.InputType['ClusterMonitoringArgs']]] = None, - network: Optional[pulumi.Input[pulumi.InputType['ClusterNetworkArgs']]] = None, - nodes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodeArgs']]]]] = None, + monitoring: Optional[pulumi.Input[Union['ClusterMonitoringArgs', 'ClusterMonitoringArgsDict']]] = None, + network: Optional[pulumi.Input[Union['ClusterNetworkArgs', 'ClusterNetworkArgsDict']]] = None, + nodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodeArgs', 'ClusterNodeArgsDict']]]]] = None, nodes_confs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, prefix_path: Optional[pulumi.Input[str]] = None, - private_registries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPrivateRegistryArgs']]]]] = None, - restore: Optional[pulumi.Input[pulumi.InputType['ClusterRestoreArgs']]] = None, + private_registries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterPrivateRegistryArgs', 'ClusterPrivateRegistryArgsDict']]]]] = None, + restore: Optional[pulumi.Input[Union['ClusterRestoreArgs', 'ClusterRestoreArgsDict']]] = None, rke_cluster_yaml: Optional[pulumi.Input[str]] = None, rke_state: Optional[pulumi.Input[str]] = None, - rotate_certificates: Optional[pulumi.Input[pulumi.InputType['ClusterRotateCertificatesArgs']]] = None, - running_system_images: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterRunningSystemImageArgs']]]]] = None, - services: Optional[pulumi.Input[pulumi.InputType['ClusterServicesArgs']]] = None, - services_etcd_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesEtcdDeprecatedArgs']]] = None, - services_kube_api_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeApiDeprecatedArgs']]] = None, - services_kube_controller_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeControllerDeprecatedArgs']]] = None, - services_kube_proxy_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeProxyDeprecatedArgs']]] = None, - services_kube_scheduler_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeSchedulerDeprecatedArgs']]] = None, - services_kubelet_deprecated: Optional[pulumi.Input[pulumi.InputType['ClusterServicesKubeletDeprecatedArgs']]] = None, + rotate_certificates: Optional[pulumi.Input[Union['ClusterRotateCertificatesArgs', 'ClusterRotateCertificatesArgsDict']]] = None, + running_system_images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterRunningSystemImageArgs', 'ClusterRunningSystemImageArgsDict']]]]] = None, + services: Optional[pulumi.Input[Union['ClusterServicesArgs', 'ClusterServicesArgsDict']]] = None, + services_etcd_deprecated: Optional[pulumi.Input[Union['ClusterServicesEtcdDeprecatedArgs', 'ClusterServicesEtcdDeprecatedArgsDict']]] = None, + services_kube_api_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeApiDeprecatedArgs', 'ClusterServicesKubeApiDeprecatedArgsDict']]] = None, + services_kube_controller_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeControllerDeprecatedArgs', 'ClusterServicesKubeControllerDeprecatedArgsDict']]] = None, + services_kube_proxy_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeProxyDeprecatedArgs', 'ClusterServicesKubeProxyDeprecatedArgsDict']]] = None, + services_kube_scheduler_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeSchedulerDeprecatedArgs', 'ClusterServicesKubeSchedulerDeprecatedArgsDict']]] = None, + services_kubelet_deprecated: Optional[pulumi.Input[Union['ClusterServicesKubeletDeprecatedArgs', 'ClusterServicesKubeletDeprecatedArgsDict']]] = None, ssh_agent_auth: Optional[pulumi.Input[bool]] = None, ssh_cert_path: Optional[pulumi.Input[str]] = None, ssh_key_path: Optional[pulumi.Input[str]] = None, - system_images: Optional[pulumi.Input[pulumi.InputType['ClusterSystemImagesArgs']]] = None, + system_images: Optional[pulumi.Input[Union['ClusterSystemImagesArgs', 'ClusterSystemImagesArgsDict']]] = None, update_only: Optional[pulumi.Input[bool]] = None, - upgrade_strategy: Optional[pulumi.Input[pulumi.InputType['ClusterUpgradeStrategyArgs']]] = None, - worker_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterWorkerHostArgs']]]]] = None) -> 'Cluster': + upgrade_strategy: Optional[pulumi.Input[Union['ClusterUpgradeStrategyArgs', 'ClusterUpgradeStrategyArgsDict']]] = None, + worker_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClusterWorkerHostArgs', 'ClusterWorkerHostArgsDict']]]]] = None) -> 'Cluster': """ Get an existing Cluster resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -2048,61 +2048,61 @@ def get(resource_name: str, :param pulumi.Input[str] addons: RKE k8s cluster user addons YAML manifest to be deployed (string) :param pulumi.Input[Sequence[pulumi.Input[str]]] addons_includes: RKE k8s cluster user addons YAML manifest urls or paths to be deployed (list) :param pulumi.Input[str] api_server_url: (Computed) RKE k8s cluster api server url (string) - :param pulumi.Input[pulumi.InputType['ClusterAuthenticationArgs']] authentication: RKE k8s cluster authentication configuration (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterAuthorizationArgs']] authorization: RKE k8s cluster authorization mode configuration (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterBastionHostArgs']] bastion_host: RKE k8s cluster bastion Host configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterAuthenticationArgs', 'ClusterAuthenticationArgsDict']] authentication: RKE k8s cluster authentication configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterAuthorizationArgs', 'ClusterAuthorizationArgsDict']] authorization: RKE k8s cluster authorization mode configuration (list maxitems:1) + :param pulumi.Input[Union['ClusterBastionHostArgs', 'ClusterBastionHostArgsDict']] bastion_host: RKE k8s cluster bastion Host configuration (list maxitems:1) :param pulumi.Input[str] ca_crt: (Computed/Sensitive) RKE k8s cluster CA certificate (string) :param pulumi.Input[str] cert_dir: Specify a certificate dir path (string) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterCertificateArgs']]]] certificates: (Computed/Sensitive) RKE k8s cluster certificates (string) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterCertificateArgs', 'ClusterCertificateArgsDict']]]] certificates: (Computed/Sensitive) RKE k8s cluster certificates (string) :param pulumi.Input[str] client_cert: (Computed/Sensitive) RKE k8s cluster client certificate (string) :param pulumi.Input[str] client_key: (Computed/Sensitive) RKE k8s cluster client key (string) - :param pulumi.Input[pulumi.InputType['ClusterCloudProviderArgs']] cloud_provider: RKE k8s cluster cloud provider configuration [rke-cloud-providers](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/) (list maxitems:1) + :param pulumi.Input[Union['ClusterCloudProviderArgs', 'ClusterCloudProviderArgsDict']] cloud_provider: RKE k8s cluster cloud provider configuration [rke-cloud-providers](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/) (list maxitems:1) :param pulumi.Input[str] cluster_cidr: (Computed) RKE k8s cluster cidr (string) :param pulumi.Input[str] cluster_dns_server: (Computed) RKE k8s cluster dns server (string) :param pulumi.Input[str] cluster_domain: (Computed) RKE k8s cluster domain (string) :param pulumi.Input[str] cluster_name: RKE k8s cluster name used in the kube config (string) :param pulumi.Input[str] cluster_yaml: RKE k8s cluster config yaml encoded. Provider arguments take precedence over this one (string) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterControlPlaneHostArgs']]]] control_plane_hosts: (Computed) RKE k8s cluster control plane nodes (list) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterControlPlaneHostArgs', 'ClusterControlPlaneHostArgsDict']]]] control_plane_hosts: (Computed) RKE k8s cluster control plane nodes (list) :param pulumi.Input[bool] custom_certs: Use custom certificates from a cert dir (string) :param pulumi.Input[int] delay_on_creation: RKE k8s cluster delay on creation (int) :param pulumi.Input[bool] dind: Deploy RKE cluster on a dind environment. Default: `false` (bool) :param pulumi.Input[str] dind_dns_server: DinD RKE cluster dns (string) :param pulumi.Input[str] dind_storage_driver: DinD RKE cluster storage driver (string) :param pulumi.Input[bool] disable_port_check: Enable/Disable RKE k8s cluster port checking. Default `false` (bool) - :param pulumi.Input[pulumi.InputType['ClusterDnsArgs']] dns: RKE k8s cluster DNS Config (list maxitems:1) + :param pulumi.Input[Union['ClusterDnsArgs', 'ClusterDnsArgsDict']] dns: RKE k8s cluster DNS Config (list maxitems:1) :param pulumi.Input[bool] enable_cri_dockerd: Enable/Disable CRI dockerd for kubelet; set it to true starting from Kubernetes version 1.24 or later. Default `false` (bool) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterEtcdHostArgs']]]] etcd_hosts: (Computed) RKE k8s cluster etcd nodes (list) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterEtcdHostArgs', 'ClusterEtcdHostArgsDict']]]] etcd_hosts: (Computed) RKE k8s cluster etcd nodes (list) :param pulumi.Input[bool] ignore_docker_version: Enable/Disable RKE k8s cluster strict docker version checking. Default `false` (bool) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterInactiveHostArgs']]]] inactive_hosts: (Computed) RKE k8s cluster inactive nodes (list) - :param pulumi.Input[pulumi.InputType['ClusterIngressArgs']] ingress: RKE k8s cluster ingress controller configuration (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterInactiveHostArgs', 'ClusterInactiveHostArgsDict']]]] inactive_hosts: (Computed) RKE k8s cluster inactive nodes (list) + :param pulumi.Input[Union['ClusterIngressArgs', 'ClusterIngressArgsDict']] ingress: RKE k8s cluster ingress controller configuration (list maxitems:1) :param pulumi.Input[str] internal_kube_config_yaml: (Computed/Sensitive) RKE k8s cluster internal kube config yaml (string) :param pulumi.Input[str] kube_admin_user: (Computed) RKE k8s cluster admin user (string) :param pulumi.Input[str] kube_config_yaml: (Computed/Sensitive) RKE k8s cluster kube config yaml (string) :param pulumi.Input[str] kubernetes_version: K8s version to deploy. If kubernetes image is specified, image version takes precedence. Default: `rke default` (string) - :param pulumi.Input[pulumi.InputType['ClusterMonitoringArgs']] monitoring: RKE k8s cluster monitoring Config (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterNetworkArgs']] network: RKE k8s cluster network configuration (list maxitems:1) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterNodeArgs']]]] nodes: RKE k8s cluster nodes (list) + :param pulumi.Input[Union['ClusterMonitoringArgs', 'ClusterMonitoringArgsDict']] monitoring: RKE k8s cluster monitoring Config (list maxitems:1) + :param pulumi.Input[Union['ClusterNetworkArgs', 'ClusterNetworkArgsDict']] network: RKE k8s cluster network configuration (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterNodeArgs', 'ClusterNodeArgsDict']]]] nodes: RKE k8s cluster nodes (list) :param pulumi.Input[str] prefix_path: RKE k8s directory path (string) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterPrivateRegistryArgs']]]] private_registries: RKE k8s cluster private docker registries (list) - :param pulumi.Input[pulumi.InputType['ClusterRestoreArgs']] restore: RKE k8s cluster restore configuration (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterPrivateRegistryArgs', 'ClusterPrivateRegistryArgsDict']]]] private_registries: RKE k8s cluster private docker registries (list) + :param pulumi.Input[Union['ClusterRestoreArgs', 'ClusterRestoreArgsDict']] restore: RKE k8s cluster restore configuration (list maxitems:1) :param pulumi.Input[str] rke_cluster_yaml: (Computed/Sensitive) RKE k8s cluster config yaml (string) :param pulumi.Input[str] rke_state: (Computed/Sensitive) RKE k8s cluster state (string) - :param pulumi.Input[pulumi.InputType['ClusterRotateCertificatesArgs']] rotate_certificates: RKE k8s cluster rotate certificates configuration (list maxitems:1) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterRunningSystemImageArgs']]]] running_system_images: (Computed) RKE k8s cluster running system images list (list) - :param pulumi.Input[pulumi.InputType['ClusterServicesArgs']] services: RKE k8s cluster services (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesEtcdDeprecatedArgs']] services_etcd_deprecated: Use services.etcd instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeApiDeprecatedArgs']] services_kube_api_deprecated: Use services.kube_api instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeControllerDeprecatedArgs']] services_kube_controller_deprecated: Use services.kube_controller instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeProxyDeprecatedArgs']] services_kube_proxy_deprecated: Use services.kubeproxy instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeSchedulerDeprecatedArgs']] services_kube_scheduler_deprecated: Use services.scheduler instead (list maxitems:1) - :param pulumi.Input[pulumi.InputType['ClusterServicesKubeletDeprecatedArgs']] services_kubelet_deprecated: Use services.kubelet instead (list maxitems:1) + :param pulumi.Input[Union['ClusterRotateCertificatesArgs', 'ClusterRotateCertificatesArgsDict']] rotate_certificates: RKE k8s cluster rotate certificates configuration (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterRunningSystemImageArgs', 'ClusterRunningSystemImageArgsDict']]]] running_system_images: (Computed) RKE k8s cluster running system images list (list) + :param pulumi.Input[Union['ClusterServicesArgs', 'ClusterServicesArgsDict']] services: RKE k8s cluster services (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesEtcdDeprecatedArgs', 'ClusterServicesEtcdDeprecatedArgsDict']] services_etcd_deprecated: Use services.etcd instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeApiDeprecatedArgs', 'ClusterServicesKubeApiDeprecatedArgsDict']] services_kube_api_deprecated: Use services.kube_api instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeControllerDeprecatedArgs', 'ClusterServicesKubeControllerDeprecatedArgsDict']] services_kube_controller_deprecated: Use services.kube_controller instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeProxyDeprecatedArgs', 'ClusterServicesKubeProxyDeprecatedArgsDict']] services_kube_proxy_deprecated: Use services.kubeproxy instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeSchedulerDeprecatedArgs', 'ClusterServicesKubeSchedulerDeprecatedArgsDict']] services_kube_scheduler_deprecated: Use services.scheduler instead (list maxitems:1) + :param pulumi.Input[Union['ClusterServicesKubeletDeprecatedArgs', 'ClusterServicesKubeletDeprecatedArgsDict']] services_kubelet_deprecated: Use services.kubelet instead (list maxitems:1) :param pulumi.Input[bool] ssh_agent_auth: SSH Agent Auth enable (bool) :param pulumi.Input[str] ssh_cert_path: SSH Certificate Path (string) :param pulumi.Input[str] ssh_key_path: SSH Private Key Path (string) - :param pulumi.Input[pulumi.InputType['ClusterSystemImagesArgs']] system_images: RKE k8s cluster system images list (list maxitems:1) + :param pulumi.Input[Union['ClusterSystemImagesArgs', 'ClusterSystemImagesArgsDict']] system_images: RKE k8s cluster system images list (list maxitems:1) :param pulumi.Input[bool] update_only: Skip idempotent deployment of control and etcd plane. Default `false` (bool) - :param pulumi.Input[pulumi.InputType['ClusterUpgradeStrategyArgs']] upgrade_strategy: RKE k8s cluster upgrade strategy (list maxitems:1) - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterWorkerHostArgs']]]] worker_hosts: (Computed) RKE k8s cluster worker nodes (list) + :param pulumi.Input[Union['ClusterUpgradeStrategyArgs', 'ClusterUpgradeStrategyArgsDict']] upgrade_strategy: RKE k8s cluster upgrade strategy (list maxitems:1) + :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterWorkerHostArgs', 'ClusterWorkerHostArgsDict']]]] worker_hosts: (Computed) RKE k8s cluster worker nodes (list) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))