mirror of
https://github.com/FlipsideCrypto/arbitrum-models.git
synced 2026-02-06 13:36:53 +00:00
* Arbitrum Streamline * Update batches and run time * Update complete models, update actions * Update .github/workflows/dbt_run_streamline_history.yml Co-authored-by: Shah Newaz Khan <shahnewazk@gmail.com> * Update XXX and batching --------- Co-authored-by: Shah Newaz Khan <shahnewazk@gmail.com>
12 lines
540 B
SQL
12 lines
540 B
SQL
{% macro create_aws_arbitrum_api() %}
|
|
{% if target.name == "prod" %}
|
|
{% set sql %}
|
|
CREATE api integration IF NOT EXISTS aws_arbitrum_api api_provider = aws_api_gateway api_aws_role_arn = 'arn:aws:iam::490041342817:role/snowflake-api-arbitrum' api_allowed_prefixes = (
|
|
'https://sby17ramp4.execute-api.us-east-1.amazonaws.com/prod/',
|
|
'https://lz7pjsdoa4.execute-api.us-east-1.amazonaws.com/dev/'
|
|
) enabled = TRUE;
|
|
{% endset %}
|
|
{% do run_query(sql) %}
|
|
{% endif %}
|
|
{% endmacro %}
|