Fluid Forge
Why Forge
Concepts
Get Started
  • Consume a Data Product
  • See it run
  • Demos
  • Local (DuckDB)
  • Source-Aligned (Postgres → DuckDB)
  • AI Forge + Data Models
  • MCP Output Port — Serve to AI Agents
  • GCP (BigQuery)
  • Snowflake Team Collaboration
  • Declarative Airflow
  • Orchestration Export
  • Jenkins CI/CD
  • Universal Pipeline
  • 11-Stage Production Pipeline
  • Catalog Forge End-to-End
CLI Reference
  • Agent Policy (concept)
  • MCP Output Port — Serve to Agents
  • MCP deep-dive
  • AI-assisted authoring
  • LLM providers & backends
  • Overview
  • Quickstart
  • Examples
  • Your own CI
  • Your own scaffolding
  • Custom validator
  • Apply hook
  • Reference
  • Overview
  • Architecture
  • GCP (BigQuery)
  • AWS (S3 + Athena)
  • Snowflake
  • Local (DuckDB)
  • Custom Providers
  • Roadmap
GitHub
Why Forge
Concepts
Get Started
  • Consume a Data Product
  • See it run
  • Demos
  • Local (DuckDB)
  • Source-Aligned (Postgres → DuckDB)
  • AI Forge + Data Models
  • MCP Output Port — Serve to AI Agents
  • GCP (BigQuery)
  • Snowflake Team Collaboration
  • Declarative Airflow
  • Orchestration Export
  • Jenkins CI/CD
  • Universal Pipeline
  • 11-Stage Production Pipeline
  • Catalog Forge End-to-End
CLI Reference
  • Agent Policy (concept)
  • MCP Output Port — Serve to Agents
  • MCP deep-dive
  • AI-assisted authoring
  • LLM providers & backends
  • Overview
  • Quickstart
  • Examples
  • Your own CI
  • Your own scaffolding
  • Custom validator
  • Apply hook
  • Reference
  • Overview
  • Architecture
  • GCP (BigQuery)
  • AWS (S3 + Athena)
  • Snowflake
  • Local (DuckDB)
  • Custom Providers
  • Roadmap
GitHub
  • Introduction

    • Home
    • Why Fluid Forge
    • Getting Started
    • Snowflake Quickstart
    • See it run
    • Forge Data Model
    • Vision & Roadmap
    • Playground
    • FAQ
  • Concepts

    • Concepts
    • Builds, Exposes, Bindings
    • What is a contract?
    • Quality, SLAs & Lineage
    • Governance & Policy
    • Agent Policy (LLM/AI governance)
    • Providers vs Platforms
    • Fluid Forge vs alternatives
  • Data Products

    • Consume a Data Product
    • Product Types — SDP, ADP, CDP
  • Walkthroughs

    • Walkthrough: Local Development
    • Source-Aligned: Postgres → DuckDB → Parquet
    • AI Forge And Data-Model Journeys
    • Walkthrough: MCP Output Port
    • Walkthrough: Deploy to Google Cloud Platform
    • Walkthrough: Snowflake Team Collaboration
    • Declarative Airflow DAG Generation - The FLUID Way
    • Generating Orchestration Code from Contracts
    • Jenkins CI/CD for FLUID Data Products
    • Universal Pipeline
    • The 11-Stage Pipeline
    • End-to-End Walkthrough: Catalog → Contract → Transformation
  • CLI Reference

    • CLI Reference
    • Core workflow

      • fluid init
      • fluid demo
      • fluid forge
      • fluid validate
      • fluid plan
      • fluid apply
      • fluid diff
      • fluid status
    • Build & ship

      • fluid bundle
      • fluid generate
      • fluid generate artifacts
      • fluid validate-artifacts
      • fluid verify-signature
      • fluid generate iac
      • fluid generate-airflow
      • fluid generate-pipeline
      • fluid viz-graph
      • fluid publish
      • fluid ship
      • fluid rollback
      • fluid schedule-sync
    • AI & Agents

      • fluid ai
      • fluid agents
      • fluid mcp
      • fluid memory
      • fluid stats
      • fluid skills
    • Quality & governance

      • fluid test
      • fluid verify
      • fluid contract-tests
      • fluid contract-validation
      • fluid policy
      • fluid policy check
      • fluid policy compile
      • fluid policy apply
    • Standards & interoperability

      • fluid odps
      • fluid odps-bitol
      • fluid odcs
      • fluid export
      • fluid export-odps
      • fluid exporters
      • fluid import
      • fluid market
      • fluid datamesh-manager
    • Project & workspace

      • fluid product-new
      • fluid product-add
      • fluid workspace
      • fluid contract
      • fluid split
      • fluid config
      • fluid providers
      • fluid plugins
      • fluid provider-init
      • fluid auth
      • fluid secrets
      • fluid ide
      • fluid scaffold-ci
      • fluid scaffold-composer
      • fluid scaffold-ide
      • fluid docs
      • fluid runs
      • fluid retention
      • fluid describe
      • fluid doctor
      • fluid roadmap
      • fluid version
    • Catalog adapters

      • Source Catalog Integration (V1.5)
      • Publishing to a Catalog — Overview
      • BigQuery Catalog
      • Snowflake Horizon Catalog
      • Databricks Unity Catalog
      • Google Dataplex Catalog
      • AWS Glue Data Catalog
      • DataHub Catalog
      • Data Mesh Manager Catalog
      • OpenMetadata Catalog
    • CLI by task

      • CLI by task
      • Add quality rules
      • Add agent governance
      • Debug a failed pipeline run
      • Switch clouds with one line
  • Recipes

    • Recipes
    • Recipe — add a quality rule
    • Recipe — switch clouds with one line
    • Recipe — tag PII in your schema
    • Write a contract that consumes another contract
    • Generate per-environment overlays
  • SDK & Plugins

    • SDK & Plugins
    • Quickstart — your first plugin
    • Examples

      • Runnable examples
      • Example: hello-scaffold — the minimal viable plugin
      • Example: gitlab-ci-scaffold — generate a complete CI project
      • Example: steward-validator — a custom governance rule
      • Example: prod-key-guard — apply-time invariant check
    • Journeys

      • Journeys
      • Your own CI/CD

        • You have your own CI/CD setup, no problem
        • GitLab CI — the bundle template
        • GitHub Actions — the bundle template
        • Jenkins — the bundle template
        • CircleCI — the bundle template
      • You have a strict project layout, no problem
      • You have governance rules, no problem
      • You want a check at apply time, no problem
    • Reference

      • Reference
      • Roles reference
      • Entry points reference
      • Trust model
      • Packaging
      • Companion packages
  • Providers

    • Providers
    • Provider Architecture
    • GCP Provider
    • AWS Provider
    • Snowflake Provider
    • Local Provider
    • Creating Custom Providers
    • Provider Roadmap
  • AI & Agents

    • MCP Server
    • Built-in And Custom Forge Guidance
    • Forge Discovery Guide
    • Forge Memory Guide
    • Authoring Forge Tools
    • Guided fluid forge UX
    • LLM Providers
    • LiteLLM Backend
    • Capability Warnings
    • Cost Tracking
    • FLUID Forge Contract GPT Packet
    • Agentic Primitives
  • Operate & Deploy

    • Airflow Integration
    • Blueprints
    • Source-Aligned Acquisition
  • Govern & Secure

    • Governance, Compliance & the Business Case
    • Governance & Compliance
    • Network Safety
    • Credential Resolver — Security Model
  • Configuration & Reference

    • Environment Variables
    • Typed Errors
    • Typed CLI Errors
    • API Stability — fluid_build.api
  • Architecture & Releases

    • V1.5 Catalog Integration — Architecture Deep-Dive
    • V1.5 + V2 Hardening — Release Notes
  • Project

    • Contributing to Fluid Forge
    • Fluid Forge Docs Baseline: CLI 0.9.0
    • Fluid Forge Docs Baseline: CLI 0.8.11
    • Fluid Forge Docs Baseline: CLI 0.8.10
    • Fluid Forge Docs Baseline: CLI 0.8.9
    • Fluid Forge Docs Baseline: CLI 0.8.8
    • Fluid Forge Docs Baseline: CLI 0.8.7
    • Fluid Forge Docs Baseline: CLI 0.8.6
    • Fluid Forge Docs Baseline: CLI 0.8.5
    • Fluid Forge Docs Baseline: CLI 0.8.4
    • Fluid Forge Docs Baseline: CLI 0.8.3
    • Fluid Forge Docs Baseline: CLI 0.8.0
    • Fluid Forge Docs Baseline: CLI 0.7.11
    • Fluid Forge Docs Baseline: CLI 0.7.9
    • Fluid Forge v0.7.1 - Multi-Provider Export Release

AWS Glue Data Catalog

Source-side catalog adapter for AWS Glue Data Catalog. Reads tables, databases, partitions, and column-level classifiers, plus Lake Formation tags when present.

Recommended for: AWS-native teams using Glue as the metadata store for S3 / Athena / Redshift Spectrum / EMR. Glue's metadata is the single source of truth for any AWS analytics stack.

Install

pip install "data-product-forge[aws]"

Adds boto3. (Note: many users already have boto3 installed for unrelated reasons — the dep is harmless if duplicated.)

Privileges to grant

The adapter is read-only on metadata. AWS IAM policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "glue:GetDatabase",
        "glue:GetDatabases",
        "glue:GetTable",
        "glue:GetTables",
        "glue:GetPartitions",
        "glue:GetTableVersions"
      ],
      "Resource": "*"
    }
  ]
}

The pre-built AWS managed policy AWSGlueConsoleReadOnlyAccess is a superset of the above — fine for trial / quickstart, more than the minimum needed.

For Lake Formation tag reads (optional):

{
  "Effect": "Allow",
  "Action": [
    "lakeformation:GetResourceLFTags",
    "lakeformation:ListLFTags",
    "lakeformation:GetLFTag"
  ],
  "Resource": "*"
}

If LF tag privileges are missing, the adapter soft-fails on tag reads (forge still works).

Authentication methods

MethodWhen to useSetup
instance_profile ★EC2 / ECS / Lambda / GitHub-Actions-on-AWSInherits the role attached to the compute. No setup.
iam_keyLocal dev, CI without OIDCAWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY env vars.
iam_role_arnCross-account accessAssume the target role; adapter handles sts:AssumeRole.
aws_profileMulti-account local devNamed profile from ~/.aws/credentials.
ssoFederated SSOaws sso login then run fluid forge.

★ instance_profile is the recommended path for any compute running in AWS. Local dev should prefer aws_profile or sso over long-lived iam_key.

Setup

fluid ai setup --source glue --name glue-prod
# ? Catalog: glue
# ? Region: us-east-1
# ? Auth method:
#   ★ instance_profile (recommended on AWS)
#     iam_key
#     iam_role_arn
#     aws_profile
#     sso
# ? AWS profile: default            (only for aws_profile)
# ? Default database: my_db
# ✓ Saved to ~/.fluid/sources.yaml

Or env vars:

export AWS_REGION=us-east-1
export AWS_PROFILE=my-profile     # for aws_profile auth
# OR
export AWS_ACCESS_KEY_ID=...      # for iam_key auth
export AWS_SECRET_ACCESS_KEY=...

End-to-end demo

fluid ai setup --source glue --name glue-prod

fluid forge data-model from-source \
  --source glue \
  --credential-id glue-prod \
  --database my_db \
  --tables orders customers \
  --technique dimensional \
  -o orders.fluid.yaml

fluid generate transformation orders.fluid.yaml -o ./dbt_orders --dbt-validate

--database is required for Glue (Glue tables are database-scoped, not catalog-flat). --tables is optional — when omitted, every table in the database is forged into one model.

What lands where

Glue sourceForge output
Table DescriptionOSIDataset.fields[].expression.description
Column CommentOSIDataset.fields[].expression.description
Table Ownermetadata.owner.team (excluded if it looks like a system role)
Table Parameters.domainmetadata.domain + industry hint
Table UpdateTimemetadata.lineage.upstream[].timestamp (when known)
Lake Formation tagsagentPolicy.sensitiveData[] (PII / PHI / PCI from LF tag values)
PartitionKeysdbt partition_by config

Pagination is honored

Glue's GetTables API caps at ~100 tables per page. The adapter walks the NextToken to exhaustion — large catalogs return every table, not just the first page.

Empty by design: no Glue lineage today

Glue itself has no native table lineage (AWS Data Lineage is a separate service launched 2024). The adapter's get_lineage() returns empty for now; lineage will land in v1.6+ via a separate AWS Data Lineage adapter that reuses the Glue auth.

Common errors

CatalogConfigError: boto3 missing

Run pip install "data-product-forge[aws]".

CatalogPermissionError: User not authorized to perform glue:GetTables

Suggestion list contains the IAM policy block above. Attach the managed AWSGlueConsoleReadOnlyAccess policy for a quick fix.

CatalogConnectionError: EntityNotFoundException: Database my_db not found

Verify the database exists in the configured region — Glue databases are region-scoped. A us-east-1 database is invisible from a us-west-2 client unless the region is set correctly.

CatalogConfigError: database is required for Glue

Glue tables are database-scoped. Pass --database my_db (no default scope concept like Snowflake's database+schema).

See also

  • Catalog index
  • AWS provider page
Edit this page on GitHub
Last Updated: 4/26/26, 10:42 PM
Contributors: fas89, Claude Opus 4.7
Prev
Google Dataplex Catalog
Next
DataHub Catalog