Skip to content

Commit

Permalink
[docs-beta] configuring assets tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Aug 27, 2024
1 parent 0cd2bfd commit c0520db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/content/deployment/guides/aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: To deploy Dagster to AWS, EC2 or ECS can host the Dagster webserver

# Deploying Dagster to Amazon Web Services

This guide provides instructions for deploying Dagster on Amazon Web Services (AWS). You can use EC2 or ECS to host the Dagster webserver and the Dagster daemon, RDS to store runs and events, and S3 as an I/O manager to store op inputs and outputs.
This guide provides instructions for deploying Dagster on Amazon Web Services (AWS). You can use EC2 or ECS to host the Dagster webserver and the Dagster daemon, RDS to store runs and events, and S3 as an I/O manager to store pipeline and outputs and intermediate data.

---

Expand Down
13 changes: 6 additions & 7 deletions docs/docs-beta/docs/guides/data-modeling/configuring-assets.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Configuring assets via the UI
sidebar_label: Configuring assets via the UI
title: Configuring assets using the Dagster UI
sidebar_label: Configuring assets using the Dagster UI
sidebar_position: 50
---

Expand All @@ -10,9 +10,8 @@ Often, you will want to be able to tweak some parameters when materializing thes

## What you'll learn

- How to add configuration to your assets
- How to modify the configuration when launching a run
- When to use asset configuration vs. [resources](/docs/concepts/resources)
- How to make your assets configurable
- How to provide configuration when launching a run

---

Expand All @@ -28,13 +27,13 @@ To follow the steps in this guide, you'll need:

---

## Adding configuration to assets
## Making assets configurable

For an asset to be configurable, you must first define a schema that inherits from the Dagster `Config` class. For example, let's say we want to allow users to change the lookback time window for an asset:

<CodeExample filePath="guides/data-modeling/configuring-assets/config-schema.py" language="python" title="Adding configuration" />

## Modifying the configuration when launching a run
## Providing configuration when launching a run

When launching a run using Dagster's Launchpad, you can provide a run config file as YAML or JSON that overrides the default configuration for your asset:

Expand Down

0 comments on commit c0520db

Please sign in to comment.