Closed TimeTravelerFromNow closed 1 month ago
Thanks @kushalshit27 for helping getting this issue fixed.
Posting the steps I followed to fetch the latest version
npm install -g auth0-deploy-cli
This should install the latest version 7.24.3, checking with
npm view auth0-deploy-cli
The first line of output from this command shows the version
auth0-deploy-cli@7.24.3 | MIT | deps: 13 | versions: 173I ran a tenant config export this morning and am no longer experiencing the issue. ...
2024-10-17T16:13:27.966Z - info: Export Successful
2024-10-17T16:13:27.966Z - info:
================================================
======= Help us improve Auth0 Deploy CLI =======
================================================
We're on a mission to make Auth0 Deploy CLI the best it can be, and we need YOUR help.
We've put together a brief survey to understand how you use Deploy CLI, what you love about it, and where you think we can do better.
===> https://www.surveymonkey.com/r/LZKMPFN <===
Thank you for helping us make Auth0 Deploy CLI better for everyone!
================================================
Checklist
Description
PR with the fix PR 954 If a placeholder such as
@@SECRETS@@
is used in place of the secrets array in the JSON export directory such asexports/web_app/actions/post_change_password_invalidate_sessions.json
, the export cli fails with the errorRelated to, but not the same error as this issue for YAML actions secrets placeholder preservation.
Expectation
Expected the export to succeed, and for the
@@SECRETS@@
placeholder to be preserved. Instead of errorsecrets.map is not a function
being thrown.Reproduction
--format directory
."secrets": []
array use a placeholder value instead."secrets": "@@MY_SECRETS@@"
exports/webapp/myconfig.json
Deploy CLI version
7.24.2
Node version
20.12.2