mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-12 01:11:41 +00:00
docs(ingest/glue): add permissions for glue (#12290)
This commit is contained in:
parent
efc5d31f03
commit
a92a10770e
@ -248,6 +248,9 @@ class GlueSourceReport(StaleEntityRemovalSourceReport):
|
|||||||
"Enabled by default when stateful ingestion is turned on.",
|
"Enabled by default when stateful ingestion is turned on.",
|
||||||
)
|
)
|
||||||
@capability(SourceCapability.LINEAGE_COARSE, "Enabled by default")
|
@capability(SourceCapability.LINEAGE_COARSE, "Enabled by default")
|
||||||
|
@capability(
|
||||||
|
SourceCapability.LINEAGE_FINE, "Support via the `emit_s3_lineage` config field"
|
||||||
|
)
|
||||||
class GlueSource(StatefulIngestionSourceBase):
|
class GlueSource(StatefulIngestionSourceBase):
|
||||||
"""
|
"""
|
||||||
Note: if you also have files in S3 that you'd like to ingest, we recommend you use Glue's built-in data catalog. See [here](../../../../docs/generated/ingestion/sources/s3.md) for a quick guide on how to set up a crawler on Glue and ingest the outputs with DataHub.
|
Note: if you also have files in S3 that you'd like to ingest, we recommend you use Glue's built-in data catalog. See [here](../../../../docs/generated/ingestion/sources/s3.md) for a quick guide on how to set up a crawler on Glue and ingest the outputs with DataHub.
|
||||||
@ -284,12 +287,22 @@ class GlueSource(StatefulIngestionSourceBase):
|
|||||||
"Action": [
|
"Action": [
|
||||||
"glue:GetDataflowGraph",
|
"glue:GetDataflowGraph",
|
||||||
"glue:GetJobs",
|
"glue:GetJobs",
|
||||||
|
"s3:GetObject",
|
||||||
],
|
],
|
||||||
"Resource": "*"
|
"Resource": "*"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
plus `s3:GetObject` for the job script locations.
|
For profiling datasets, the following additional permissions are required:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"Effect": "Allow",
|
||||||
|
"Action": [
|
||||||
|
"glue:GetPartitions",
|
||||||
|
],
|
||||||
|
"Resource": "*"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user