Skip to content

Commit

Permalink
add checks in cloud run config
Browse files Browse the repository at this point in the history
  • Loading branch information
unytics committed May 28, 2024
1 parent 58b371b commit 86b5e02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airbyte_serverless/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def run(self):
runner_config = self.connection.config['remote_runner']['config']
project = runner_config['project']
region = runner_config['region']
assert project, 'Project is null in connection yaml file (under remote_runner field). Please fill it'
assert region, 'Region is null in connection yaml file (under remote_runner field). Please fill it'
service_account = runner_config.get('service_account')
env_vars = runner_config.get('env_vars')
env = []
Expand Down

0 comments on commit 86b5e02

Please sign in to comment.