Skip to content

Commit d1e2c62

Browse files
jacovg91Jaco van Gelder
andauthored
Changed CREATE_TABLE to CREATE_EXTERNAL_TABLE (#2812)
Co-authored-by: Jaco van Gelder <[email protected]>
1 parent a3f0fb2 commit d1e2c62

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

docs/guides/unity-catalog-azure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ resource "databricks_grants" "external_creds" {
264264
storage_credential = databricks_storage_credential.external.id
265265
grant {
266266
principal = "Data Engineers"
267-
privileges = ["CREATE_TABLE"]
267+
privileges = ["CREATE_EXTERNAL_TABLE"]
268268
}
269269
}
270270
@@ -285,7 +285,7 @@ resource "databricks_grants" "some" {
285285
external_location = databricks_external_location.some.id
286286
grant {
287287
principal = "Data Engineers"
288-
privileges = ["CREATE_TABLE", "READ_FILES"]
288+
privileges = ["CREATE_EXTERNAL_TABLE", "READ_FILES"]
289289
}
290290
}
291291
```

docs/guides/unity-catalog-gcp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ resource "databricks_grants" "external_creds" {
223223
storage_credential = databricks_storage_credential.external.id
224224
grant {
225225
principal = "Data Engineers"
226-
privileges = ["CREATE_TABLE"]
226+
privileges = ["CREATE_EXTERNAL_TABLE"]
227227
}
228228
}
229229
@@ -244,7 +244,7 @@ resource "databricks_grants" "some" {
244244
external_location = databricks_external_location.some.id
245245
grant {
246246
principal = "Data Engineers"
247-
privileges = ["CREATE_TABLE", "READ_FILES"]
247+
privileges = ["CREATE_EXTERNAL_TABLE", "READ_FILES"]
248248
}
249249
}
250250
```

docs/guides/unity-catalog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ resource "databricks_grants" "some" {
490490
external_location = databricks_external_location.some.id
491491
grant {
492492
principal = "Data Engineers"
493-
privileges = ["CREATE_TABLE", "READ_FILES"]
493+
privileges = ["CREATE_EXTERNAL_TABLE", "READ_FILES"]
494494
}
495495
}
496496
```

docs/resources/grants.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ resource "databricks_grants" "external_creds" {
229229
storage_credential = databricks_storage_credential.external.id
230230
grant {
231231
principal = "Data Engineers"
232-
privileges = ["CREATE_TABLE"]
232+
privileges = ["CREATE_EXTERNAL_TABLE"]
233233
}
234234
}
235235
```
@@ -250,7 +250,7 @@ resource "databricks_grants" "some" {
250250
external_location = databricks_external_location.some.id
251251
grant {
252252
principal = "Data Engineers"
253-
privileges = ["CREATE_TABLE", "READ_FILES"]
253+
privileges = ["CREATE_EXTERNAL_TABLE", "READ_FILES"]
254254
}
255255
grant {
256256
principal = databricks_service_principal.my_sp.application_id

docs/resources/storage_credential.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ resource "databricks_grants" "external_creds" {
2525
storage_credential = databricks_storage_credential.external.id
2626
grant {
2727
principal = "Data Engineers"
28-
privileges = ["CREATE_TABLE"]
28+
privileges = ["CREATE_EXTERNAL_TABLE"]
2929
}
3030
}
3131
```
@@ -45,7 +45,7 @@ resource "databricks_grants" "external_creds" {
4545
storage_credential = databricks_storage_credential.external.id
4646
grant {
4747
principal = "Data Engineers"
48-
privileges = ["CREATE_TABLE"]
48+
privileges = ["CREATE_EXTERNAL_TABLE"]
4949
}
5050
}
5151
```
@@ -62,7 +62,7 @@ resource "databricks_grants" "external_creds" {
6262
storage_credential = databricks_storage_credential.external.id
6363
grant {
6464
principal = "Data Engineers"
65-
privileges = ["CREATE_TABLE"]
65+
privileges = ["CREATE_EXTERNAL_TABLE"]
6666
}
6767
}
6868
```

0 commit comments

Comments
 (0)