Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform-provider-confluent to v1.52.0 #213

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions provider/cmd/pulumi-resource-confluentcloud/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,30 @@
"version": {}
}
},
"confluent_schema_exporter": {
"current": "confluentcloud:index/schemaExporter:SchemaExporter",
"fields": {
"credentials": {
"maxItemsOne": true
},
"destination_schema_registry_cluster": {
"maxItemsOne": true,
"elem": {
"fields": {
"credentials": {
"maxItemsOne": true
}
}
}
},
"schema_registry_cluster": {
"maxItemsOne": true
},
"subjects": {
"maxItemsOne": false
}
}
},
"confluent_schema_registry_cluster": {
"current": "confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster",
"fields": {
Expand Down Expand Up @@ -1567,6 +1591,7 @@
"confluentcloud:index/privateLinkAttachmentConnection:PrivateLinkAttachmentConnection": "confluent_private_link_attachment_connection",
"confluentcloud:index/roleBinding:RoleBinding": "confluent_role_binding",
"confluentcloud:index/schema:Schema": "confluent_schema",
"confluentcloud:index/schemaExporter:SchemaExporter": "confluent_schema_exporter",
"confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster": "confluent_schema_registry_cluster",
"confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig": "confluent_schema_registry_cluster_config",
"confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode": "confluent_schema_registry_cluster_mode",
Expand Down Expand Up @@ -1710,6 +1735,9 @@
"confluentcloud:index/PrivateLinkAttachmentGcp:PrivateLinkAttachmentGcp": {
"privateServiceConnectServiceAttachment": "private_service_connect_service_attachment"
},
"confluentcloud:index/SchemaExporterDestinationSchemaRegistryCluster:SchemaExporterDestinationSchemaRegistryCluster": {
"restEndpoint": "rest_endpoint"
},
"confluentcloud:index/SchemaSchemaReference:SchemaSchemaReference": {
"subjectName": "subject_name"
},
Expand Down Expand Up @@ -2146,6 +2174,14 @@
"schemaRegistryCluster": "schema_registry_cluster",
"subjectName": "subject_name"
},
"confluentcloud:index/schemaExporter:SchemaExporter": {
"contextType": "context_type",
"destinationSchemaRegistryCluster": "destination_schema_registry_cluster",
"resetOnUpdate": "reset_on_update",
"restEndpoint": "rest_endpoint",
"schemaRegistryCluster": "schema_registry_cluster",
"subjectRenameFormat": "subject_rename_format"
},
"confluentcloud:index/schemaRegistryCluster:SchemaRegistryCluster": {
"apiVersion": "api_version",
"displayName": "display_name",
Expand Down
271 changes: 265 additions & 6 deletions provider/cmd/pulumi-resource-confluentcloud/schema.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ require (
github.com/confluentinc/ccloud-sdk-go-v2/byok v0.0.1 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/cmk v0.10.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/connect v0.2.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/data-catalog v0.1.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/data-catalog v0.2.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/iam v0.10.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/identity-provider v0.2.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/kafka-quotas v0.4.0 // indirect
Expand All @@ -102,7 +102,7 @@ require (
github.com/confluentinc/ccloud-sdk-go-v2/networking v0.7.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/networking-privatelink v0.1.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.2.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.3.0 // indirect
github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0 // indirect
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/containerd/containerd v1.6.19 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,8 @@ github.com/confluentinc/ccloud-sdk-go-v2/cmk v0.10.0 h1:YQEcSvhX5ODllg0mhxLivckK
github.com/confluentinc/ccloud-sdk-go-v2/cmk v0.10.0/go.mod h1:357Zo3HvVAe5iQgUFxUbQPAKJasGm8vFMkOB+krVmR8=
github.com/confluentinc/ccloud-sdk-go-v2/connect v0.2.0 h1:rEb3sxzKCZvZCnEZ10WyGqkVIdlqxJGbmP85/4C4YdE=
github.com/confluentinc/ccloud-sdk-go-v2/connect v0.2.0/go.mod h1:lF4AfDtxoL0V7ZIMOULWiAycPwlfyt9UG659adRNdOM=
github.com/confluentinc/ccloud-sdk-go-v2/data-catalog v0.1.0 h1:HuU7SAId+hUi/SWbIXXXu6khDyGW/RANsNQxEwMNWmE=
github.com/confluentinc/ccloud-sdk-go-v2/data-catalog v0.1.0/go.mod h1:27GwI+j82LDFydahgmKVroqw6oFxzbvIj+ZOnksaKGw=
github.com/confluentinc/ccloud-sdk-go-v2/data-catalog v0.2.0 h1:ySx0jYNGK0XLcSkgPz+hxcH05v1LI5GVb3Rg+TCqBqk=
github.com/confluentinc/ccloud-sdk-go-v2/data-catalog v0.2.0/go.mod h1:27GwI+j82LDFydahgmKVroqw6oFxzbvIj+ZOnksaKGw=
github.com/confluentinc/ccloud-sdk-go-v2/iam v0.10.0 h1:AV0bGk01bGfKzNq5IVqRi2iEc6YTeBbl//IYvQ/j8ag=
github.com/confluentinc/ccloud-sdk-go-v2/iam v0.10.0/go.mod h1:2Lm82ly9Yh5LLhp8OTnUGqjz4JdIXAZ5a0/u9T+rGGU=
github.com/confluentinc/ccloud-sdk-go-v2/identity-provider v0.2.0 h1:9TT8UCFRc5zUdsE7UgMz7hqN+2KYnIkBcAKCaiZJrXw=
Expand All @@ -1002,8 +1002,8 @@ github.com/confluentinc/ccloud-sdk-go-v2/networking-privatelink v0.1.0 h1:CA+3m6
github.com/confluentinc/ccloud-sdk-go-v2/networking-privatelink v0.1.0/go.mod h1:uj/ybBJPQbmuuBdSoznMiMGEwW3z/g0Uko8uKWg36I8=
github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0 h1:WcJs6RbY8nU5HapaG0ZCH9ftFBtZyuKMIuNAkdVmc2o=
github.com/confluentinc/ccloud-sdk-go-v2/org v0.4.0/go.mod h1:zREJ+OOZz0rEXCaPx0JbCVj2EfNnYs/c6qhPDfhldI0=
github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.2.0 h1:qR8cm4OmT/B2g3pINSBxt+dDMFep5wgVJGu6oHIrbdk=
github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.2.0/go.mod h1:uTE8K5/jg75ubJY1Flh6TfBIwVFVOchkLWqVsamwLYc=
github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.3.0 h1:AOqLmXM4nK41OaMaJpYXy5JKaJSZYs0mciFadvdBOQY=
github.com/confluentinc/ccloud-sdk-go-v2/schema-registry v0.3.0/go.mod h1:uTE8K5/jg75ubJY1Flh6TfBIwVFVOchkLWqVsamwLYc=
github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0 h1:ezCzDCOOavjTPVKvdET0QjAXm1u9iRJjg2s5lkSMrps=
github.com/confluentinc/ccloud-sdk-go-v2/srcm v0.2.0/go.mod h1:qY4Y/QCDKI0eR+HLVJWGFstsTAiI83+sowKOyoRFhF0=
github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE=
Expand Down
4 changes: 4 additions & 0 deletions sdk/dotnet/GetRoleBinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public static class GetRoleBinding
///
/// `confluentcloud.RoleBinding` describes a Role Binding.
///
/// > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
Expand Down Expand Up @@ -50,6 +52,8 @@ public static Task<GetRoleBindingResult> InvokeAsync(GetRoleBindingArgs args, In
///
/// `confluentcloud.RoleBinding` describes a Role Binding.
///
/// &gt; **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public Input<string>? Key

/// <summary>
/// The Kafka API Secret.
///
/// &gt; **Note:** The `local_kafka_cluster`, `remote_kafka_cluster` configuration block and `link_mode = BIDIRECTIONAL` are in a [Preview lifecycle stage](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy).
/// </summary>
public Input<string>? Secret
{
Expand Down
52 changes: 52 additions & 0 deletions sdk/dotnet/Inputs/SchemaExporterCredentialsArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.ConfluentCloud.Inputs
{

public sealed class SchemaExporterCredentialsArgs : global::Pulumi.ResourceArgs
{
[Input("key", required: true)]
private Input<string>? _key;

/// <summary>
/// The Schema Registry API Key.
/// </summary>
public Input<string>? Key
{
get => _key;
set
{
var emptySecret = Output.CreateSecret(0);
_key = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

[Input("secret", required: true)]
private Input<string>? _secret;

/// <summary>
/// The Schema Registry API Secret.
/// </summary>
public Input<string>? Secret
{
get => _secret;
set
{
var emptySecret = Output.CreateSecret(0);
_secret = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

public SchemaExporterCredentialsArgs()
{
}
public static new SchemaExporterCredentialsArgs Empty => new SchemaExporterCredentialsArgs();
}
}
52 changes: 52 additions & 0 deletions sdk/dotnet/Inputs/SchemaExporterCredentialsGetArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.ConfluentCloud.Inputs
{

public sealed class SchemaExporterCredentialsGetArgs : global::Pulumi.ResourceArgs
{
[Input("key", required: true)]
private Input<string>? _key;

/// <summary>
/// The Schema Registry API Key.
/// </summary>
public Input<string>? Key
{
get => _key;
set
{
var emptySecret = Output.CreateSecret(0);
_key = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

[Input("secret", required: true)]
private Input<string>? _secret;

/// <summary>
/// The Schema Registry API Secret.
/// </summary>
public Input<string>? Secret
{
get => _secret;
set
{
var emptySecret = Output.CreateSecret(0);
_secret = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

public SchemaExporterCredentialsGetArgs()
{
}
public static new SchemaExporterCredentialsGetArgs Empty => new SchemaExporterCredentialsGetArgs();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.ConfluentCloud.Inputs
{

public sealed class SchemaExporterDestinationSchemaRegistryClusterArgs : global::Pulumi.ResourceArgs
{
[Input("credentials", required: true)]
private Input<Inputs.SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs>? _credentials;
public Input<Inputs.SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs>? Credentials
{
get => _credentials;
set
{
var emptySecret = Output.CreateSecret(0);
_credentials = Output.Tuple<Input<Inputs.SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

/// <summary>
/// The REST endpoint of the destination Schema Registry cluster, for example, `https://pkc-00000.us-central1.gcp.confluent.cloud:443`).
/// </summary>
[Input("restEndpoint", required: true)]
public Input<string> RestEndpoint { get; set; } = null!;

public SchemaExporterDestinationSchemaRegistryClusterArgs()
{
}
public static new SchemaExporterDestinationSchemaRegistryClusterArgs Empty => new SchemaExporterDestinationSchemaRegistryClusterArgs();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.ConfluentCloud.Inputs
{

public sealed class SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs : global::Pulumi.ResourceArgs
{
[Input("key", required: true)]
private Input<string>? _key;

/// <summary>
/// The Schema Registry API Key.
/// </summary>
public Input<string>? Key
{
get => _key;
set
{
var emptySecret = Output.CreateSecret(0);
_key = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

[Input("secret", required: true)]
private Input<string>? _secret;

/// <summary>
/// The Schema Registry API Secret.
/// </summary>
public Input<string>? Secret
{
get => _secret;
set
{
var emptySecret = Output.CreateSecret(0);
_secret = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
}
}

public SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs()
{
}
public static new SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs Empty => new SchemaExporterDestinationSchemaRegistryClusterCredentialsArgs();
}
}
Loading
Loading