@pulumi/coreweave 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +106 -0
  3. package/cksCluster.d.ts +282 -0
  4. package/cksCluster.d.ts.map +1 -0
  5. package/cksCluster.js +130 -0
  6. package/cksCluster.js.map +1 -0
  7. package/config/index.d.ts +2 -0
  8. package/config/index.d.ts.map +1 -0
  9. package/config/index.js +21 -0
  10. package/config/index.js.map +1 -0
  11. package/config/vars.d.ts +17 -0
  12. package/config/vars.d.ts.map +1 -0
  13. package/config/vars.js +54 -0
  14. package/config/vars.js.map +1 -0
  15. package/getCksCluster.d.ts +44 -0
  16. package/getCksCluster.d.ts.map +1 -0
  17. package/getCksCluster.js +45 -0
  18. package/getCksCluster.js.map +1 -0
  19. package/getNetworkingVpc.d.ts +34 -0
  20. package/getNetworkingVpc.d.ts.map +1 -0
  21. package/getNetworkingVpc.js +45 -0
  22. package/getNetworkingVpc.js.map +1 -0
  23. package/getObjectStorageBucketPolicyDocument.d.ts +31 -0
  24. package/getObjectStorageBucketPolicyDocument.d.ts.map +1 -0
  25. package/getObjectStorageBucketPolicyDocument.js +51 -0
  26. package/getObjectStorageBucketPolicyDocument.js.map +1 -0
  27. package/index.d.ts +38 -0
  28. package/index.d.ts.map +1 -0
  29. package/index.js +108 -0
  30. package/index.js.map +1 -0
  31. package/networkingVpc.d.ts +147 -0
  32. package/networkingVpc.d.ts.map +1 -0
  33. package/networkingVpc.js +89 -0
  34. package/networkingVpc.js.map +1 -0
  35. package/objectStorageBucket.d.ts +79 -0
  36. package/objectStorageBucket.d.ts.map +1 -0
  37. package/objectStorageBucket.js +79 -0
  38. package/objectStorageBucket.js.map +1 -0
  39. package/objectStorageBucketLifecycleConfiguration.d.ts +63 -0
  40. package/objectStorageBucketLifecycleConfiguration.d.ts.map +1 -0
  41. package/objectStorageBucketLifecycleConfiguration.js +77 -0
  42. package/objectStorageBucketLifecycleConfiguration.js.map +1 -0
  43. package/objectStorageBucketPolicy.d.ts +61 -0
  44. package/objectStorageBucketPolicy.d.ts.map +1 -0
  45. package/objectStorageBucketPolicy.js +80 -0
  46. package/objectStorageBucketPolicy.js.map +1 -0
  47. package/objectStorageBucketSettings.d.ts +61 -0
  48. package/objectStorageBucketSettings.d.ts.map +1 -0
  49. package/objectStorageBucketSettings.js +77 -0
  50. package/objectStorageBucketSettings.js.map +1 -0
  51. package/objectStorageBucketVersioning.d.ts +54 -0
  52. package/objectStorageBucketVersioning.d.ts.map +1 -0
  53. package/objectStorageBucketVersioning.js +77 -0
  54. package/objectStorageBucketVersioning.js.map +1 -0
  55. package/objectStorageOrganizationAccessPolicy.d.ts +63 -0
  56. package/objectStorageOrganizationAccessPolicy.d.ts.map +1 -0
  57. package/objectStorageOrganizationAccessPolicy.js +77 -0
  58. package/objectStorageOrganizationAccessPolicy.js.map +1 -0
  59. package/package.json +27 -0
  60. package/provider.d.ts +74 -0
  61. package/provider.d.ts.map +1 -0
  62. package/provider.js +81 -0
  63. package/provider.js.map +1 -0
  64. package/types/index.d.ts +4 -0
  65. package/types/index.d.ts.map +1 -0
  66. package/types/index.js +34 -0
  67. package/types/index.js.map +1 -0
  68. package/types/input.d.ts +344 -0
  69. package/types/input.d.ts.map +1 -0
  70. package/types/input.js +5 -0
  71. package/types/input.js.map +1 -0
  72. package/types/output.d.ts +407 -0
  73. package/types/output.d.ts.map +1 -0
  74. package/types/output.js +5 -0
  75. package/types/output.js.map +1 -0
  76. package/utilities.d.ts +5 -0
  77. package/utilities.d.ts.map +1 -0
  78. package/utilities.js +114 -0
  79. package/utilities.js.map +1 -0
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,106 @@
1
+ # Pulumi provider for CoreWeave
2
+
3
+ Pulumi provider that lets you manage [CoreWeave](https://coreweave.com/) resources. Based on the [terraform-provider-coreweave](https://github.com/coreweave/terraform-provider-coreweave) Terraform provider under the hood.
4
+
5
+
6
+ ## Installing
7
+
8
+ This package is available for several languages/platforms:
9
+
10
+ ### Node.js (JavaScript/TypeScript)
11
+
12
+ To use from JavaScript or TypeScript in Node.js, install using either `npm`:
13
+
14
+ ```bash
15
+ npm install @pulumi/coreweave
16
+ ```
17
+
18
+ or `yarn`:
19
+
20
+ ```bash
21
+ yarn add @pulumi/coreweave
22
+ ```
23
+
24
+ ### Python
25
+
26
+ To use from Python, install using `pip`:
27
+
28
+ ```bash
29
+ pip install pulumi_coreweave
30
+ ```
31
+
32
+ ### Go
33
+
34
+ To use from Go, use `go get` to grab the latest version of the library:
35
+
36
+ ```bash
37
+ go get github.com/pulumi/pulumi-coreweave/sdk/go/...
38
+ ```
39
+
40
+ ### .NET
41
+
42
+ To use from .NET, install using `dotnet add package`:
43
+
44
+ ```bash
45
+ dotnet add package Pulumi.CoreWeave
46
+ ```
47
+
48
+
49
+ ## Configuration
50
+
51
+ The CoreWeave provider has the following configuration options:
52
+
53
+ | Option | Required | Description |
54
+ |--------|----------|-------------|
55
+ | `coreweave:token` | Optional | CoreWeave API token in the form `CW-SECRET-<secret>`. Can also be set via the `COREWEAVE_API_TOKEN` environment variable, which takes precedence. |
56
+ | `coreweave:endpoint` | Optional | CoreWeave API endpoint. Can also be set via the `COREWEAVE_API_ENDPOINT` environment variable, which takes precedence. Defaults to `https://api.coreweave.com/`. |
57
+ | `coreweave:httpTimeout` | Optional | Timeout duration for the HTTP client (e.g. `30s`). Can also be set via the `COREWEAVE_HTTP_TIMEOUT` environment variable, which takes precedence. Defaults to `10s`. |
58
+ | `coreweave:s3Endpoint` | Optional | CoreWeave S3 endpoint, used for CoreWeave Object Storage. Can also be set via the `COREWEAVE_S3_ENDPOINT` environment variable, which takes precedence. Defaults to `https://cwobject.com`. |
59
+
60
+ ### Setting configuration values
61
+
62
+ Use `pulumi config set` to configure the provider. The token is sensitive, so use the `--secret` flag:
63
+
64
+ ```bash
65
+ pulumi config set --secret coreweave:token CW-SECRET-XXXXXXXXXXXXX
66
+ ```
67
+
68
+ Or set the token via environment variable:
69
+
70
+ ```bash
71
+ export COREWEAVE_API_TOKEN=CW-SECRET-XXXXXXXXXXXXX
72
+ ```
73
+
74
+ ### Example usage
75
+
76
+ ```typescript
77
+ import * as coreweave from "@pulumi/coreweave";
78
+
79
+ const provider = new coreweave.Provider("coreweave", {
80
+ token: "CW-SECRET-XXXXXXXXXXXXX",
81
+ });
82
+ ```
83
+
84
+ ```python
85
+ import pulumi_coreweave as coreweave
86
+
87
+ provider = coreweave.Provider("coreweave",
88
+ token="CW-SECRET-XXXXXXXXXXXXX",
89
+ )
90
+ ```
91
+
92
+ ```go
93
+ import "github.com/pulumi/pulumi-coreweave/sdk/go/coreweave"
94
+
95
+ provider, err := coreweave.NewProvider(ctx, "coreweave", &coreweave.ProviderArgs{
96
+ Token: pulumi.String("CW-SECRET-XXXXXXXXXXXXX"),
97
+ })
98
+ ```
99
+
100
+ ```csharp
101
+ var provider = new CoreWeave.Provider("coreweave", new CoreWeave.ProviderArgs
102
+ {
103
+ Token = "CW-SECRET-XXXXXXXXXXXXX",
104
+ });
105
+ ```
106
+
@@ -0,0 +1,282 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class CksCluster extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing CksCluster resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CksClusterState, opts?: pulumi.CustomResourceOptions): CksCluster;
15
+ /**
16
+ * Returns true if the given object is an instance of CksCluster. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is CksCluster;
20
+ /**
21
+ * Additional Subject Alternative Names (SANs) to include in the Kubernetes API server TLS certificate. Maximum 10 entries.
22
+ */
23
+ readonly additionalServerSans: pulumi.Output<string[] | undefined>;
24
+ /**
25
+ * The endpoint for the cluster's api-server.
26
+ */
27
+ readonly apiServerEndpoint: pulumi.Output<string>;
28
+ /**
29
+ * Audit policy for the cluster. Must be provided as a base64-encoded JSON/YAML string.
30
+ */
31
+ readonly auditPolicy: pulumi.Output<string | undefined>;
32
+ /**
33
+ * Authentication webhook configuration for the cluster.
34
+ */
35
+ readonly authnWebhook: pulumi.Output<outputs.CksClusterAuthnWebhook | undefined>;
36
+ /**
37
+ * Authorization webhook configuration for the cluster.
38
+ */
39
+ readonly authzWebhook: pulumi.Output<outputs.CksClusterAuthzWebhook | undefined>;
40
+ /**
41
+ * The names of the vpc prefixes to use as internal load balancer CIDR ranges. Internal load balancers are reachable within the VPC but not accessible from the internet.
42
+ * The prefixes must exist in the cluster's VPC. This field is append-only.
43
+ */
44
+ readonly internalLbCidrNames: pulumi.Output<string[]>;
45
+ /**
46
+ * IPv6 Internal Load Balancer CIDR names. If any IPv6 field is set, then ALL IPv6 fields must be set.
47
+ */
48
+ readonly internalLbCidrNamesV6s: pulumi.Output<string[] | undefined>;
49
+ /**
50
+ * The name of the cluster. Must not be longer than 30 characters.
51
+ */
52
+ readonly name: pulumi.Output<string>;
53
+ /**
54
+ * Kubernetes Service NodePort range. NodePort range can be expanded in existing clusters but not shrunk. Updating the NodePort range to a smaller range will require a replacement of the cluster.
55
+ */
56
+ readonly nodePortRange: pulumi.Output<outputs.CksClusterNodePortRange>;
57
+ /**
58
+ * OpenID Connect (OIDC) configuration for authentication to the api-server.
59
+ */
60
+ readonly oidc: pulumi.Output<outputs.CksClusterOidc | undefined>;
61
+ /**
62
+ * The name of the vpc prefix to use as the pod CIDR range. The prefix must exist in the cluster's VPC.
63
+ */
64
+ readonly podCidrName: pulumi.Output<string>;
65
+ /**
66
+ * IPv6 Pod CIDR name. If any IPv6 field is set, then ALL IPv6 fields must be set.
67
+ */
68
+ readonly podCidrNameV6: pulumi.Output<string | undefined>;
69
+ /**
70
+ * Whether the cluster's api-server is publicly accessible from the internet.
71
+ */
72
+ readonly public: pulumi.Output<boolean>;
73
+ /**
74
+ * The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the `--service-account-issuer` flag on the kube-apiserver.
75
+ */
76
+ readonly serviceAccountOidcIssuerUrl: pulumi.Output<string>;
77
+ /**
78
+ * The name of the vpc prefix to use as the service CIDR range. The prefix must exist in the cluster's VPC.
79
+ */
80
+ readonly serviceCidrName: pulumi.Output<string>;
81
+ /**
82
+ * IPv6 Service CIDR name. If any IPv6 field is set, then ALL IPv6 fields must be set.
83
+ */
84
+ readonly serviceCidrNameV6: pulumi.Output<string | undefined>;
85
+ /**
86
+ * The `clusterId` of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
87
+ */
88
+ readonly sharedStorageClusterId: pulumi.Output<string | undefined>;
89
+ /**
90
+ * The current status of the cluster.
91
+ */
92
+ readonly status: pulumi.Output<string>;
93
+ /**
94
+ * The version of Kubernetes to run on the cluster, in minor version format (e.g. 'v1.35'). Patch versions are automatically applied by CKS as they are released.
95
+ */
96
+ readonly version: pulumi.Output<string>;
97
+ /**
98
+ * The ID of the VPC in which the cluster is located. Must be a VPC in the same Availability Zone as the cluster.
99
+ */
100
+ readonly vpcId: pulumi.Output<string>;
101
+ /**
102
+ * The Availability Zone in which the cluster is located.
103
+ */
104
+ readonly zone: pulumi.Output<string>;
105
+ /**
106
+ * Create a CksCluster resource with the given unique name, arguments, and options.
107
+ *
108
+ * @param name The _unique_ name of the resource.
109
+ * @param args The arguments to use to populate this resource's properties.
110
+ * @param opts A bag of options that control this resource's behavior.
111
+ */
112
+ constructor(name: string, args: CksClusterArgs, opts?: pulumi.CustomResourceOptions);
113
+ }
114
+ /**
115
+ * Input properties used for looking up and filtering CksCluster resources.
116
+ */
117
+ export interface CksClusterState {
118
+ /**
119
+ * Additional Subject Alternative Names (SANs) to include in the Kubernetes API server TLS certificate. Maximum 10 entries.
120
+ */
121
+ additionalServerSans?: pulumi.Input<pulumi.Input<string>[]>;
122
+ /**
123
+ * The endpoint for the cluster's api-server.
124
+ */
125
+ apiServerEndpoint?: pulumi.Input<string>;
126
+ /**
127
+ * Audit policy for the cluster. Must be provided as a base64-encoded JSON/YAML string.
128
+ */
129
+ auditPolicy?: pulumi.Input<string>;
130
+ /**
131
+ * Authentication webhook configuration for the cluster.
132
+ */
133
+ authnWebhook?: pulumi.Input<inputs.CksClusterAuthnWebhook>;
134
+ /**
135
+ * Authorization webhook configuration for the cluster.
136
+ */
137
+ authzWebhook?: pulumi.Input<inputs.CksClusterAuthzWebhook>;
138
+ /**
139
+ * The names of the vpc prefixes to use as internal load balancer CIDR ranges. Internal load balancers are reachable within the VPC but not accessible from the internet.
140
+ * The prefixes must exist in the cluster's VPC. This field is append-only.
141
+ */
142
+ internalLbCidrNames?: pulumi.Input<pulumi.Input<string>[]>;
143
+ /**
144
+ * IPv6 Internal Load Balancer CIDR names. If any IPv6 field is set, then ALL IPv6 fields must be set.
145
+ */
146
+ internalLbCidrNamesV6s?: pulumi.Input<pulumi.Input<string>[]>;
147
+ /**
148
+ * The name of the cluster. Must not be longer than 30 characters.
149
+ */
150
+ name?: pulumi.Input<string>;
151
+ /**
152
+ * Kubernetes Service NodePort range. NodePort range can be expanded in existing clusters but not shrunk. Updating the NodePort range to a smaller range will require a replacement of the cluster.
153
+ */
154
+ nodePortRange?: pulumi.Input<inputs.CksClusterNodePortRange>;
155
+ /**
156
+ * OpenID Connect (OIDC) configuration for authentication to the api-server.
157
+ */
158
+ oidc?: pulumi.Input<inputs.CksClusterOidc>;
159
+ /**
160
+ * The name of the vpc prefix to use as the pod CIDR range. The prefix must exist in the cluster's VPC.
161
+ */
162
+ podCidrName?: pulumi.Input<string>;
163
+ /**
164
+ * IPv6 Pod CIDR name. If any IPv6 field is set, then ALL IPv6 fields must be set.
165
+ */
166
+ podCidrNameV6?: pulumi.Input<string>;
167
+ /**
168
+ * Whether the cluster's api-server is publicly accessible from the internet.
169
+ */
170
+ public?: pulumi.Input<boolean>;
171
+ /**
172
+ * The URL of the OIDC issuer for the cluster's service account tokens. This value corresponds to the `--service-account-issuer` flag on the kube-apiserver.
173
+ */
174
+ serviceAccountOidcIssuerUrl?: pulumi.Input<string>;
175
+ /**
176
+ * The name of the vpc prefix to use as the service CIDR range. The prefix must exist in the cluster's VPC.
177
+ */
178
+ serviceCidrName?: pulumi.Input<string>;
179
+ /**
180
+ * IPv6 Service CIDR name. If any IPv6 field is set, then ALL IPv6 fields must be set.
181
+ */
182
+ serviceCidrNameV6?: pulumi.Input<string>;
183
+ /**
184
+ * The `clusterId` of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
185
+ */
186
+ sharedStorageClusterId?: pulumi.Input<string>;
187
+ /**
188
+ * The current status of the cluster.
189
+ */
190
+ status?: pulumi.Input<string>;
191
+ /**
192
+ * The version of Kubernetes to run on the cluster, in minor version format (e.g. 'v1.35'). Patch versions are automatically applied by CKS as they are released.
193
+ */
194
+ version?: pulumi.Input<string>;
195
+ /**
196
+ * The ID of the VPC in which the cluster is located. Must be a VPC in the same Availability Zone as the cluster.
197
+ */
198
+ vpcId?: pulumi.Input<string>;
199
+ /**
200
+ * The Availability Zone in which the cluster is located.
201
+ */
202
+ zone?: pulumi.Input<string>;
203
+ }
204
+ /**
205
+ * The set of arguments for constructing a CksCluster resource.
206
+ */
207
+ export interface CksClusterArgs {
208
+ /**
209
+ * Additional Subject Alternative Names (SANs) to include in the Kubernetes API server TLS certificate. Maximum 10 entries.
210
+ */
211
+ additionalServerSans?: pulumi.Input<pulumi.Input<string>[]>;
212
+ /**
213
+ * Audit policy for the cluster. Must be provided as a base64-encoded JSON/YAML string.
214
+ */
215
+ auditPolicy?: pulumi.Input<string>;
216
+ /**
217
+ * Authentication webhook configuration for the cluster.
218
+ */
219
+ authnWebhook?: pulumi.Input<inputs.CksClusterAuthnWebhook>;
220
+ /**
221
+ * Authorization webhook configuration for the cluster.
222
+ */
223
+ authzWebhook?: pulumi.Input<inputs.CksClusterAuthzWebhook>;
224
+ /**
225
+ * The names of the vpc prefixes to use as internal load balancer CIDR ranges. Internal load balancers are reachable within the VPC but not accessible from the internet.
226
+ * The prefixes must exist in the cluster's VPC. This field is append-only.
227
+ */
228
+ internalLbCidrNames: pulumi.Input<pulumi.Input<string>[]>;
229
+ /**
230
+ * IPv6 Internal Load Balancer CIDR names. If any IPv6 field is set, then ALL IPv6 fields must be set.
231
+ */
232
+ internalLbCidrNamesV6s?: pulumi.Input<pulumi.Input<string>[]>;
233
+ /**
234
+ * The name of the cluster. Must not be longer than 30 characters.
235
+ */
236
+ name?: pulumi.Input<string>;
237
+ /**
238
+ * Kubernetes Service NodePort range. NodePort range can be expanded in existing clusters but not shrunk. Updating the NodePort range to a smaller range will require a replacement of the cluster.
239
+ */
240
+ nodePortRange?: pulumi.Input<inputs.CksClusterNodePortRange>;
241
+ /**
242
+ * OpenID Connect (OIDC) configuration for authentication to the api-server.
243
+ */
244
+ oidc?: pulumi.Input<inputs.CksClusterOidc>;
245
+ /**
246
+ * The name of the vpc prefix to use as the pod CIDR range. The prefix must exist in the cluster's VPC.
247
+ */
248
+ podCidrName: pulumi.Input<string>;
249
+ /**
250
+ * IPv6 Pod CIDR name. If any IPv6 field is set, then ALL IPv6 fields must be set.
251
+ */
252
+ podCidrNameV6?: pulumi.Input<string>;
253
+ /**
254
+ * Whether the cluster's api-server is publicly accessible from the internet.
255
+ */
256
+ public?: pulumi.Input<boolean>;
257
+ /**
258
+ * The name of the vpc prefix to use as the service CIDR range. The prefix must exist in the cluster's VPC.
259
+ */
260
+ serviceCidrName: pulumi.Input<string>;
261
+ /**
262
+ * IPv6 Service CIDR name. If any IPv6 field is set, then ALL IPv6 fields must be set.
263
+ */
264
+ serviceCidrNameV6?: pulumi.Input<string>;
265
+ /**
266
+ * The `clusterId` of the cluster to share storage with. Must be enabled by CoreWeave suppport. Contact CoreWeave support if you are interested in this feature.
267
+ */
268
+ sharedStorageClusterId?: pulumi.Input<string>;
269
+ /**
270
+ * The version of Kubernetes to run on the cluster, in minor version format (e.g. 'v1.35'). Patch versions are automatically applied by CKS as they are released.
271
+ */
272
+ version: pulumi.Input<string>;
273
+ /**
274
+ * The ID of the VPC in which the cluster is located. Must be a VPC in the same Availability Zone as the cluster.
275
+ */
276
+ vpcId: pulumi.Input<string>;
277
+ /**
278
+ * The Availability Zone in which the cluster is located.
279
+ */
280
+ zone: pulumi.Input<string>;
281
+ }
282
+ //# sourceMappingURL=cksCluster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cksCluster.d.ts","sourceRoot":"","sources":["../cksCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,UAAU;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,UAAU;IAOrD;;OAEG;IACH,SAAwB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAClF;;OAEG;IACH,SAAgC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC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