@pulumi/confluentcloud 0.0.1-alpha.1654439668 → 0.1.1-alpha.1658289668
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.
- package/README.md +43 -312
- package/apiKey.d.ts +14 -2
- package/apiKey.js +2 -0
- package/apiKey.js.map +1 -1
- package/config/vars.d.ts +14 -2
- package/config/vars.js +22 -4
- package/config/vars.js.map +1 -1
- package/connector.d.ts +12 -0
- package/connector.js +2 -0
- package/connector.js.map +1 -1
- package/getEnvironment.d.ts +2 -0
- package/getEnvironment.js +2 -0
- package/getEnvironment.js.map +1 -1
- package/getKafkaCluster.d.ts +6 -4
- package/getKafkaCluster.js +2 -0
- package/getKafkaCluster.js.map +1 -1
- package/getKafkaTopic.d.ts +11 -9
- package/getKafkaTopic.js +4 -2
- package/getKafkaTopic.js.map +1 -1
- package/getNetwork.d.ts +2 -0
- package/getNetwork.js +2 -0
- package/getNetwork.js.map +1 -1
- package/getOrganization.d.ts +2 -0
- package/getOrganization.js +2 -0
- package/getOrganization.js.map +1 -1
- package/getPeering.d.ts +87 -0
- package/getPeering.js +51 -0
- package/getPeering.js.map +1 -0
- package/getPrivateLinkAccess.d.ts +83 -0
- package/getPrivateLinkAccess.js +51 -0
- package/getPrivateLinkAccess.js.map +1 -0
- package/getRoleBinding.d.ts +56 -0
- package/getRoleBinding.js +39 -0
- package/getRoleBinding.js.map +1 -0
- package/getServiceAccount.d.ts +2 -0
- package/getServiceAccount.js +2 -0
- package/getServiceAccount.js.map +1 -1
- package/getUser.d.ts +2 -0
- package/getUser.js +2 -0
- package/getUser.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/kafkaAcl.d.ts +15 -15
- package/kafkaAcl.js +3 -9
- package/kafkaAcl.js.map +1 -1
- package/kafkaCluster.d.ts +8 -8
- package/kafkaCluster.js +2 -2
- package/kafkaCluster.js.map +1 -1
- package/kafkaTopic.d.ts +18 -18
- package/kafkaTopic.js +3 -9
- package/kafkaTopic.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/provider.d.ts +28 -4
- package/provider.js +5 -2
- package/provider.js.map +1 -1
- package/types/input.d.ts +53 -29
- package/types/output.d.ts +82 -0
package/README.md
CHANGED
|
@@ -1,336 +1,67 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://github.com/pulumi/pulumi-confluentcloud/actions)
|
|
2
|
+
[](https://slack.pulumi.com)
|
|
3
|
+
[](https://www.npmjs.com/package/@pulumi/confluentcloud)
|
|
4
|
+
[](https://pypi.org/project/pulumi-confluentcloud)
|
|
5
|
+
[](https://badge.fury.io/nu/pulumi.confluentcloud)
|
|
6
|
+
[](https://pkg.go.dev/github.com/pulumi/pulumi-confluentcloud/sdk/go)
|
|
7
|
+
[](https://github.com/pulumi/pulumi-confluentcloud/blob/master/LICENSE)
|
|
2
8
|
|
|
3
|
-
|
|
9
|
+
# Confluent Cloud Resource Provider
|
|
4
10
|
|
|
5
|
-
|
|
6
|
-
This repository is part of the [guide for authoring and publishing a Pulumi Package](https://www.pulumi.com/docs/guides/pulumi-packages/how-to-author).
|
|
11
|
+
The Confluent Resource Provider lets you manage [Confluent](https://confluent.cloud/) resources.
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
Please Note:
|
|
14
|
+
This provider is build from the ConfluentInc official Terraform Provider - https://github.com/confluentinc/terraform-provider-confluent
|
|
9
15
|
|
|
10
|
-
##
|
|
16
|
+
## Installing
|
|
11
17
|
|
|
12
|
-
|
|
13
|
-
- providers maintained by Pulumi (denoted with a "Pulumi Official" checkmark on the Pulumi registry)
|
|
14
|
-
- providers published and maintained by the Pulumi community, referred to as "third-party" providers
|
|
18
|
+
This package is available for several languages/platforms:
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
### Node.js (JavaScript/TypeScript)
|
|
17
21
|
|
|
18
|
-
|
|
22
|
+
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
```bash
|
|
25
|
+
npm install @pulumi/confluentcloud
|
|
26
|
+
```
|
|
21
27
|
|
|
22
|
-
|
|
28
|
+
or `yarn`:
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
* [Yarn](https://yarnpkg.com/)
|
|
28
|
-
* [TypeScript](https://www.typescriptlang.org/)
|
|
29
|
-
* [Python](https://www.python.org/downloads/) (called as `python3`). For recent versions of MacOS, the system-installed version is fine.
|
|
30
|
-
* [.NET](https://dotnet.microsoft.com/download)
|
|
30
|
+
```bash
|
|
31
|
+
yarn add @pulumi/confluentcloud
|
|
32
|
+
```
|
|
31
33
|
|
|
32
|
-
###
|
|
34
|
+
### Python
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
To use from Python, install using `pip`:
|
|
35
37
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
* Repository name: pulumi-foo (third-party: preface your repo name with "pulumi" as standard practice)
|
|
40
|
-
* Description: Pulumi provider for Foo
|
|
41
|
-
* Repository type: Public
|
|
42
|
-
1. Clone the generated repository.
|
|
38
|
+
```bash
|
|
39
|
+
pip install pulumi_confluentcloud
|
|
40
|
+
```
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
### Go
|
|
45
43
|
|
|
46
|
-
|
|
44
|
+
To use from Go, use `go get` to grab the latest version of the library:
|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
```bash
|
|
47
|
+
go get github.com/pulumi/pulumi-confluentcloud/sdk
|
|
48
|
+
```
|
|
51
49
|
|
|
52
|
-
|
|
53
|
-
- rename folders in `provider/cmd` to `pulumi-resource-foo` and `pulumi-tfgen-foo`
|
|
54
|
-
- replace dependencies in `provider/go.mod` to reflect your repository name
|
|
55
|
-
- find and replace all instances of the boilerplate `confluentcloud` with the `NAME` of your provider.
|
|
50
|
+
### .NET
|
|
56
51
|
|
|
57
|
-
|
|
58
|
-
- Make sure to set the correct GitHub organization/username in all files referencing your provider as a dependency:
|
|
59
|
-
- `examples/go.mod`
|
|
60
|
-
- `provider/resources.go`
|
|
61
|
-
- `sdk/go.mod`
|
|
62
|
-
- `provider/cmd/pulumi-resource-foo/main.go`
|
|
63
|
-
- `provider/cmd/pulumi-tfgen-foo/main.go`
|
|
52
|
+
To use from .NET, install using `dotnet add package`:
|
|
64
53
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
* In the "Installing" section, correct package names for the various SDK libraries in the languages Pulumi supports.
|
|
69
|
-
* In the "Configuration" section, any configurable options for the provider. These may include, but are not limited to, environment variables or options that can be set via [`pulumi config set`](https://www.pulumi.com/docs/reference/cli/pulumi_config_set/).
|
|
70
|
-
* In the "Reference" section, provide a link to the to-be-published documentation.
|
|
71
|
-
* Feel free to refer to [the Pulumi AWS provider README](https://github.com/pulumi/pulumi-aws) as an example.
|
|
54
|
+
```bash
|
|
55
|
+
dotnet add package Pulumi.ConfluentCloud
|
|
56
|
+
```
|
|
72
57
|
|
|
73
|
-
|
|
58
|
+
## Configuration
|
|
74
59
|
|
|
75
|
-
|
|
60
|
+
The following configuration points are available for the `confluent cloud` provider:
|
|
76
61
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
* `provider/cmd/pulumi-tfgen-foo` generates the Pulumi resource schema (`schema.json`), based on the Terraform provider's resources.
|
|
80
|
-
* `provider/cmd/pulumi-resource-foo` generates the SDKs in all supported languages from the schema, placing them in the `sdk/` folder.
|
|
81
|
-
* `provider/pkg/resources.go` is the location where we will define the Terraform-to-Pulumi mappings for resources.
|
|
82
|
-
* `sdk/` contains the generated SDK code for each of the language platforms that Pulumi supports, with each supported platform in a separate subfolder.
|
|
62
|
+
- `confluentcloud:apiKey` (environment: `CONFLUENT_CLOUD_API_KEY`) - the API key for `Confluent Cloud`
|
|
63
|
+
- `confluentcloud:apiSecret` (environment: `CONFLUENT_CLOUD_API_SECRET`) - the region in which to deploy resources
|
|
83
64
|
|
|
84
|
-
|
|
65
|
+
## Reference
|
|
85
66
|
|
|
86
|
-
|
|
87
|
-
github.com/foo/terraform-provider-foo v0.4.0
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
1. In `provider/resources.go`, ensure the reference in the `import` section uses the correct Go module path, e.g.:
|
|
91
|
-
|
|
92
|
-
```go
|
|
93
|
-
github.com/foo/terraform-provider-foo/foo
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
1. Download the dependencies:
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
cd provider && go mod tidy && cd -
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
1. Create the schema by running the following command:
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
make tfgen
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Note warnings about unmapped resources and data sources in the command's output. We map these in the next section, e.g.:
|
|
109
|
-
|
|
110
|
-
```text
|
|
111
|
-
warning: resource foo_something not found in provider map; skipping
|
|
112
|
-
warning: resource foo_something_else not found in provider map; skipping
|
|
113
|
-
warning: data source foo_something not found in provider map; skipping
|
|
114
|
-
warning: data source foo_something_else not found in provider map; skipping
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
## Adding Mappings, Building the Provider and SDKs
|
|
118
|
-
|
|
119
|
-
In this section we will add the mappings that allow the interoperation between the Pulumi provider and the Terraform provider. Terraform resources map to an identically named concept in Pulumi. Terraform data sources map to plain old functions in your supported programming language of choice. Pulumi also allows provider functions and resources to be grouped into _namespaces_ to improve the cohesion of a provider's code, thereby making it easier for developers to use. If your provider has a large number of resources, consider using namespaces to improve usability.
|
|
120
|
-
|
|
121
|
-
The following instructions all pertain to `provider/resources.go`, in the section of the code where we construct a `tfbridge.ProviderInfo` object:
|
|
122
|
-
|
|
123
|
-
1. **Add resource mappings:** For each resource in the provider, add an entry in the `Resources` property of the `tfbridge.ProviderInfo`, e.g.:
|
|
124
|
-
|
|
125
|
-
```go
|
|
126
|
-
// Most providers will have all resources (and data sources) in the main module.
|
|
127
|
-
// Note the mapping from snake_case HCL naming conventions to UpperCamelCase Pulumi SDK naming conventions.
|
|
128
|
-
// The name of the provider is omitted from the mapped name due to the presence of namespaces in all supported Pulumi languages.
|
|
129
|
-
"foo_something": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "Something")},
|
|
130
|
-
"foo_something_else": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SomethingElse")},
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
1. **Add CSharpName (if necessary):** Dotnet does not allow for fields named the same as the enclosing type, which sometimes results in errors during the dotnet SDK build.
|
|
134
|
-
If you see something like
|
|
135
|
-
```text
|
|
136
|
-
error CS0542: 'ApiKey': member names cannot be the same as their enclosing type [/Users/guin/go/src/github.com/pulumi/pulumi-artifactory/sdk/dotnet/Pulumi.Artifactory.csproj]
|
|
137
|
-
```
|
|
138
|
-
you'll want to give your Resource a CSharpName, which can have any value that makes sense:
|
|
139
|
-
|
|
140
|
-
```go
|
|
141
|
-
"foo_something_dotnet": {
|
|
142
|
-
Tok: tfbridge.MakeResource(mainPkg, mainMod, "SomethingDotnet"),
|
|
143
|
-
Fields: map[string]*tfbridge.SchemaInfo{
|
|
144
|
-
"something_dotnet": {
|
|
145
|
-
CSharpName: "SpecialName",
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
[See the underlying terraform-bridge code here.](https://github.com/pulumi/pulumi-terraform-bridge/blob/master/pkg/tfbridge/info.go#L168)
|
|
152
|
-
1. **Add data source mappings:** For each data source in the provider, add an entry in the `DataSources` property of the `tfbridge.ProviderInfo`, e.g.:
|
|
153
|
-
|
|
154
|
-
```go
|
|
155
|
-
// Note the 'get' prefix for data sources
|
|
156
|
-
"foo_something": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSomething")},
|
|
157
|
-
"foo_something_else": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getSomethingElse")},
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
1. **Add documentation mapping (sometimes needed):** If the upstream provider's repo is not a part of the `terraform-providers` GitHub organization, specify the `GitHubOrg` property of `tfbridge.ProviderInfo` to ensure that documentation is picked up by the codegen process, and that attribution for the upstream provider is correct, e.g.:
|
|
161
|
-
|
|
162
|
-
```go
|
|
163
|
-
GitHubOrg: "foo",
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
1. **Add provider configuration overrides (not typically needed):** Pulumi's Terraform bridge automatically detects configuration options for the upstream provider. However, in rare cases these settings may need to be overridden, e.g. if we want to change an environment variable default from `API_KEY` to `FOO_API_KEY`. Examples of common uses cases:
|
|
167
|
-
|
|
168
|
-
```go
|
|
169
|
-
"additional_required_parameter": {},
|
|
170
|
-
"additional_optional_string_parameter": {
|
|
171
|
-
Default: &tfbridge.DefaultInfo{
|
|
172
|
-
Value: "default_value",
|
|
173
|
-
},
|
|
174
|
-
"additional_optional_boolean_parameter": {
|
|
175
|
-
Default: &tfbridge.DefaultInfo{
|
|
176
|
-
Value: true,
|
|
177
|
-
},
|
|
178
|
-
// Renamed environment variables can be accounted for like so:
|
|
179
|
-
"apikey": {
|
|
180
|
-
Default: &tfbridge.DefaultInfo{
|
|
181
|
-
EnvVars: []string{"FOO_API_KEY"},
|
|
182
|
-
},
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
1. Build the provider binary and ensure there are no warnings about unmapped resources and no warnings about unmapped data sources:
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
make provider
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
You may see warnings about documentation and examples, including "unexpected code snippets". These can be safely ignored for now. Pulumi will add additional documentation on mapping docs in a future revision of this guide.
|
|
192
|
-
|
|
193
|
-
1. Build the SDKs in the various languages Pulumi supports:
|
|
194
|
-
|
|
195
|
-
```bash
|
|
196
|
-
make build_sdks
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
1. Ensure the Golang SDK is a proper go module:
|
|
200
|
-
|
|
201
|
-
```bash
|
|
202
|
-
cd sdk && go mod tidy && cd -
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
This will pull in the correct dependencies in `sdk/go.mod` as well as setting the dependency tree in `sdk/go.sum`.
|
|
206
|
-
|
|
207
|
-
1. Finally, ensure the provider code conforms to Go standards:
|
|
208
|
-
|
|
209
|
-
```bash
|
|
210
|
-
make lint_provider
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
Fix any issues found by the linter.
|
|
214
|
-
|
|
215
|
-
**Note:** If you make revisions to code in `resources.go`, you must re-run the `make tfgen` target to regenerate the schema.
|
|
216
|
-
The `make tfgen` target will take the file `schema.json` and serialize it to a byte array so that it can be included in the build output.
|
|
217
|
-
(This is a holdover from Go 1.16, which does not have the ability to directly embed text files. We are working on removing the need for this step.)
|
|
218
|
-
|
|
219
|
-
## Sample Program
|
|
220
|
-
|
|
221
|
-
In this section, we will create a Pulumi program in TypeScript that utilizes the provider we created to ensure everything is working properly.
|
|
222
|
-
|
|
223
|
-
1. Create an account with the provider's service and generate any necessary credentials, e.g. API keys.
|
|
224
|
-
* Email: bot@pulumi.com
|
|
225
|
-
* Password: (Create a random password in 1Password with the maximum length and complexity allowed by the provider.)
|
|
226
|
-
* Ensure all secrets (passwords, generated API keys) are stored in Pulumi's 1Password vault.
|
|
227
|
-
|
|
228
|
-
1. Copy the `pulumi-resource-foo` binary generated by `make provider` and place it in your `$PATH` (`$GOPATH/bin` is a convenient choice), e.g.:
|
|
229
|
-
|
|
230
|
-
```bash
|
|
231
|
-
cp bin/pulumi-resource-foo $GOPATH/bin
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
1. Tell Yarn to use your local copy of the SDK:
|
|
235
|
-
|
|
236
|
-
```bash
|
|
237
|
-
make install_nodejs_sdk
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
1. Create a new Pulumi program in the `examples/` directory, e.g.:
|
|
241
|
-
|
|
242
|
-
```bash
|
|
243
|
-
mkdir examples/my-example/ts # Change "my-example" to something more meaningful.
|
|
244
|
-
cd examples/my-example/ts
|
|
245
|
-
pulumi new typescript
|
|
246
|
-
# (Go through the prompts with the default values)
|
|
247
|
-
npm install
|
|
248
|
-
yarn link @pulumi/foo
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
1. Create a minimal program for the provider, i.e. one that creates the smallest-footprint resource. Place this code in `index.ts`.
|
|
252
|
-
1. Configure any necessary environment variables for authentication, e.g `$FOO_USERNAME`, `$FOO_TOKEN`, in your local environment.
|
|
253
|
-
1. Ensure the program runs successfully via `pulumi up`.
|
|
254
|
-
1. Once the program completes successfully, verify the resource was created in the provider's UI.
|
|
255
|
-
1. Destroy any resources created by the program via `pulumi destroy`.
|
|
256
|
-
|
|
257
|
-
Optionally, you may create additional examples for SDKs in other languages supported by Pulumi:
|
|
258
|
-
|
|
259
|
-
1. Python:
|
|
260
|
-
|
|
261
|
-
```bash
|
|
262
|
-
mkdir examples/my-example/py
|
|
263
|
-
cd examples/my-example/py
|
|
264
|
-
pulumi new python
|
|
265
|
-
# (Go through the prompts with the default values)
|
|
266
|
-
source venv/bin/activate # use the virtual Python env that Pulumi sets up for you
|
|
267
|
-
pip install pulumi_foo
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
1. Follow the steps above to verify the program runs successfully.
|
|
271
|
-
|
|
272
|
-
## Add End-to-end Testing
|
|
273
|
-
|
|
274
|
-
We can run integration tests on our examples using the `*_test.go` files in the `examples/` folder.
|
|
275
|
-
|
|
276
|
-
1. Add code to `examples_nodejs_test.go` to call the example you created, e.g.:
|
|
277
|
-
|
|
278
|
-
```go
|
|
279
|
-
// Swap out MyExample and "my-example" below with the name of your integration test.
|
|
280
|
-
func TestAccMyExampleTs(t *testing.T) {
|
|
281
|
-
test := getJSBaseOptions(t).
|
|
282
|
-
With(integration.ProgramTestOptions{
|
|
283
|
-
Dir: filepath.Join(getCwd(t), "my-example", "ts"),
|
|
284
|
-
})
|
|
285
|
-
integration.ProgramTest(t, &test)
|
|
286
|
-
}
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
1. Add a similar function for each example that you want to run in an integration test. For examples written in other languages, create similar files for `examples_${LANGUAGE}_test.go`.
|
|
290
|
-
|
|
291
|
-
1. You can run these tests locally via Make:
|
|
292
|
-
|
|
293
|
-
```bash
|
|
294
|
-
make test
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
You can also run each test file separately via test tags:
|
|
298
|
-
|
|
299
|
-
```bash
|
|
300
|
-
cd examples && go test -v -tags=nodejs
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
## Configuring CI with GitHub Actions
|
|
304
|
-
|
|
305
|
-
### Third-party providers
|
|
306
|
-
|
|
307
|
-
1. Follow the instructions laid out in the [deployment templates](./deployment-templates/README-DEPLOYMENT.md).
|
|
308
|
-
|
|
309
|
-
### Pulumi Internal
|
|
310
|
-
|
|
311
|
-
In this section, we'll add the necessary configuration to work with GitHub Actions for Pulumi's standard CI/CD workflows for providers.
|
|
312
|
-
|
|
313
|
-
1. Generate GitHub workflows per [the instructions in the ci-mgmt repository](https://github.com/pulumi/ci-mgmt/) and copy to `.github/` in this repository.
|
|
314
|
-
|
|
315
|
-
1. Ensure that any required secrets are present as repository-level [secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) in GitHub. These will be used by the integration tests during the CI/CD process.
|
|
316
|
-
|
|
317
|
-
1. Repository settings: Toggle `Allow auto-merge` on in your provider repo to automate GitHub Actions workflow updates.
|
|
318
|
-
|
|
319
|
-
## Final Steps
|
|
320
|
-
|
|
321
|
-
1. Ensure all required configurations (API keys, etc.) are documented in README-PROVIDER.md.
|
|
322
|
-
|
|
323
|
-
1. Replace this file with the README for the provider and push your changes:
|
|
324
|
-
|
|
325
|
-
```bash
|
|
326
|
-
mv README-PROVIDER.md README.md
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
1. If publishing the npm package fails during the "Publish SDKs" Action, perform the following steps:
|
|
330
|
-
1. Go to [NPM Packages](https://www.npmjs.com/) and sign in as pulumi-bot.
|
|
331
|
-
1. Click on the bot's profile pic and navigate to "Packages".
|
|
332
|
-
1. On the left, under "Organizations, click on the Pulumi organization.
|
|
333
|
-
1. On the last page of the listed packages, you should see the new package.
|
|
334
|
-
1. Under "Settings", set the Package Status to "public".
|
|
335
|
-
|
|
336
|
-
Now you are ready to use the provider, cut releases, and have some well-deserved :ice_cream:!
|
|
67
|
+
For detailed reference documentation, please visit [the Pulumi registry](https://www.pulumi.com/registry/packages/confluentcloud/api-docs/).
|
package/apiKey.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ export declare class ApiKey extends pulumi.CustomResource {
|
|
|
37
37
|
* A free-form description of the API Account.
|
|
38
38
|
*/
|
|
39
39
|
readonly description: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`.
|
|
42
|
+
*/
|
|
43
|
+
readonly disableWaitForReady: pulumi.Output<boolean | undefined>;
|
|
40
44
|
/**
|
|
41
45
|
* A human-readable name for the API Key.
|
|
42
46
|
*/
|
|
@@ -50,7 +54,7 @@ export declare class ApiKey extends pulumi.CustomResource {
|
|
|
50
54
|
*/
|
|
51
55
|
readonly owner: pulumi.Output<outputs.ApiKeyOwner>;
|
|
52
56
|
/**
|
|
53
|
-
* (Required String) The secret of the API Key.
|
|
57
|
+
* (Required String, Sensitive) The secret of the API Key.
|
|
54
58
|
*/
|
|
55
59
|
readonly secret: pulumi.Output<string>;
|
|
56
60
|
/**
|
|
@@ -70,6 +74,10 @@ export interface ApiKeyState {
|
|
|
70
74
|
* A free-form description of the API Account.
|
|
71
75
|
*/
|
|
72
76
|
description?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`.
|
|
79
|
+
*/
|
|
80
|
+
disableWaitForReady?: pulumi.Input<boolean>;
|
|
73
81
|
/**
|
|
74
82
|
* A human-readable name for the API Key.
|
|
75
83
|
*/
|
|
@@ -83,7 +91,7 @@ export interface ApiKeyState {
|
|
|
83
91
|
*/
|
|
84
92
|
owner?: pulumi.Input<inputs.ApiKeyOwner>;
|
|
85
93
|
/**
|
|
86
|
-
* (Required String) The secret of the API Key.
|
|
94
|
+
* (Required String, Sensitive) The secret of the API Key.
|
|
87
95
|
*/
|
|
88
96
|
secret?: pulumi.Input<string>;
|
|
89
97
|
}
|
|
@@ -95,6 +103,10 @@ export interface ApiKeyArgs {
|
|
|
95
103
|
* A free-form description of the API Account.
|
|
96
104
|
*/
|
|
97
105
|
description?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* An optional flag to disable wait-for-readiness on create. Its primary use case is for Cluster API Keys for private networking options when readiness check fails. Must be unset when importing. Defaults to `false`.
|
|
108
|
+
*/
|
|
109
|
+
disableWaitForReady?: pulumi.Input<boolean>;
|
|
98
110
|
/**
|
|
99
111
|
* A human-readable name for the API Key.
|
|
100
112
|
*/
|
package/apiKey.js
CHANGED
|
@@ -29,6 +29,7 @@ class ApiKey extends pulumi.CustomResource {
|
|
|
29
29
|
if (opts.id) {
|
|
30
30
|
const state = argsOrState;
|
|
31
31
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
32
|
+
resourceInputs["disableWaitForReady"] = state ? state.disableWaitForReady : undefined;
|
|
32
33
|
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
33
34
|
resourceInputs["managedResource"] = state ? state.managedResource : undefined;
|
|
34
35
|
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
@@ -40,6 +41,7 @@ class ApiKey extends pulumi.CustomResource {
|
|
|
40
41
|
throw new Error("Missing required property 'owner'");
|
|
41
42
|
}
|
|
42
43
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
44
|
+
resourceInputs["disableWaitForReady"] = args ? args.disableWaitForReady : undefined;
|
|
43
45
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
44
46
|
resourceInputs["managedResource"] = args ? args.managedResource : undefined;
|
|
45
47
|
resourceInputs["owner"] = args ? args.owner : undefined;
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA6D7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,e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cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IArFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAuFC;AAzEG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The Confluent Cloud API Key.
|
|
3
3
|
*/
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const cloudApiKey: string | undefined;
|
|
5
5
|
/**
|
|
6
6
|
* The Confluent Cloud API Secret.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const cloudApiSecret: string | undefined;
|
|
9
9
|
/**
|
|
10
10
|
* The base endpoint of Confluent Cloud API.
|
|
11
11
|
*/
|
|
12
12
|
export declare const endpoint: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The Kafka Cluster API Key.
|
|
15
|
+
*/
|
|
16
|
+
export declare const kafkaApiKey: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The Kafka Cluster API Secret.
|
|
19
|
+
*/
|
|
20
|
+
export declare const kafkaApiSecret: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The Kafka Cluster REST Endpoint.
|
|
23
|
+
*/
|
|
24
|
+
export declare const kafkaRestEndpoint: string | undefined;
|
package/config/vars.js
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const __config = new pulumi.Config("confluentcloud");
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "cloudApiKey", {
|
|
8
8
|
get() {
|
|
9
|
-
return __config.get("
|
|
9
|
+
return __config.get("cloudApiKey");
|
|
10
10
|
},
|
|
11
11
|
enumerable: true,
|
|
12
12
|
});
|
|
13
|
-
Object.defineProperty(exports, "
|
|
13
|
+
Object.defineProperty(exports, "cloudApiSecret", {
|
|
14
14
|
get() {
|
|
15
|
-
return __config.get("
|
|
15
|
+
return __config.get("cloudApiSecret");
|
|
16
16
|
},
|
|
17
17
|
enumerable: true,
|
|
18
18
|
});
|
|
@@ -22,4 +22,22 @@ Object.defineProperty(exports, "endpoint", {
|
|
|
22
22
|
},
|
|
23
23
|
enumerable: true,
|
|
24
24
|
});
|
|
25
|
+
Object.defineProperty(exports, "kafkaApiKey", {
|
|
26
|
+
get() {
|
|
27
|
+
return __config.get("kafkaApiKey");
|
|
28
|
+
},
|
|
29
|
+
enumerable: true,
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "kafkaApiSecret", {
|
|
32
|
+
get() {
|
|
33
|
+
return __config.get("kafkaApiSecret");
|
|
34
|
+
},
|
|
35
|
+
enumerable: true,
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "kafkaRestEndpoint", {
|
|
38
|
+
get() {
|
|
39
|
+
return __config.get("kafkaRestEndpoint");
|
|
40
|
+
},
|
|
41
|
+
enumerable: true,
|
|
42
|
+
});
|
|
25
43
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,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,CAAC,OAAO,EAAE,mBAAmB,EAAE;IAChD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/connector.d.ts
CHANGED
|
@@ -42,6 +42,10 @@ export declare class Connector extends pulumi.CustomResource {
|
|
|
42
42
|
*/
|
|
43
43
|
readonly environment: pulumi.Output<outputs.ConnectorEnvironment>;
|
|
44
44
|
readonly kafkaCluster: pulumi.Output<outputs.ConnectorKafkaCluster>;
|
|
45
|
+
/**
|
|
46
|
+
* The status of the connector (one of `"NONE"`, `"PROVISIONING"`, `"RUNNING"`, `"DEGRADED"`, `"FAILED"`, `"PAUSED"`, `"DELETED"`). Pausing (`"RUNNING" > "PAUSED"`) and resuming (`"PAUSED" > "RUNNING"`) a connector is supported via an update operation.
|
|
47
|
+
*/
|
|
48
|
+
readonly status: pulumi.Output<string>;
|
|
45
49
|
/**
|
|
46
50
|
* Create a Connector resource with the given unique name, arguments, and options.
|
|
47
51
|
*
|
|
@@ -72,6 +76,10 @@ export interface ConnectorState {
|
|
|
72
76
|
*/
|
|
73
77
|
environment?: pulumi.Input<inputs.ConnectorEnvironment>;
|
|
74
78
|
kafkaCluster?: pulumi.Input<inputs.ConnectorKafkaCluster>;
|
|
79
|
+
/**
|
|
80
|
+
* The status of the connector (one of `"NONE"`, `"PROVISIONING"`, `"RUNNING"`, `"DEGRADED"`, `"FAILED"`, `"PAUSED"`, `"DELETED"`). Pausing (`"RUNNING" > "PAUSED"`) and resuming (`"PAUSED" > "RUNNING"`) a connector is supported via an update operation.
|
|
81
|
+
*/
|
|
82
|
+
status?: pulumi.Input<string>;
|
|
75
83
|
}
|
|
76
84
|
/**
|
|
77
85
|
* The set of arguments for constructing a Connector resource.
|
|
@@ -94,4 +102,8 @@ export interface ConnectorArgs {
|
|
|
94
102
|
*/
|
|
95
103
|
environment: pulumi.Input<inputs.ConnectorEnvironment>;
|
|
96
104
|
kafkaCluster: pulumi.Input<inputs.ConnectorKafkaCluster>;
|
|
105
|
+
/**
|
|
106
|
+
* The status of the connector (one of `"NONE"`, `"PROVISIONING"`, `"RUNNING"`, `"DEGRADED"`, `"FAILED"`, `"PAUSED"`, `"DELETED"`). Pausing (`"RUNNING" > "PAUSED"`) and resuming (`"PAUSED" > "RUNNING"`) a connector is supported via an update operation.
|
|
107
|
+
*/
|
|
108
|
+
status?: pulumi.Input<string>;
|
|
97
109
|
}
|
package/connector.js
CHANGED
|
@@ -24,6 +24,7 @@ class Connector extends pulumi.CustomResource {
|
|
|
24
24
|
resourceInputs["configSensitive"] = state ? state.configSensitive : undefined;
|
|
25
25
|
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
26
26
|
resourceInputs["kafkaCluster"] = state ? state.kafkaCluster : undefined;
|
|
27
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
27
28
|
}
|
|
28
29
|
else {
|
|
29
30
|
const args = argsOrState;
|
|
@@ -40,6 +41,7 @@ class Connector extends pulumi.CustomResource {
|
|
|
40
41
|
resourceInputs["configSensitive"] = args ? args.configSensitive : undefined;
|
|
41
42
|
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
42
43
|
resourceInputs["kafkaCluster"] = args ? args.kafkaCluster : undefined;
|
|
44
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
43
45
|
}
|
|
44
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
45
47
|
super(Connector.__pulumiType, name, resourceInputs, opts);
|
package/connector.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"connector.js","sourceRoot":"","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IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAoFC;AAtEG,gBAAgB;AACO,sBAAY,GAAG,0CAA0C,CAAC"}
|
package/getEnvironment.d.ts
CHANGED
package/getEnvironment.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getEnvironmentOutput = exports.getEnvironment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* <img src="https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8" alt="">
|
|
10
|
+
*
|
|
9
11
|
* `confluentcloud.Environment` describes an Environment data source.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
package/getEnvironment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AAkCD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|