Manifest File Example

202 viewsNative Apps Frameworksnowflakenativeapps
0

Manifest File Example:

Alejandro Penzini Answered question December 12, 2023
0

The following example shows a typical manifest file with values specified for all supported properties:

manifest_version: 1 # required
version:
name: hello_snowflake
label: “v1.0”
comment: “The first version of a Snowflake Native App”

artifacts:
readme: readme.md
setup_script: scripts/setup.sql
default_streamlit: streamlit/ux_schema.homepage_streamlit
extension_code: true

configuration:
log_level: debug
trace_level: always

privileges:
– EXECUTE TASK:
description: “Run ingestion tasks for replicating Redshift data”
– EXECUTE MANAGED TASK:
description: “To run serverless ingestion tasks for replicating Redshift data”
– CREATE WAREHOUSE:
description: “To create warehouses for executing tasks”
– MANAGE WAREHOUSES:
description: “To manage warehouses for optimizing the efficiency of your accounts”
– CREATE DATABASE:
description: “To create sink databases for replicating Redshift data”
– IMPORTED PRIVILEGES ON SNOWFLAKE DB:
description: “To access account_usage views”

references:
– enrichment_table:
label: “Enrichment Table”
description: “Select table with audience data to enrich with Ramp IDs”
privileges:
– SELECT
– INSERT
– UPDATE
object_type: Table
multi_valued: true
register_callback: config.register_reference

Alejandro Penzini Answered question December 12, 2023