The problem I faced was 2 fold.
I wanted to update an audit and test it.
The audit was user defined and involved joins to other models within the project, some of which had also been modified.
- The model reference was only replaced for the physical table that referenced the audit when using my environment. Other models were not substituted and therefor used the promoted views and the audit failed to run because of it.
- I couldn't run audits from the CLI for a particular environment as it isn't an argument or option.
The problem I faced was 2 fold.
I wanted to update an audit and test it.
The audit was user defined and involved joins to other models within the project, some of which had also been modified.