@pulumi/confluentcloud 2.58.0 → 2.59.0-alpha.1770934913
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/accessPoint.d.ts +3 -3
- package/accessPoint.js +3 -3
- package/apiKey.d.ts +12 -4
- package/apiKey.js +12 -4
- package/apiKey.js.map +1 -1
- package/businessMetadata.d.ts +1 -4
- package/businessMetadata.js +1 -4
- package/businessMetadata.js.map +1 -1
- package/businessMetadataBinding.d.ts +22 -7
- package/businessMetadataBinding.js +1 -4
- package/businessMetadataBinding.js.map +1 -1
- package/byokKey.d.ts +3 -3
- package/byokKey.js +3 -3
- package/catalogEntityAttributes.d.ts +36 -7
- package/catalogEntityAttributes.js +9 -4
- package/catalogEntityAttributes.js.map +1 -1
- package/catalogIntegration.d.ts +5 -3
- package/catalogIntegration.js +5 -3
- package/catalogIntegration.js.map +1 -1
- package/certificateAuthority.d.ts +3 -3
- package/certificateAuthority.js +3 -3
- package/certificatePool.d.ts +3 -3
- package/certificatePool.js +3 -3
- package/clusterLink.d.ts +10 -21
- package/clusterLink.js +10 -21
- package/clusterLink.js.map +1 -1
- package/connectArtifact.d.ts +11 -3
- package/connectArtifact.js +11 -3
- package/connectArtifact.js.map +1 -1
- package/connector.d.ts +11 -3
- package/connector.js +11 -3
- package/connector.js.map +1 -1
- package/customConnectorPlugin.d.ts +13 -3
- package/customConnectorPlugin.js +13 -3
- package/customConnectorPlugin.js.map +1 -1
- package/customConnectorPluginVersion.d.ts +13 -3
- package/customConnectorPluginVersion.js +13 -3
- package/customConnectorPluginVersion.js.map +1 -1
- package/dnsForwarder.d.ts +3 -3
- package/dnsForwarder.js +3 -3
- package/dnsRecord.d.ts +3 -3
- package/dnsRecord.js +3 -3
- package/environment.d.ts +9 -3
- package/environment.js +9 -3
- package/environment.js.map +1 -1
- package/flinkArtifact.d.ts +11 -3
- package/flinkArtifact.js +11 -3
- package/flinkArtifact.js.map +1 -1
- package/flinkComputePool.d.ts +9 -3
- package/flinkComputePool.js +9 -3
- package/flinkComputePool.js.map +1 -1
- package/flinkConnection.d.ts +97 -11
- package/flinkConnection.js +97 -11
- package/flinkConnection.js.map +1 -1
- package/flinkStatement.d.ts +32 -11
- package/flinkStatement.js +5 -8
- package/flinkStatement.js.map +1 -1
- package/gateway.d.ts +3 -3
- package/gateway.js +3 -3
- package/getNetwork.d.ts +32 -0
- package/getNetwork.js +32 -0
- package/getNetwork.js.map +1 -1
- package/getProviderIntegrationAuthorization.d.ts +260 -0
- package/getProviderIntegrationAuthorization.js +260 -0
- package/getProviderIntegrationAuthorization.js.map +1 -1
- package/groupMapping.d.ts +3 -3
- package/groupMapping.js +3 -3
- package/identityPool.d.ts +3 -3
- package/identityPool.js +3 -3
- package/identityProvider.d.ts +3 -3
- package/identityProvider.js +3 -3
- package/invitation.d.ts +12 -3
- package/invitation.js +3 -3
- package/invitation.js.map +1 -1
- package/ipFilter.d.ts +3 -3
- package/ipFilter.js +3 -3
- package/ipGroup.d.ts +3 -3
- package/ipGroup.js +3 -3
- package/kafkaAcl.d.ts +30 -11
- package/kafkaAcl.js +3 -8
- package/kafkaAcl.js.map +1 -1
- package/kafkaClientQuota.d.ts +11 -3
- package/kafkaClientQuota.js +11 -3
- package/kafkaClientQuota.js.map +1 -1
- package/kafkaCluster.d.ts +9 -3
- package/kafkaCluster.js +9 -3
- package/kafkaCluster.js.map +1 -1
- package/kafkaClusterConfig.d.ts +1 -4
- package/kafkaClusterConfig.js +1 -4
- package/kafkaClusterConfig.js.map +1 -1
- package/kafkaMirrorTopic.d.ts +54 -4
- package/kafkaMirrorTopic.js +9 -4
- package/kafkaMirrorTopic.js.map +1 -1
- package/kafkaTopic.d.ts +11 -33
- package/kafkaTopic.js +11 -33
- package/kafkaTopic.js.map +1 -1
- package/ksqlCluster.d.ts +3 -3
- package/ksqlCluster.js +3 -3
- package/network.d.ts +9 -3
- package/network.js +9 -3
- package/network.js.map +1 -1
- package/networkLinkEndpoint.d.ts +9 -3
- package/networkLinkEndpoint.js +9 -3
- package/networkLinkEndpoint.js.map +1 -1
- package/networkLinkService.d.ts +9 -3
- package/networkLinkService.js +9 -3
- package/networkLinkService.js.map +1 -1
- package/package.json +2 -2
- package/peering.d.ts +9 -3
- package/peering.js +9 -3
- package/peering.js.map +1 -1
- package/plugin.d.ts +9 -3
- package/plugin.js +9 -3
- package/plugin.js.map +1 -1
- package/privateLinkAccess.d.ts +9 -3
- package/privateLinkAccess.js +9 -3
- package/privateLinkAccess.js.map +1 -1
- package/privateLinkAttachment.d.ts +3 -3
- package/privateLinkAttachment.js +3 -3
- package/privateLinkAttachmentConnection.d.ts +3 -3
- package/privateLinkAttachmentConnection.js +3 -3
- package/providerIntegration.d.ts +9 -3
- package/providerIntegration.js +9 -3
- package/providerIntegration.js.map +1 -1
- package/providerIntegrationAuthorization.d.ts +161 -3
- package/providerIntegrationAuthorization.js +161 -3
- package/providerIntegrationAuthorization.js.map +1 -1
- package/providerIntegrationSetup.d.ts +11 -3
- package/providerIntegrationSetup.js +11 -3
- package/providerIntegrationSetup.js.map +1 -1
- package/roleBinding.d.ts +36 -3
- package/roleBinding.js +3 -3
- package/roleBinding.js.map +1 -1
- package/schema.d.ts +22 -11
- package/schema.js +13 -11
- package/schema.js.map +1 -1
- package/schemaExporter.d.ts +3 -5
- package/schemaExporter.js +3 -5
- package/schemaExporter.js.map +1 -1
- package/schemaRegistryClusterConfig.d.ts +7 -4
- package/schemaRegistryClusterConfig.js +7 -4
- package/schemaRegistryClusterConfig.js.map +1 -1
- package/schemaRegistryClusterMode.d.ts +7 -4
- package/schemaRegistryClusterMode.js +7 -4
- package/schemaRegistryClusterMode.js.map +1 -1
- package/schemaRegistryDek.d.ts +22 -7
- package/schemaRegistryDek.js +1 -4
- package/schemaRegistryDek.js.map +1 -1
- package/schemaRegistryKek.d.ts +22 -7
- package/schemaRegistryKek.js +1 -4
- package/schemaRegistryKek.js.map +1 -1
- package/serviceAccount.d.ts +3 -3
- package/serviceAccount.js +3 -3
- package/subjectConfig.d.ts +7 -4
- package/subjectConfig.js +7 -4
- package/subjectConfig.js.map +1 -1
- package/subjectMode.d.ts +7 -4
- package/subjectMode.js +7 -4
- package/subjectMode.js.map +1 -1
- package/tableflowTopic.d.ts +7 -3
- package/tableflowTopic.js +7 -3
- package/tableflowTopic.js.map +1 -1
- package/tag.d.ts +22 -7
- package/tag.js +1 -4
- package/tag.js.map +1 -1
- package/tagBinding.d.ts +28 -4
- package/tagBinding.js +1 -4
- package/tagBinding.js.map +1 -1
- package/tfImporter.d.ts +6 -0
- package/tfImporter.js +6 -0
- package/tfImporter.js.map +1 -1
- package/transitGatewayAttachment.d.ts +9 -3
- package/transitGatewayAttachment.js +9 -3
- package/transitGatewayAttachment.js.map +1 -1
- package/types/input.d.ts +98 -16
- package/types/output.d.ts +78 -12
package/peering.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.Peering` provides a Peering resource that enables creating, editing, and deleting Peerings on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Peering deletion. This setting rejects plans that would destroy or recreate the Peering, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ### Example Peering on AWS
|
|
@@ -118,13 +124,13 @@ import * as outputs from "./types/output";
|
|
|
118
124
|
*
|
|
119
125
|
* ## Import
|
|
120
126
|
*
|
|
127
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Peering.
|
|
128
|
+
*
|
|
121
129
|
* You can import a Peering by using Environment ID and Peering ID, in the format `<Environment ID>/<Peering ID>`. The following example shows how to import a Peering:
|
|
122
130
|
*
|
|
131
|
+
* ```sh
|
|
123
132
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
124
|
-
*
|
|
125
133
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
126
|
-
*
|
|
127
|
-
* ```sh
|
|
128
134
|
* $ pulumi import confluentcloud:index/peering:Peering my_peer env-abc123/peer-abc123
|
|
129
135
|
* ```
|
|
130
136
|
*
|
package/peering.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.Peering = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.Peering` provides a Peering resource that enables creating, editing, and deleting Peerings on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Peering deletion. This setting rejects plans that would destroy or recreate the Peering, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ### Example Peering on AWS
|
|
@@ -122,13 +128,13 @@ const utilities = require("./utilities");
|
|
|
122
128
|
*
|
|
123
129
|
* ## Import
|
|
124
130
|
*
|
|
131
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Peering.
|
|
132
|
+
*
|
|
125
133
|
* You can import a Peering by using Environment ID and Peering ID, in the format `<Environment ID>/<Peering ID>`. The following example shows how to import a Peering:
|
|
126
134
|
*
|
|
135
|
+
* ```sh
|
|
127
136
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
128
|
-
*
|
|
129
137
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
130
|
-
*
|
|
131
|
-
* ```sh
|
|
132
138
|
* $ pulumi import confluentcloud:index/peering:Peering my_peer env-abc123/peer-abc123
|
|
133
139
|
* ```
|
|
134
140
|
*
|
package/peering.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peering.js","sourceRoot":"","sources":["../peering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"peering.js","sourceRoot":"","sources":["../peering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsIG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA0BD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACn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AY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAhFL,0BAiFC;AAnEG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
|
package/plugin.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.Plugin` provides a Plugin resource for custom connectors with versioning support that enables creating, editing, and deleting Plugins on Confluent Cloud.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Plugin deletion. This setting rejects plans that would destroy or recreate the Plugin, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -20,13 +26,13 @@ import * as outputs from "./types/output";
|
|
|
20
26
|
*
|
|
21
27
|
* ## Import
|
|
22
28
|
*
|
|
29
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Plugin.
|
|
30
|
+
*
|
|
23
31
|
* You can import a Custom Connector Plugin by using a Plugin ID, in the format `<Environment ID/Custom Connector Plugin ID>`. The following example shows how to import a Plugin:
|
|
24
32
|
*
|
|
33
|
+
* ```sh
|
|
25
34
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
26
|
-
*
|
|
27
35
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
36
|
* $ pulumi import confluentcloud:index/plugin:Plugin main env-123/ccpm-abc123xyz
|
|
31
37
|
* ```
|
|
32
38
|
*
|
package/plugin.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.Plugin = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.Plugin` provides a Plugin resource for custom connectors with versioning support that enables creating, editing, and deleting Plugins on Confluent Cloud.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Plugin deletion. This setting rejects plans that would destroy or recreate the Plugin, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
|
@@ -24,13 +30,13 @@ const utilities = require("./utilities");
|
|
|
24
30
|
*
|
|
25
31
|
* ## Import
|
|
26
32
|
*
|
|
33
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Plugin.
|
|
34
|
+
*
|
|
27
35
|
* You can import a Custom Connector Plugin by using a Plugin ID, in the format `<Environment ID/Custom Connector Plugin ID>`. The following example shows how to import a Plugin:
|
|
28
36
|
*
|
|
37
|
+
* ```sh
|
|
29
38
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
30
|
-
*
|
|
31
39
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
32
|
-
*
|
|
33
|
-
* ```sh
|
|
34
40
|
* $ pulumi import confluentcloud:index/plugin:Plugin main env-123/ccpm-abc123xyz
|
|
35
41
|
* ```
|
|
36
42
|
*
|
package/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../plugin.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../plugin.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IAuCD,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,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,a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AC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAlGL,wBAmGC;AArFG,gBAAgB;AACO,mBAAY,GAAG,oCAAoC,CAAC"}
|
package/privateLinkAccess.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.PrivateLinkAccess` provides a Private Link Access resource that enables creating and deleting access to PrivateLink endpoints by AWS account, Azure subscription, or GCP project ID.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Private Link Access deletion. This setting rejects plans that would destroy or recreate the Private Link Access, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ### Example Private Link Access on AWS
|
|
@@ -116,13 +122,13 @@ import * as outputs from "./types/output";
|
|
|
116
122
|
*
|
|
117
123
|
* ## Import
|
|
118
124
|
*
|
|
125
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Private Link Access.
|
|
126
|
+
*
|
|
119
127
|
* You can import a Private Link Access by using Environment ID and Private Link Access ID, in the format `<Environment ID>/<Private Link Access ID>`. The following example shows how to import a Private Link Access:
|
|
120
128
|
*
|
|
129
|
+
* ```sh
|
|
121
130
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
122
|
-
*
|
|
123
131
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
124
|
-
*
|
|
125
|
-
* ```sh
|
|
126
132
|
* $ pulumi import confluentcloud:index/privateLinkAccess:PrivateLinkAccess my_pla env-abc123/pla-abc123
|
|
127
133
|
* ```
|
|
128
134
|
*
|
package/privateLinkAccess.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.PrivateLinkAccess = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.PrivateLinkAccess` provides a Private Link Access resource that enables creating and deleting access to PrivateLink endpoints by AWS account, Azure subscription, or GCP project ID.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Private Link Access deletion. This setting rejects plans that would destroy or recreate the Private Link Access, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ### Example Private Link Access on AWS
|
|
@@ -120,13 +126,13 @@ const utilities = require("./utilities");
|
|
|
120
126
|
*
|
|
121
127
|
* ## Import
|
|
122
128
|
*
|
|
129
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Private Link Access.
|
|
130
|
+
*
|
|
123
131
|
* You can import a Private Link Access by using Environment ID and Private Link Access ID, in the format `<Environment ID>/<Private Link Access ID>`. The following example shows how to import a Private Link Access:
|
|
124
132
|
*
|
|
133
|
+
* ```sh
|
|
125
134
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
126
|
-
*
|
|
127
135
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
128
|
-
*
|
|
129
|
-
* ```sh
|
|
130
136
|
* $ pulumi import confluentcloud:index/privateLinkAccess:PrivateLinkAccess my_pla env-abc123/pla-abc123
|
|
131
137
|
* ```
|
|
132
138
|
*
|
package/privateLinkAccess.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkAccess.js","sourceRoot":"","sources":["../privateLinkAccess.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privateLinkAccess.js","sourceRoot":"","sources":["../privateLinkAccess.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoIG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA0BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,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L,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -31,13 +31,13 @@ import * as outputs from "./types/output";
|
|
|
31
31
|
*
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Private Link Attachment.
|
|
35
|
+
*
|
|
34
36
|
* You can import a Private Link Attachment by using Environment ID and Private Link Attachment ID, in the format `<Environment ID>/<Private Link Attachment ID>`. The following example shows how to import a Private Link Attachment:
|
|
35
37
|
*
|
|
38
|
+
* ```sh
|
|
36
39
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
37
|
-
*
|
|
38
40
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
39
|
-
*
|
|
40
|
-
* ```sh
|
|
41
41
|
* $ pulumi import confluentcloud:index/privateLinkAttachment:PrivateLinkAttachment main env-abc123/platt-abc123
|
|
42
42
|
* ```
|
|
43
43
|
*
|
package/privateLinkAttachment.js
CHANGED
|
@@ -35,13 +35,13 @@ const utilities = require("./utilities");
|
|
|
35
35
|
*
|
|
36
36
|
* ## Import
|
|
37
37
|
*
|
|
38
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Private Link Attachment.
|
|
39
|
+
*
|
|
38
40
|
* You can import a Private Link Attachment by using Environment ID and Private Link Attachment ID, in the format `<Environment ID>/<Private Link Attachment ID>`. The following example shows how to import a Private Link Attachment:
|
|
39
41
|
*
|
|
42
|
+
* ```sh
|
|
40
43
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
41
|
-
*
|
|
42
44
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
43
|
-
*
|
|
44
|
-
* ```sh
|
|
45
45
|
* $ pulumi import confluentcloud:index/privateLinkAttachment:PrivateLinkAttachment main env-abc123/platt-abc123
|
|
46
46
|
* ```
|
|
47
47
|
*
|
|
@@ -59,13 +59,13 @@ import * as outputs from "./types/output";
|
|
|
59
59
|
*
|
|
60
60
|
* ## Import
|
|
61
61
|
*
|
|
62
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Private Link Attachment Connection.
|
|
63
|
+
*
|
|
62
64
|
* You can import a Private Link Attachment Connection by using Environment ID and Private Link Attachment Connection ID, in the format `<Environment ID>/<Private Link Attachment Connection ID>`. The following example shows how to import a Private Link Attachment Connection:
|
|
63
65
|
*
|
|
66
|
+
* ```sh
|
|
64
67
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
65
|
-
*
|
|
66
68
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
67
|
-
*
|
|
68
|
-
* ```sh
|
|
69
69
|
* $ pulumi import confluentcloud:index/privateLinkAttachmentConnection:PrivateLinkAttachmentConnection main env-abc123/plattc-abc123
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
@@ -63,13 +63,13 @@ const utilities = require("./utilities");
|
|
|
63
63
|
*
|
|
64
64
|
* ## Import
|
|
65
65
|
*
|
|
66
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Private Link Attachment Connection.
|
|
67
|
+
*
|
|
66
68
|
* You can import a Private Link Attachment Connection by using Environment ID and Private Link Attachment Connection ID, in the format `<Environment ID>/<Private Link Attachment Connection ID>`. The following example shows how to import a Private Link Attachment Connection:
|
|
67
69
|
*
|
|
70
|
+
* ```sh
|
|
68
71
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
69
|
-
*
|
|
70
72
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
71
|
-
*
|
|
72
|
-
* ```sh
|
|
73
73
|
* $ pulumi import confluentcloud:index/privateLinkAttachmentConnection:PrivateLinkAttachmentConnection main env-abc123/plattc-abc123
|
|
74
74
|
* ```
|
|
75
75
|
*
|
package/providerIntegration.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.ProviderIntegration` allows Confluent Cloud integration with a public Cloud Service Provider (CSP) that grants users to manage access to public CSP resources through Confluent resources.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Provider Integration deletion. This setting rejects plans that would destroy or recreate the Provider Integration, such as attempting to change un-editable attributes. Read more about it in the Terraform docs.
|
|
10
|
+
*
|
|
5
11
|
* ## Example Usage
|
|
6
12
|
*
|
|
7
13
|
* ```typescript
|
|
@@ -32,13 +38,13 @@ import * as outputs from "./types/output";
|
|
|
32
38
|
*
|
|
33
39
|
* ## Import
|
|
34
40
|
*
|
|
41
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Provider Integration.
|
|
42
|
+
*
|
|
35
43
|
* You can import a Provider Integration by using Environment ID and Provider Integration ID, in the format `<Environment ID>/<Provider Integration ID>`. The following example shows how to import a Provider Integration:
|
|
36
44
|
*
|
|
45
|
+
* ```sh
|
|
37
46
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
38
|
-
*
|
|
39
47
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
40
|
-
*
|
|
41
|
-
* ```sh
|
|
42
48
|
* $ pulumi import confluentcloud:index/providerIntegration:ProviderIntegration main env-abc123/cspi-4xg0q
|
|
43
49
|
* ```
|
|
44
50
|
*
|
package/providerIntegration.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.ProviderIntegration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
10
|
+
*
|
|
11
|
+
* `confluentcloud.ProviderIntegration` allows Confluent Cloud integration with a public Cloud Service Provider (CSP) that grants users to manage access to public CSP resources through Confluent resources.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** It is recommended to set `lifecycle { preventDestroy = true }` on production instances to prevent accidental Provider Integration deletion. This setting rejects plans that would destroy or recreate the Provider Integration, such as attempting to change un-editable attributes. Read more about it in the Terraform docs.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
|
@@ -36,13 +42,13 @@ const utilities = require("./utilities");
|
|
|
36
42
|
*
|
|
37
43
|
* ## Import
|
|
38
44
|
*
|
|
45
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Provider Integration.
|
|
46
|
+
*
|
|
39
47
|
* You can import a Provider Integration by using Environment ID and Provider Integration ID, in the format `<Environment ID>/<Provider Integration ID>`. The following example shows how to import a Provider Integration:
|
|
40
48
|
*
|
|
49
|
+
* ```sh
|
|
41
50
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
42
|
-
*
|
|
43
51
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
44
|
-
*
|
|
45
|
-
* ```sh
|
|
46
52
|
* $ pulumi import confluentcloud:index/providerIntegration:ProviderIntegration main env-abc123/cspi-4xg0q
|
|
47
53
|
* ```
|
|
48
54
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providerIntegration.js","sourceRoot":"","sources":["../providerIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"providerIntegration.js","sourceRoot":"","sources":["../providerIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA7EL,kDA8EC;AAhEG,gBAAgB;AACO,gCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -2,15 +2,173 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* [](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
|
|
6
|
+
*
|
|
7
|
+
* `confluentcloud.ProviderIntegrationAuthorization` configures and validates a Cloud Service Provider (CSP) integration created by `confluentcloud.ProviderIntegrationSetup`. This resource transitions the integration from DRAFT to CREATED status and validates the cloud provider setup.
|
|
8
|
+
*
|
|
9
|
+
* > **Note:** This resource will show persistent warnings until the cloud provider setup is complete. For Azure, you must grant admin consent and create a service principal. For GCP, you must configure IAM permissions.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Azure Provider Integration Authorization
|
|
14
|
+
*
|
|
15
|
+
* You have two options to complete the Azure setup after creating the authorization resource:
|
|
16
|
+
*
|
|
17
|
+
* ### Option 1: Using Azure Terraform Provider (Recommended for Infrastructure as Code)
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as azuread from "@pulumi/azuread";
|
|
22
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
23
|
+
*
|
|
24
|
+
* const azure = new confluentcloud.ProviderIntegrationSetup("azure", {
|
|
25
|
+
* environment: {
|
|
26
|
+
* id: environmentId,
|
|
27
|
+
* },
|
|
28
|
+
* displayName: "azure-integration",
|
|
29
|
+
* cloud: "AZURE",
|
|
30
|
+
* });
|
|
31
|
+
* const azureProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("azure", {
|
|
32
|
+
* providerIntegrationId: azure.id,
|
|
33
|
+
* environment: {
|
|
34
|
+
* id: environmentId,
|
|
35
|
+
* },
|
|
36
|
+
* azure: {
|
|
37
|
+
* customerAzureTenantId: azureTenantId,
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* // Automatically create the service principal using Azure Terraform Provider
|
|
41
|
+
* const confluent = new azuread.index.ServicePrincipal("confluent", {clientId: azureProviderIntegrationAuthorization.azure?.confluentMultiTenantAppId});
|
|
42
|
+
* export const azureAppId = azureProviderIntegrationAuthorization.azure.apply(azure => azure?.confluentMultiTenantAppId);
|
|
43
|
+
* export const servicePrincipalObjectId = confluent.objectId;
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ### Option 2: Using Azure CLI Commands
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
51
|
+
*
|
|
52
|
+
* const azure = new confluentcloud.ProviderIntegrationSetup("azure", {
|
|
53
|
+
* environment: {
|
|
54
|
+
* id: environmentId,
|
|
55
|
+
* },
|
|
56
|
+
* displayName: "azure-integration",
|
|
57
|
+
* cloud: "AZURE",
|
|
58
|
+
* });
|
|
59
|
+
* const azureProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("azure", {
|
|
60
|
+
* providerIntegrationId: azure.id,
|
|
61
|
+
* environment: {
|
|
62
|
+
* id: environmentId,
|
|
63
|
+
* },
|
|
64
|
+
* azure: {
|
|
65
|
+
* customerAzureTenantId: azureTenantId,
|
|
66
|
+
* },
|
|
67
|
+
* });
|
|
68
|
+
* export const azureSetupCommand = azureProviderIntegrationAuthorization.azure.apply(azure => `az ad sp create --id ${azure?.confluentMultiTenantAppId}`);
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* ### GCP Provider Integration Authorization
|
|
72
|
+
*
|
|
73
|
+
* You have two options to complete the GCP setup after creating the authorization resource:
|
|
74
|
+
*
|
|
75
|
+
* ### Option 1: Using Google Terraform Provider (Recommended for Infrastructure as Code)
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
80
|
+
* import * as google from "@pulumi/google";
|
|
81
|
+
*
|
|
82
|
+
* const gcp = new confluentcloud.ProviderIntegrationSetup("gcp", {
|
|
83
|
+
* environment: {
|
|
84
|
+
* id: environmentId,
|
|
85
|
+
* },
|
|
86
|
+
* displayName: "gcp-integration",
|
|
87
|
+
* cloud: "GCP",
|
|
88
|
+
* });
|
|
89
|
+
* const gcpProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("gcp", {
|
|
90
|
+
* providerIntegrationId: gcp.id,
|
|
91
|
+
* environment: {
|
|
92
|
+
* id: environmentId,
|
|
93
|
+
* },
|
|
94
|
+
* gcp: {
|
|
95
|
+
* customerGoogleServiceAccount: gcpServiceAccount,
|
|
96
|
+
* },
|
|
97
|
+
* });
|
|
98
|
+
* // Grant IAM permissions using Google Terraform Provider
|
|
99
|
+
* const confluentTokenCreator = new google.index.ProjectIamMember("confluent_token_creator", {
|
|
100
|
+
* project: gcpProjectId,
|
|
101
|
+
* role: "roles/iam.serviceAccountTokenCreator",
|
|
102
|
+
* member: `serviceAccount:${gcpProviderIntegrationAuthorization.gcp?.googleServiceAccount}`,
|
|
103
|
+
* condition: [{
|
|
104
|
+
* title: "Confluent Cloud Access",
|
|
105
|
+
* description: "Allow Confluent Cloud to impersonate the customer service account",
|
|
106
|
+
* expression: `request.auth.claims.sub == '${gcpProviderIntegrationAuthorization.gcp?.googleServiceAccount}'`,
|
|
107
|
+
* }],
|
|
108
|
+
* });
|
|
109
|
+
* export const confluentServiceAccount = gcpProviderIntegrationAuthorization.gcp.apply(gcp => gcp?.googleServiceAccount);
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* ### Option 2: Using gcloud CLI Commands
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as confluentcloud from "@pulumi/confluentcloud";
|
|
117
|
+
*
|
|
118
|
+
* const gcp = new confluentcloud.ProviderIntegrationSetup("gcp", {
|
|
119
|
+
* environment: {
|
|
120
|
+
* id: environmentId,
|
|
121
|
+
* },
|
|
122
|
+
* displayName: "gcp-integration",
|
|
123
|
+
* cloud: "GCP",
|
|
124
|
+
* });
|
|
125
|
+
* const gcpProviderIntegrationAuthorization = new confluentcloud.ProviderIntegrationAuthorization("gcp", {
|
|
126
|
+
* providerIntegrationId: gcp.id,
|
|
127
|
+
* environment: {
|
|
128
|
+
* id: environmentId,
|
|
129
|
+
* },
|
|
130
|
+
* gcp: {
|
|
131
|
+
* customerGoogleServiceAccount: gcpServiceAccount,
|
|
132
|
+
* },
|
|
133
|
+
* });
|
|
134
|
+
* export const gcpIamCommand = pulumi.all([gcpProviderIntegrationAuthorization.gcp, gcpProviderIntegrationAuthorization.gcp]).apply(([gcpProviderIntegrationAuthorizationGcp, gcpProviderIntegrationAuthorizationGcp1]) => `gcloud projects add-iam-policy-binding YOUR_PROJECT_ID --member="serviceAccount:${gcpProviderIntegrationAuthorizationGcp?.googleServiceAccount}" --role="roles/iam.serviceAccountTokenCreator" --condition="expression=request.auth.claims.sub=='${gcpProviderIntegrationAuthorizationGcp1?.googleServiceAccount}'"`);
|
|
135
|
+
* export const confluentServiceAccount = gcpProviderIntegrationAuthorization.gcp.apply(gcp => gcp?.googleServiceAccount);
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* ## Azure Setup Process
|
|
139
|
+
*
|
|
140
|
+
* After applying the Terraform configuration, complete the Azure setup:
|
|
141
|
+
*
|
|
142
|
+
* 1. **Get the multi-tenant app ID** from the Terraform outputs
|
|
143
|
+
* 2. **Grant admin consent** (if you have Global Admin rights):
|
|
144
|
+
* 4. **Grant permissions** in Azure Portal → Enterprise Applications
|
|
145
|
+
* 5. **Re-run `pulumi up`** to validate the connection
|
|
146
|
+
*
|
|
147
|
+
* ## GCP Setup Process
|
|
148
|
+
*
|
|
149
|
+
* After applying the Terraform configuration, complete the GCP setup:
|
|
150
|
+
*
|
|
151
|
+
* 1. **Get the Confluent service account** from the Terraform outputs
|
|
152
|
+
* 2. **Grant IAM permissions** in GCP Console:
|
|
153
|
+
* - Grant the Confluent service account "Service Account Token Creator" role on your service account
|
|
154
|
+
* - Grant your service account the necessary permissions (e.g., BigQuery Data Editor)
|
|
155
|
+
* 3. **Re-run `pulumi up`** to validate the connection
|
|
156
|
+
*
|
|
157
|
+
* ## Getting Started
|
|
158
|
+
*
|
|
159
|
+
* The following end-to-end examples might help to get started with `confluentcloud.ProviderIntegrationAuthorization` resource:
|
|
160
|
+
* * provider-integration-azure: Complete Azure Provider Integration setup
|
|
161
|
+
* * provider-integration-gcp: Complete GCP Provider Integration setup
|
|
162
|
+
*
|
|
5
163
|
* ## Import
|
|
6
164
|
*
|
|
165
|
+
* > **Note:** `CONFLUENT_CLOUD_API_KEY` and `CONFLUENT_CLOUD_API_SECRET` environment variables must be set before importing a Provider Integration Authorization.
|
|
166
|
+
*
|
|
7
167
|
* You can import a Provider Integration Authorization by using Environment ID and Provider Integration ID, in the format `<Environment ID>/<Provider Integration ID>`. The following example shows how to import a Provider Integration Authorization:
|
|
8
168
|
*
|
|
169
|
+
* ```sh
|
|
9
170
|
* $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
|
|
10
|
-
*
|
|
11
171
|
* $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
|
|
12
|
-
*
|
|
13
|
-
* ```sh
|
|
14
172
|
* $ pulumi import confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization main env-abc123/cspi-4xg0q
|
|
15
173
|
* ```
|
|
16
174
|
*
|