Skip to content

Commit

Permalink
Upgrade terraform-provider-databricks to v1.24.0 (#179)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks

---------

Co-authored-by: pulumi-bot <runner@fv-az337-514.jbyrdabdzgkepcqk1sdi5hhfzg.jx.internal.cloudapp.net>
  • Loading branch information
pulumi-bot and pulumi-bot authored Aug 28, 2023
1 parent 5ead0aa commit 18801c3
Show file tree
Hide file tree
Showing 227 changed files with 8,512 additions and 852 deletions.
55 changes: 51 additions & 4 deletions provider/cmd/pulumi-resource-databricks/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@
"current": "databricks:index/clusterPolicy:ClusterPolicy",
"majorVersion": 1
},
"databricks_connection": {
"current": "databricks:index/connection:Connection",
"majorVersion": 1
},
"databricks_dbfs_file": {
"current": "databricks:index/dbfsFile:DbfsFile",
"majorVersion": 1
Expand All @@ -155,7 +159,19 @@
},
"databricks_external_location": {
"current": "databricks:index/externalLocation:ExternalLocation",
"majorVersion": 1
"majorVersion": 1,
"fields": {
"encryption_details": {
"maxItemsOne": true,
"elem": {
"fields": {
"sse_encryption_details": {
"maxItemsOne": true
}
}
}
}
}
},
"databricks_git_credential": {
"current": "databricks:index/gitCredential:GitCredential",
Expand Down Expand Up @@ -2688,6 +2704,7 @@
"databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding": "databricks_catalog_workspace_binding",
"databricks:index/cluster:Cluster": "databricks_cluster",
"databricks:index/clusterPolicy:ClusterPolicy": "databricks_cluster_policy",
"databricks:index/connection:Connection": "databricks_connection",
"databricks:index/dbfsFile:DbfsFile": "databricks_dbfs_file",
"databricks:index/directory:Directory": "databricks_directory",
"databricks:index/entitlements:Entitlements": "databricks_entitlements",
Expand Down Expand Up @@ -2842,6 +2859,12 @@
"encryptionType": "encryption_type",
"kmsKey": "kms_key"
},
"databricks:index/ExternalLocationEncryptionDetails:ExternalLocationEncryptionDetails": {
"sseEncryptionDetails": "sse_encryption_details"
},
"databricks:index/ExternalLocationEncryptionDetailsSseEncryptionDetails:ExternalLocationEncryptionDetailsSseEncryptionDetails": {
"awsKmsKeyArn": "aws_kms_key_arn"
},
"databricks:index/InstancePoolAwsAttributes:InstancePoolAwsAttributes": {
"spotBidPricePercent": "spot_bid_price_percent",
"zoneId": "zone_id"
Expand Down Expand Up @@ -3584,6 +3607,7 @@
"grantRules": "grant_rules"
},
"databricks:index/catalog:Catalog": {
"connectionName": "connection_name",
"forceDestroy": "force_destroy",
"isolationMode": "isolation_mode",
"metastoreId": "metastore_id",
Expand Down Expand Up @@ -3635,6 +3659,11 @@
"policyFamilyId": "policy_family_id",
"policyId": "policy_id"
},
"databricks:index/connection:Connection": {
"connectionType": "connection_type",
"metastoreId": "metastore_id",
"readOnly": "read_only"
},
"databricks:index/dbfsFile:DbfsFile": {
"contentBase64": "content_base64",
"dbfsPath": "dbfs_path",
Expand All @@ -3654,8 +3683,11 @@
"workspaceAccess": "workspace_access"
},
"databricks:index/externalLocation:ExternalLocation": {
"accessPoint": "access_point",
"credentialName": "credential_name",
"encryptionDetails": "encryption_details",
"forceDestroy": "force_destroy",
"forceUpdate": "force_update",
"metastoreId": "metastore_id",
"readOnly": "read_only",
"skipValidation": "skip_validation"
Expand Down Expand Up @@ -3796,6 +3828,7 @@
"clusterNameContains": "cluster_name_contains"
},
"databricks:index/getCurrentUser:getCurrentUser": {
"aclPrincipalId": "acl_principal_id",
"externalId": "external_id",
"userName": "user_name",
"workspaceUrl": "workspace_url"
Expand All @@ -3814,6 +3847,7 @@
"objectId": "object_id"
},
"databricks:index/getGroup:getGroup": {
"aclPrincipalId": "acl_principal_id",
"allowClusterCreate": "allow_cluster_create",
"allowInstancePoolCreate": "allow_instance_pool_create",
"childGroups": "child_groups",
Expand Down Expand Up @@ -4388,6 +4422,7 @@
"catalogName": "catalog_name"
},
"databricks:index/getServicePrincipal:getServicePrincipal": {
"aclPrincipalId": "acl_principal_id",
"applicationId": "application_id",
"displayName": "display_name",
"externalId": "external_id",
Expand Down Expand Up @@ -4447,6 +4482,7 @@
"schemaName": "schema_name"
},
"databricks:index/getUser:getUser": {
"aclPrincipalId": "acl_principal_id",
"applicationId": "application_id",
"displayName": "display_name",
"externalId": "external_id",
Expand All @@ -4470,6 +4506,7 @@
},
"databricks:index/grants:Grants": {
"externalLocation": "external_location",
"foreignConnection": "foreign_connection",
"grants": "grant",
"materializedView": "materialized_view",
"storageCredential": "storage_credential"
Expand Down Expand Up @@ -4562,7 +4599,9 @@
"deltaSharingScope": "delta_sharing_scope",
"forceDestroy": "force_destroy",
"globalMetastoreId": "global_metastore_id",
"metastoreId": "metastore_id",
"storageRoot": "storage_root",
"storageRootCredentialId": "storage_root_credential_id",
"updatedAt": "updated_at",
"updatedBy": "updated_by"
},
Expand Down Expand Up @@ -4595,7 +4634,6 @@
"databricks:index/mlflowModel:MlflowModel": {
"creationTimestamp": "creation_timestamp",
"lastUpdatedTimestamp": "last_updated_timestamp",
"registeredModelId": "registered_model_id",
"userId": "user_id"
},
"databricks:index/mlflowWebhook:MlflowWebhook": {
Expand Down Expand Up @@ -4802,7 +4840,13 @@
"objects": "object"
},
"databricks:index/sqlAlert:SqlAlert": {
"queryId": "query_id"
"createdAt": "created_at",
"queryId": "query_id",
"updatedAt": "updated_at"
},
"databricks:index/sqlDashboard:SqlDashboard": {
"createdAt": "created_at",
"updatedAt": "updated_at"
},
"databricks:index/sqlEndpoint:SqlEndpoint": {
"autoStopMins": "auto_stop_mins",
Expand Down Expand Up @@ -4834,9 +4878,11 @@
"privilegeAssignments": "privilege_assignments"
},
"databricks:index/sqlQuery:SqlQuery": {
"createdAt": "created_at",
"dataSourceId": "data_source_id",
"parameters": "parameter",
"runAsRole": "run_as_role"
"runAsRole": "run_as_role",
"updatedAt": "updated_at"
},
"databricks:index/sqlTable:SqlTable": {
"catalogName": "catalog_name",
Expand Down Expand Up @@ -4865,6 +4911,7 @@
"azureManagedIdentity": "azure_managed_identity",
"azureServicePrincipal": "azure_service_principal",
"databricksGcpServiceAccount": "databricks_gcp_service_account",
"forceDestroy": "force_destroy",
"gcpServiceAccountKey": "gcp_service_account_key",
"metastoreId": "metastore_id",
"readOnly": "read_only"
Expand Down
487 changes: 414 additions & 73 deletions provider/cmd/pulumi-resource-databricks/schema.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ go 1.20
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d

require (
github.com/databricks/databricks-sdk-go v0.15.0
github.com/databricks/terraform-provider-databricks v1.23.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.56.2
github.com/databricks/databricks-sdk-go v0.17.0
github.com/databricks/terraform-provider-databricks v1.24.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.57.0
)

require (
cloud.google.com/go v0.110.4 // indirect
cloud.google.com/go/compute v1.22.0 // indirect
cloud.google.com/go v0.110.6 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.0 // indirect
cloud.google.com/go/kms v1.12.1 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
cloud.google.com/go/kms v1.15.0 // indirect
cloud.google.com/go/logging v1.7.0 // indirect
cloud.google.com/go/longrunning v0.5.1 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
Expand Down Expand Up @@ -90,7 +90,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/s2a-go v0.1.5 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/wire v0.5.0 // indirect
Expand Down Expand Up @@ -126,8 +126,8 @@ require (
github.com/hashicorp/terraform-json v0.17.1 // indirect
github.com/hashicorp/terraform-plugin-go v0.18.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.28.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.2 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
github.com/hashicorp/vault/sdk v0.6.1 // indirect
Expand Down Expand Up @@ -207,28 +207,28 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
github.com/zclconf/go-cty v1.13.2 // indirect
github.com/zclconf/go-cty v1.13.3 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
gocloud.dev v0.29.0 // indirect
gocloud.dev/secrets/hashivault v0.27.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1 // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/oauth2 v0.11.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/term v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/term v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.134.0 // indirect
google.golang.org/api v0.138.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230720185612-659f7aaaa771 // indirect
google.golang.org/grpc v1.56.2 // 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/grpc v1.57.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
Expand Down
Loading

0 comments on commit 18801c3

Please sign in to comment.