auth0/auth0-deploy-cli

Exclude specific types of clients

Opened this issue · 1 comments

Checklist

Describe the problem you'd like to have solved

I would like to be able to exclude specific types of clients e.g. only m2m clients rather than all clients. This will help to keep track of changes to core clients such as SPAs more easily and allow me to ignore the noise of user generated machine-to-machine clients.

Sorry if this is already supported - if it is, please tell me how this can be done. Thank you!

Describe the ideal solution

Similar to excluding resources already - something like the following in config.json:

"AUTH0_EXCLUDED": ["m2m_clients"]

Alternatives and current workarounds

No response

Additional context

No response

Some permutation of this request is common. The Deploy CLI doesn't currently offer that level of granularity with respect to exclusion. There was a related discussion in #451 about wether or not Deploy CLI should operate more in bulk or offer a high level of flexibility. We haven't come to a firm conclusion about the direction but I wouldn't expect us to implement any major changes to the Deploy CLI behavior anytime soon.

Its worth noting that the Auth0 Terraform Provider offers you the ability to manage specific resources and is a very stable, domain-specific tool. You may consider adopting it to better suit your development workflows.

As mentioned above, I don't expect this to be addressed but happy to keep open until a clearer yes/no answer can be provided.