Skip to content

Commit dfde4b4

Browse files
Update TF provider to v1.81.0 (#2936)
1 parent e0e84f1 commit dfde4b4

24 files changed

+523
-108
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Notable Changes
66

77
### Dependency updates
8+
* Update TF provider to v1.81.0 ([#2936](https://github.com/databricks/cli/pull/2936))
89

910
### CLI
1011

acceptance/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
databricks = {
44
source = "databricks/databricks"
5-
version = "1.79.0"
5+
version = "1.81.0"
66
}
77
}
88

acceptance/terraform/output.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Initializing the backend...
55

66
Initializing provider plugins...
7-
- Finding databricks/databricks versions matching "1.79.0"...
8-
- Installing databricks/databricks v1.79.0...
9-
- Installed databricks/databricks v1.79.0 (unauthenticated)
7+
- Finding databricks/databricks versions matching "1.81.0"...
8+
- Installing databricks/databricks v1.81.0...
9+
- Installed databricks/databricks v1.81.0 (unauthenticated)
1010

1111
Terraform has created a lock file .terraform.lock.hcl to record the provider
1212
selections it made above. Include this file in your version control repository
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package schema
22

3-
const ProviderVersion = "1.79.0"
3+
const ProviderVersion = "1.81.0"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
2+
3+
package schema
4+
5+
type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedInternetDestinations struct {
6+
Destination string `json:"destination,omitempty"`
7+
InternetDestinationType string `json:"internet_destination_type,omitempty"`
8+
}
9+
10+
type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedStorageDestinations struct {
11+
AzureStorageAccount string `json:"azure_storage_account,omitempty"`
12+
AzureStorageService string `json:"azure_storage_service,omitempty"`
13+
BucketName string `json:"bucket_name,omitempty"`
14+
Region string `json:"region,omitempty"`
15+
StorageDestinationType string `json:"storage_destination_type,omitempty"`
16+
}
17+
18+
type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessPolicyEnforcement struct {
19+
DryRunModeProductFilter []string `json:"dry_run_mode_product_filter,omitempty"`
20+
EnforcementMode string `json:"enforcement_mode,omitempty"`
21+
}
22+
23+
type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccess struct {
24+
AllowedInternetDestinations []DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedInternetDestinations `json:"allowed_internet_destinations,omitempty"`
25+
AllowedStorageDestinations []DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedStorageDestinations `json:"allowed_storage_destinations,omitempty"`
26+
PolicyEnforcement *DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessPolicyEnforcement `json:"policy_enforcement,omitempty"`
27+
RestrictionMode string `json:"restriction_mode"`
28+
}
29+
30+
type DataSourceAccountNetworkPoliciesItemsEgress struct {
31+
NetworkAccess *DataSourceAccountNetworkPoliciesItemsEgressNetworkAccess `json:"network_access,omitempty"`
32+
}
33+
34+
type DataSourceAccountNetworkPoliciesItems struct {
35+
AccountId string `json:"account_id,omitempty"`
36+
Egress *DataSourceAccountNetworkPoliciesItemsEgress `json:"egress,omitempty"`
37+
NetworkPolicyId string `json:"network_policy_id,omitempty"`
38+
}
39+
40+
type DataSourceAccountNetworkPolicies struct {
41+
Items []DataSourceAccountNetworkPoliciesItems `json:"items,omitempty"`
42+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
2+
3+
package schema
4+
5+
type DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedInternetDestinations struct {
6+
Destination string `json:"destination,omitempty"`
7+
InternetDestinationType string `json:"internet_destination_type,omitempty"`
8+
}
9+
10+
type DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedStorageDestinations struct {
11+
AzureStorageAccount string `json:"azure_storage_account,omitempty"`
12+
AzureStorageService string `json:"azure_storage_service,omitempty"`
13+
BucketName string `json:"bucket_name,omitempty"`
14+
Region string `json:"region,omitempty"`
15+
StorageDestinationType string `json:"storage_destination_type,omitempty"`
16+
}
17+
18+
type DataSourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement struct {
19+
DryRunModeProductFilter []string `json:"dry_run_mode_product_filter,omitempty"`
20+
EnforcementMode string `json:"enforcement_mode,omitempty"`
21+
}
22+
23+
type DataSourceAccountNetworkPolicyEgressNetworkAccess struct {
24+
AllowedInternetDestinations []DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedInternetDestinations `json:"allowed_internet_destinations,omitempty"`
25+
AllowedStorageDestinations []DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedStorageDestinations `json:"allowed_storage_destinations,omitempty"`
26+
PolicyEnforcement *DataSourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement `json:"policy_enforcement,omitempty"`
27+
RestrictionMode string `json:"restriction_mode"`
28+
}
29+
30+
type DataSourceAccountNetworkPolicyEgress struct {
31+
NetworkAccess *DataSourceAccountNetworkPolicyEgressNetworkAccess `json:"network_access,omitempty"`
32+
}
33+
34+
type DataSourceAccountNetworkPolicy struct {
35+
AccountId string `json:"account_id,omitempty"`
36+
Egress *DataSourceAccountNetworkPolicyEgress `json:"egress,omitempty"`
37+
NetworkPolicyId string `json:"network_policy_id,omitempty"`
38+
}

bundle/internal/tf/schema/data_source_app.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,20 @@ type DataSourceAppAppResourcesSqlWarehouse struct {
7373
Permission string `json:"permission"`
7474
}
7575

76+
type DataSourceAppAppResourcesUcSecurable struct {
77+
Permission string `json:"permission"`
78+
SecurableFullName string `json:"securable_full_name"`
79+
SecurableType string `json:"securable_type"`
80+
}
81+
7682
type DataSourceAppAppResources struct {
7783
Description string `json:"description,omitempty"`
7884
Job *DataSourceAppAppResourcesJob `json:"job,omitempty"`
7985
Name string `json:"name"`
8086
Secret *DataSourceAppAppResourcesSecret `json:"secret,omitempty"`
8187
ServingEndpoint *DataSourceAppAppResourcesServingEndpoint `json:"serving_endpoint,omitempty"`
8288
SqlWarehouse *DataSourceAppAppResourcesSqlWarehouse `json:"sql_warehouse,omitempty"`
89+
UcSecurable *DataSourceAppAppResourcesUcSecurable `json:"uc_securable,omitempty"`
8390
}
8491

8592
type DataSourceAppApp struct {

bundle/internal/tf/schema/data_source_apps.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,20 @@ type DataSourceAppsAppResourcesSqlWarehouse struct {
7373
Permission string `json:"permission"`
7474
}
7575

76+
type DataSourceAppsAppResourcesUcSecurable struct {
77+
Permission string `json:"permission"`
78+
SecurableFullName string `json:"securable_full_name"`
79+
SecurableType string `json:"securable_type"`
80+
}
81+
7682
type DataSourceAppsAppResources struct {
7783
Description string `json:"description,omitempty"`
7884
Job *DataSourceAppsAppResourcesJob `json:"job,omitempty"`
7985
Name string `json:"name"`
8086
Secret *DataSourceAppsAppResourcesSecret `json:"secret,omitempty"`
8187
ServingEndpoint *DataSourceAppsAppResourcesServingEndpoint `json:"serving_endpoint,omitempty"`
8288
SqlWarehouse *DataSourceAppsAppResourcesSqlWarehouse `json:"sql_warehouse,omitempty"`
89+
UcSecurable *DataSourceAppsAppResourcesUcSecurable `json:"uc_securable,omitempty"`
8390
}
8491

8592
type DataSourceAppsApp struct {

bundle/internal/tf/schema/data_source_external_location.go

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,57 @@ type DataSourceExternalLocationExternalLocationInfoEncryptionDetails struct {
1111
SseEncryptionDetails *DataSourceExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails `json:"sse_encryption_details,omitempty"`
1212
}
1313

14+
type DataSourceExternalLocationExternalLocationInfoFileEventQueueManagedAqs struct {
15+
ManagedResourceId string `json:"managed_resource_id,omitempty"`
16+
QueueUrl string `json:"queue_url,omitempty"`
17+
ResourceGroup string `json:"resource_group,omitempty"`
18+
SubscriptionId string `json:"subscription_id,omitempty"`
19+
}
20+
21+
type DataSourceExternalLocationExternalLocationInfoFileEventQueueManagedPubsub struct {
22+
ManagedResourceId string `json:"managed_resource_id,omitempty"`
23+
SubscriptionName string `json:"subscription_name,omitempty"`
24+
}
25+
26+
type DataSourceExternalLocationExternalLocationInfoFileEventQueueManagedSqs struct {
27+
ManagedResourceId string `json:"managed_resource_id,omitempty"`
28+
QueueUrl string `json:"queue_url,omitempty"`
29+
}
30+
31+
type DataSourceExternalLocationExternalLocationInfoFileEventQueueProvidedAqs struct {
32+
ManagedResourceId string `json:"managed_resource_id,omitempty"`
33+
QueueUrl string `json:"queue_url,omitempty"`
34+
ResourceGroup string `json:"resource_group,omitempty"`
35+
SubscriptionId string `json:"subscription_id,omitempty"`
36+
}
37+
38+
type DataSourceExternalLocationExternalLocationInfoFileEventQueueProvidedPubsub struct {
39+
ManagedResourceId string `json:"managed_resource_id,omitempty"`
40+
SubscriptionName string `json:"subscription_name,omitempty"`
41+
}
42+
43+
type DataSourceExternalLocationExternalLocationInfoFileEventQueueProvidedSqs struct {
44+
ManagedResourceId string `json:"managed_resource_id,omitempty"`
45+
QueueUrl string `json:"queue_url,omitempty"`
46+
}
47+
48+
type DataSourceExternalLocationExternalLocationInfoFileEventQueue struct {
49+
ManagedAqs *DataSourceExternalLocationExternalLocationInfoFileEventQueueManagedAqs `json:"managed_aqs,omitempty"`
50+
ManagedPubsub *DataSourceExternalLocationExternalLocationInfoFileEventQueueManagedPubsub `json:"managed_pubsub,omitempty"`
51+
ManagedSqs *DataSourceExternalLocationExternalLocationInfoFileEventQueueManagedSqs `json:"managed_sqs,omitempty"`
52+
ProvidedAqs *DataSourceExternalLocationExternalLocationInfoFileEventQueueProvidedAqs `json:"provided_aqs,omitempty"`
53+
ProvidedPubsub *DataSourceExternalLocationExternalLocationInfoFileEventQueueProvidedPubsub `json:"provided_pubsub,omitempty"`
54+
ProvidedSqs *DataSourceExternalLocationExternalLocationInfoFileEventQueueProvidedSqs `json:"provided_sqs,omitempty"`
55+
}
56+
1457
type DataSourceExternalLocationExternalLocationInfo struct {
15-
AccessPoint string `json:"access_point,omitempty"`
1658
BrowseOnly bool `json:"browse_only,omitempty"`
1759
Comment string `json:"comment,omitempty"`
1860
CreatedAt int `json:"created_at,omitempty"`
1961
CreatedBy string `json:"created_by,omitempty"`
2062
CredentialId string `json:"credential_id,omitempty"`
2163
CredentialName string `json:"credential_name,omitempty"`
64+
EnableFileEvents bool `json:"enable_file_events,omitempty"`
2265
Fallback bool `json:"fallback,omitempty"`
2366
IsolationMode string `json:"isolation_mode,omitempty"`
2467
MetastoreId string `json:"metastore_id,omitempty"`
@@ -29,6 +72,7 @@ type DataSourceExternalLocationExternalLocationInfo struct {
2972
UpdatedBy string `json:"updated_by,omitempty"`
3073
Url string `json:"url,omitempty"`
3174
EncryptionDetails *DataSourceExternalLocationExternalLocationInfoEncryptionDetails `json:"encryption_details,omitempty"`
75+
FileEventQueue *DataSourceExternalLocationExternalLocationInfoFileEventQueue `json:"file_event_queue,omitempty"`
3276
}
3377

3478
type DataSourceExternalLocation struct {
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
2+
3+
package schema
4+
5+
type DataSourceRecipientFederationPoliciesPoliciesOidcPolicy struct {
6+
Audiences []string `json:"audiences,omitempty"`
7+
Issuer string `json:"issuer"`
8+
Subject string `json:"subject"`
9+
SubjectClaim string `json:"subject_claim"`
10+
}
11+
12+
type DataSourceRecipientFederationPoliciesPolicies struct {
13+
Comment string `json:"comment,omitempty"`
14+
CreateTime string `json:"create_time,omitempty"`
15+
Id string `json:"id,omitempty"`
16+
Name string `json:"name,omitempty"`
17+
OidcPolicy *DataSourceRecipientFederationPoliciesPoliciesOidcPolicy `json:"oidc_policy,omitempty"`
18+
UpdateTime string `json:"update_time,omitempty"`
19+
}
20+
21+
type DataSourceRecipientFederationPolicies struct {
22+
Policies []DataSourceRecipientFederationPoliciesPolicies `json:"policies,omitempty"`
23+
}

0 commit comments

Comments
 (0)