├── .circleci └── config.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── airflow_plugins └── dbt_operator.py ├── config └── profiles.dist.yml ├── data └── country.csv ├── dbt_project.yml ├── docker-compose.yml ├── infrastructure ├── aurora_postgres_serverless.tf ├── ecs.tf ├── network.tf ├── output.tf ├── provider.tf ├── schedule_sm.tf ├── step_functions.tf ├── templates │ ├── ecs_dbt.tpl │ ├── state_machine_with_deps.tpl │ └── state_machine_with_no_deps.tpl └── variables.tf ├── macros └── get_custom_schema.sql ├── models ├── example │ └── another_example.sql └── just_another_example │ └── my_example.sql ├── requirements.txt ├── sm_definition ├── example_1.json ├── example_2.json └── example_3.json └── utils ├── lambda_layer_python_3.7 ├── requirements.txt └── upload_layer.sh ├── push_to_ecr.sh ├── run_container_locally.sh ├── run_using_ecs.py └── start_sm.py /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/README.md -------------------------------------------------------------------------------- /airflow_plugins/dbt_operator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/airflow_plugins/dbt_operator.py -------------------------------------------------------------------------------- /config/profiles.dist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/config/profiles.dist.yml -------------------------------------------------------------------------------- /data/country.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/data/country.csv -------------------------------------------------------------------------------- /dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/dbt_project.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /infrastructure/aurora_postgres_serverless.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/aurora_postgres_serverless.tf -------------------------------------------------------------------------------- /infrastructure/ecs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/ecs.tf -------------------------------------------------------------------------------- /infrastructure/network.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/network.tf -------------------------------------------------------------------------------- /infrastructure/output.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/output.tf -------------------------------------------------------------------------------- /infrastructure/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/provider.tf -------------------------------------------------------------------------------- /infrastructure/schedule_sm.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/schedule_sm.tf -------------------------------------------------------------------------------- /infrastructure/step_functions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/step_functions.tf -------------------------------------------------------------------------------- /infrastructure/templates/ecs_dbt.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/templates/ecs_dbt.tpl -------------------------------------------------------------------------------- /infrastructure/templates/state_machine_with_deps.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/templates/state_machine_with_deps.tpl -------------------------------------------------------------------------------- /infrastructure/templates/state_machine_with_no_deps.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/templates/state_machine_with_no_deps.tpl -------------------------------------------------------------------------------- /infrastructure/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/infrastructure/variables.tf -------------------------------------------------------------------------------- /macros/get_custom_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/macros/get_custom_schema.sql -------------------------------------------------------------------------------- /models/example/another_example.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/models/example/another_example.sql -------------------------------------------------------------------------------- /models/just_another_example/my_example.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/models/just_another_example/my_example.sql -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | dbt==0.14.2 -------------------------------------------------------------------------------- /sm_definition/example_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/sm_definition/example_1.json -------------------------------------------------------------------------------- /sm_definition/example_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/sm_definition/example_2.json -------------------------------------------------------------------------------- /sm_definition/example_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/sm_definition/example_3.json -------------------------------------------------------------------------------- /utils/lambda_layer_python_3.7/requirements.txt: -------------------------------------------------------------------------------- 1 | psycopg2==2.7.7 2 | -------------------------------------------------------------------------------- /utils/lambda_layer_python_3.7/upload_layer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/utils/lambda_layer_python_3.7/upload_layer.sh -------------------------------------------------------------------------------- /utils/push_to_ecr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/utils/push_to_ecr.sh -------------------------------------------------------------------------------- /utils/run_container_locally.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/utils/run_container_locally.sh -------------------------------------------------------------------------------- /utils/run_using_ecs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/utils/run_using_ecs.py -------------------------------------------------------------------------------- /utils/start_sm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicor88/dbt-serverless/HEAD/utils/start_sm.py --------------------------------------------------------------------------------