Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on-run-start with 'models' parameter failed #71

Open
linusyoung opened this issue Jan 17, 2024 · 1 comment
Open

on-run-start with 'models' parameter failed #71

linusyoung opened this issue Jan 17, 2024 · 1 comment

Comments

@linusyoung
Copy link

I tried to put {{ dbt_snow_mask.create_masking_policy('models') }} in the on-run-start, however it runs error message as below. any idea what I did wrong?

dbt=1.7.0

on-run-start:
  "{{ dbt_snow_mask.create_masking_policy('models') }}"
 'dict object' has no attribute 'create_masking_policy_mp_encrypt_pii'

when executing manually, it creates policy without issue.

dbt run-operation create_masking_policy --args "{'resource_type': 'models'}"
@juan-yunis
Copy link

I'm having this issue too, but mine is working locally, but it's failing when running in CodeBuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants