Skip to content

Commit

Permalink
fix: getting env var
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperHG90 committed Jan 14, 2024
1 parent 3e959ca commit 45930ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from importlib import metadata

from dagster import Definitions, EnvVar
from dagster import Definitions
from luchtmeetnet_ingestion.assets import air_quality_data
from luchtmeetnet_ingestion.IO.duckdb_io_manager import duckdb_parquet_io_manager
from luchtmeetnet_ingestion.IO.resources import LuchtMeetNetResource
Expand All @@ -23,8 +23,8 @@
"landing_zone": duckdb_parquet_io_manager.configured(
{
"path": "s3://inge-cst-euw4-jgdag-prd",
"aws_access_key": EnvVar("GCS_ACCESS_KEY_ID"),
"aws_secret_key": EnvVar("GCS_SECRET_ACCESS_KEY"),
"aws_access_key": {"env": "GCS_ACCESS_KEY_ID"},
"aws_secret_key": {"env": "GCS_SECRET_ACCESS_KEY"},
"aws_endpoint": "https://storage.googleapis.com",
}
)
Expand Down

0 comments on commit 45930ef

Please sign in to comment.