Assuming that you've created state files for data sources as specified in the Configuration docs, you can invoke a script within the repo to manage all datasets for you in your Immuta instance.
$ fh-immuta-utils data-source manage --config-file foo.yml
For a list of supported args, please run with --help
.
$ fh-immuta-utils data-source bulk-delete --config-file foo.yml --search-text foo
Note that unless triggered with --hard-delete
, the script will only disable a data source in Immuta and not actually delete it.
For a list of supported args, please run with --help
.
Tagging of data sources either during or post-creation. If data sources are created using fh-immuta-utils, they'll be tagged during creation. Note that tagging is not done for data sources that are bulk-created, as the endpoint used in Immuta's API for that purpose doesn't support applying tags during creation.
To ensure that data source and column tags are kept up-to-date in existing data sources, you can run the following script:
$ fh-immuta-utils data-sources tag-existing --config-file foo.yml
For a list of supported args, please run with --help
.