Skip to content

Support management of tenant environment tag #739

Closed
@stabai

Description

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this tool and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

When exporting a config using the Auth0 deploy CLI, it doesn't seem to record the environment tag in the emitted config file. After switching my tenant's environment tag and re-exporting the config to test this, the exported config was identical.

Expectation

Environment tag is stored in the config files in the tenant object (tenant.json when using the directory format).

Reproduction

  1. Given an Auth0 tenant
  2. When you export its config, change its environment tag, then export it again
    a. Export its config:
    a0deploy export --config_file mytenant.json --format yaml --output_folder ./export_test
    b. Change its environment tag in the Auth0 management UI
    c. Export the config again
  3. Then the config should be different than it was in step 2a because the tag changed

Deploy CLI version

7.16.1

Node version

18.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions