Can you only have 1 code location while in Dagster...
# ask-community
s
Can you only have 1 code location while in Dagster Trial period? When I try to add a second code location it replaces the current code location.
d
Hey Scott - you can have multiple code locations. What steps are you following to add a second code location?
s
I click
Add code location
in the top right of this screenshot, then I choose a template OR import an existing project - and then it deploys - then I go to Deployments and the old code location is gone, replaced by the new one
d
Ah I think you will want to change the name of the code location in the new github repository in the dagster_cloud.yaml file - if two code locations have the same name they'll replace each other. For example this name here: https://github.com/dagster-io/quickstart-snowflake/blob/main/dagster_cloud.yaml We can give each template its own code location name to make this less likely to happen, thanks for the report
s
Ahhh, yep, the two tempates I used both have
location_name
of
example_location