Skip to content

SNOW-1641294: Allow for configurable snowflake.yml files for streamlit deployments #1511

Discussion options

You must be logged in to vote

@rorydonaldson have you tried using templates?

definition_version: "1.1"
env:
  schema: "test"
streamlit:
  name: "MY_APP"
  schema: <% ctx.env.schema %>
schema="staging"; snow streamlit deploy
schema="prod"; snow streamlit deploy

https://docs.snowflake.com/en/developer-guide/snowflake-cli-v2/project-definitions/about#alter-command-behavior-using-templates

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sfc-gh-turbaszek
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1502 on August 29, 2024 09:01.