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-databricks to v1.27.0 #203

Merged
merged 3 commits into from
Sep 27, 2023
Merged
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
15 changes: 13 additions & 2 deletions provider/cmd/pulumi-resource-databricks/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,9 @@
}
}
}
},
"tags": {
"maxItemsOne": false
}
}
},
Expand Down Expand Up @@ -3358,6 +3361,9 @@
"clientSecret": "client_secret",
"directoryId": "directory_id"
},
"databricks:index/MetastoreDataAccessDatabricksGcpServiceAccount:MetastoreDataAccessDatabricksGcpServiceAccount": {
"credentialId": "credential_id"
},
"databricks:index/MetastoreDataAccessGcpServiceAccountKey:MetastoreDataAccessGcpServiceAccountKey": {
"privateKey": "private_key",
"privateKeyId": "private_key_id"
Expand Down Expand Up @@ -3621,6 +3627,9 @@
"clientSecret": "client_secret",
"directoryId": "directory_id"
},
"databricks:index/StorageCredentialDatabricksGcpServiceAccount:StorageCredentialDatabricksGcpServiceAccount": {
"credentialId": "credential_id"
},
"databricks:index/StorageCredentialGcpServiceAccountKey:StorageCredentialGcpServiceAccountKey": {
"privateKey": "private_key",
"privateKeyId": "private_key_id"
Expand Down Expand Up @@ -4645,11 +4654,12 @@
"awsIamRole": "aws_iam_role",
"azureManagedIdentity": "azure_managed_identity",
"azureServicePrincipal": "azure_service_principal",
"configurationType": "configuration_type",
"databricksGcpServiceAccount": "databricks_gcp_service_account",
"forceDestroy": "force_destroy",
"gcpServiceAccountKey": "gcp_service_account_key",
"isDefault": "is_default",
"metastoreId": "metastore_id"
"metastoreId": "metastore_id",
"readOnly": "read_only"
},
"databricks:index/metastoreProvider:MetastoreProvider": {
"authenticationType": "authentication_type",
Expand All @@ -4665,6 +4675,7 @@
"databricks:index/mlflowModel:MlflowModel": {
"creationTimestamp": "creation_timestamp",
"lastUpdatedTimestamp": "last_updated_timestamp",
"registeredModelId": "registered_model_id",
"userId": "user_id"
},
"databricks:index/mlflowWebhook:MlflowWebhook": {
Expand Down
161 changes: 118 additions & 43 deletions provider/cmd/pulumi-resource-databricks/schema.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.21
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e

require (
github.com/databricks/databricks-sdk-go v0.19.2
github.com/databricks/terraform-provider-databricks v1.26.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.0
github.com/databricks/databricks-sdk-go v0.20.0
github.com/databricks/terraform-provider-databricks v1.27.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1
)

require (
Expand Down Expand Up @@ -99,7 +99,7 @@ require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/google/wire v0.5.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
Expand Down Expand Up @@ -236,11 +236,11 @@ require (
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.13.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.138.0 // indirect
google.golang.org/api v0.140.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 // indirect
google.golang.org/grpc v1.58.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
23 changes: 12 additions & 11 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1154,10 +1154,10 @@ github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1S
github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s=
github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8=
github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I=
github.com/databricks/databricks-sdk-go v0.19.2 h1:5a8q8U8iWVj5TU8e4909xPmbqHs+iV7v/MtUbprDqCQ=
github.com/databricks/databricks-sdk-go v0.19.2/go.mod h1:Bt/3i3ry/rQdE6Y+psvkAENlp+LzJHaQK5PsLIstQb4=
github.com/databricks/terraform-provider-databricks v1.26.0 h1:nXGsit+dNNtOfygy599BT1w5IkTTr1wu0WzeBLKlwbs=
github.com/databricks/terraform-provider-databricks v1.26.0/go.mod h1:4A+x/uiO6CuqigxO+4VoJyh9YeDxnjQbuoaXa4Hl2YY=
github.com/databricks/databricks-sdk-go v0.20.0 h1:KyVQkvyFYgIlTBjQbazAtW/Y5tZaHy2pF5DRpC35s0s=
github.com/databricks/databricks-sdk-go v0.20.0/go.mod h1:COiklTN3IdieazXcs4TnMou5GQFwIM7uhMGrz7nEAAk=
github.com/databricks/terraform-provider-databricks v1.27.0 h1:XWscImzq4y3b/NgSBPCG7LzqbpNPC8dgXXjId8f8LqI=
github.com/databricks/terraform-provider-databricks v1.27.0/go.mod h1:NBVipn/lRiFh9CB6Y72EU8o8EUuXNUfogT2dnzi1OXs=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -1562,8 +1562,9 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4=
github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8=
github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU=
github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
Expand Down Expand Up @@ -2342,8 +2343,8 @@ github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6D
github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.0 h1:MPhSwNLJJlqLFHGfrXIRXZHzFIu05YLQldAJRYpOHRs=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.0/go.mod h1:o0Vfch2UXtHOnGYpNElzGg4htT6B8X8hS9fa5AguP7g=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1 h1:+W2JHLi4y+G57jLPLJbDLv1xvm/9L2NO0gWXrtR8MDM=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1/go.mod h1:o0Vfch2UXtHOnGYpNElzGg4htT6B8X8hS9fa5AguP7g=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w=
github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E=
Expand Down Expand Up @@ -3408,8 +3409,8 @@ google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/
google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI=
google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0=
google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg=
google.golang.org/api v0.138.0 h1:K/tVp05MxNVbHShRw9m7e9VJGdagNeTdMzqPH7AUqr0=
google.golang.org/api v0.138.0/go.mod h1:4xyob8CxC+0GChNBvEUAk8VBKNvYOTWM9T3v3UfRxuY=
google.golang.org/api v0.140.0 h1:CaXNdYOH5oQQI7l6iKTHHiMTdxZca4/02hRg2U8c2hM=
google.golang.org/api v0.140.0/go.mod h1:aGbCiFgtwb2P6badchFbSBUurV6oR5d50Af4iNJtDdI=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
Expand Down Expand Up @@ -3583,8 +3584,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d h1:uvYuEyMHKNt+lT4K3bN6fGswmK8qSvcreM3BwjDh+y4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 h1:o4LtQxebKIJ4vkzyhtD2rfUNZ20Zf0ik5YVP5E7G7VE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M=
google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
Expand Down
2 changes: 2 additions & 0 deletions sdk/dotnet/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ public sealed class ClusterArgs : global::Pulumi.ResourceArgs

[Input("clusterMountInfos")]
private InputList<Inputs.ClusterClusterMountInfoArgs>? _clusterMountInfos;
[Obsolete(@"cluster_mount_info block is deprecated due the Clusters API changes.")]
public InputList<Inputs.ClusterClusterMountInfoArgs> ClusterMountInfos
{
get => _clusterMountInfos ?? (_clusterMountInfos = new InputList<Inputs.ClusterClusterMountInfoArgs>());
Expand Down Expand Up @@ -554,6 +555,7 @@ public sealed class ClusterState : global::Pulumi.ResourceArgs

[Input("clusterMountInfos")]
private InputList<Inputs.ClusterClusterMountInfoGetArgs>? _clusterMountInfos;
[Obsolete(@"cluster_mount_info block is deprecated due the Clusters API changes.")]
public InputList<Inputs.ClusterClusterMountInfoGetArgs> ClusterMountInfos
{
get => _clusterMountInfos ?? (_clusterMountInfos = new InputList<Inputs.ClusterClusterMountInfoGetArgs>());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs

public sealed class MetastoreDataAccessDatabricksGcpServiceAccountArgs : global::Pulumi.ResourceArgs
{
[Input("credentialId")]
public Input<string>? CredentialId { get; set; }

/// <summary>
/// The email of the GCP service account created, to be granted access to relevant buckets.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs

public sealed class MetastoreDataAccessDatabricksGcpServiceAccountGetArgs : global::Pulumi.ResourceArgs
{
[Input("credentialId")]
public Input<string>? CredentialId { get; set; }

/// <summary>
/// The email of the GCP service account created, to be granted access to relevant buckets.
///
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/Inputs/ModelServingTagArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// *** 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.Databricks.Inputs
{

public sealed class ModelServingTagArgs : global::Pulumi.ResourceArgs
{
[Input("key", required: true)]
public Input<string> Key { get; set; } = null!;

[Input("value")]
public Input<string>? Value { get; set; }

public ModelServingTagArgs()
{
}
public static new ModelServingTagArgs Empty => new ModelServingTagArgs();
}
}
26 changes: 26 additions & 0 deletions sdk/dotnet/Inputs/ModelServingTagGetArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// *** 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.Databricks.Inputs
{

public sealed class ModelServingTagGetArgs : global::Pulumi.ResourceArgs
{
[Input("key", required: true)]
public Input<string> Key { get; set; } = null!;

[Input("value")]
public Input<string>? Value { get; set; }

public ModelServingTagGetArgs()
{
}
public static new ModelServingTagGetArgs Empty => new ModelServingTagGetArgs();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class StorageCredentialAzureManagedIdentityArgs : global::Pulumi.R
/// <summary>
/// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`.
///
/// `azure_service_principal` optional configuration block to use service principal as credential details for Azure:
/// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account:
/// </summary>
[Input("managedIdentityId")]
public Input<string>? ManagedIdentityId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class StorageCredentialAzureManagedIdentityGetArgs : global::Pulum
/// <summary>
/// The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name`.
///
/// `azure_service_principal` optional configuration block to use service principal as credential details for Azure:
/// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account:
/// </summary>
[Input("managedIdentityId")]
public Input<string>? ManagedIdentityId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public sealed class StorageCredentialAzureServicePrincipalArgs : global::Pulumi.

/// <summary>
/// The client secret generated for the above app ID in AAD. **This field is redacted on output**
///
/// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account:
/// </summary>
[Input("clientSecret", required: true)]
public Input<string> ClientSecret { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public sealed class StorageCredentialAzureServicePrincipalGetArgs : global::Pulu

/// <summary>
/// The client secret generated for the above app ID in AAD. **This field is redacted on output**
///
/// `databricks_gcp_service_account` optional configuration block for creating a Databricks-managed GCP Service Account:
/// </summary>
[Input("clientSecret", required: true)]
public Input<string> ClientSecret { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs

public sealed class StorageCredentialDatabricksGcpServiceAccountArgs : global::Pulumi.ResourceArgs
{
[Input("credentialId")]
public Input<string>? CredentialId { get; set; }

/// <summary>
/// The email of the GCP service account created, to be granted access to relevant buckets.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace Pulumi.Databricks.Inputs

public sealed class StorageCredentialDatabricksGcpServiceAccountGetArgs : global::Pulumi.ResourceArgs
{
[Input("credentialId")]
public Input<string>? CredentialId { get; set; }

/// <summary>
/// The email of the GCP service account created, to be granted access to relevant buckets.
/// </summary>
Expand Down
Loading
Loading