From becf51575e3be279951a9a97801ac8998218c688 Mon Sep 17 00:00:00 2001 From: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:21:58 +0530 Subject: [PATCH] docs(ingest/athena): update recipe with aws key pair example (#12076) --- datahub-web-react/src/app/ingest/source/builder/sources.json | 2 +- metadata-ingestion/docs/sources/athena/athena_recipe.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/datahub-web-react/src/app/ingest/source/builder/sources.json b/datahub-web-react/src/app/ingest/source/builder/sources.json index 776b6703895c35..102cce0f491e36 100644 --- a/datahub-web-react/src/app/ingest/source/builder/sources.json +++ b/datahub-web-react/src/app/ingest/source/builder/sources.json @@ -181,7 +181,7 @@ "displayName": "Athena", "description": "Import Schemas, Tables, Views, and lineage to S3 from Athena.", "docsUrl": "https://datahubproject.io/docs/generated/ingestion/sources/athena/", - "recipe": "source:\n type: athena\n config:\n # Coordinates\n aws_region: my_aws_region\n work_group: primary\n\n # Options\n s3_staging_dir: \"s3://my_staging_athena_results_bucket/results/\"" + "recipe": "source:\n type: athena\n config:\n # AWS Keys (Optional - Required only if local aws credentials are not set)\n username: aws_access_key_id\n password: aws_secret_access_key\n # Coordinates\n aws_region: my_aws_region\n work_group: primary\n\n # Options\n s3_staging_dir: \"s3://my_staging_athena_results_bucket/results/\"" }, { "urn": "urn:li:dataPlatform:clickhouse", diff --git a/metadata-ingestion/docs/sources/athena/athena_recipe.yml b/metadata-ingestion/docs/sources/athena/athena_recipe.yml index 540d8101737a32..c93047ffed9ffc 100644 --- a/metadata-ingestion/docs/sources/athena/athena_recipe.yml +++ b/metadata-ingestion/docs/sources/athena/athena_recipe.yml @@ -1,6 +1,11 @@ source: type: athena config: + + # AWS Keys (Optional - Required only if local aws credentials are not set) + username: my_aws_access_key_id + password: my_aws_secret_access_key + # Coordinates aws_region: my_aws_region work_group: primary