auth0 / auth0-deploy-cli

The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.
MIT License
248 stars 154 forks source link

Recent pricing change broke cli import for any tenants without credit card details on them (e.g. development and staging tenants) #959

Open reubenjh opened 1 month ago

reubenjh commented 1 month ago

Checklist

Description

As acknowledged by Auth0 staff on this community post, the cli import tool is now broken on any tenants without a payment method on them. https://community.auth0.com/t/error-exporting-auth0-configuration-there-must-be-a-verified-credit-card-on-file-to-perform-this-operation/147879

This means all workflows are now broken for managing your non-production tenants which are all likely to be on the free plan. The error is here below:

2024-10-04T00:36:09.637Z - error: Problem running command export
2024-10-04T00:36:09.637Z - error: Problem loading tenant data from Auth0 Forbidden: There must be a verified credit card on file to perform this operation

Thanks.

Expectation

Surely this should only apply to accounts with non-free plans where payment is required. It worked a few days ago.

Reproduction

Get a tenant with no credit card on file Attempt to pull the config using this tool See error

Deploy CLI version

7.24.2

Node version

20.17.0

kushalshit27 commented 1 week ago

Hi, @reubenjh , For free Tier usage, you can try this:

"AUTH0_EXCLUDED": ["logStreams", "customDomains"]

Doc: https://github.com/auth0/auth0-deploy-cli/blob/master/docs/configuring-the-deploy-cli.md#free-tier

Thanks