Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should import customDomains appear in log? #994

Open
6 tasks done
christianblust opened this issue Dec 3, 2024 · 2 comments
Open
6 tasks done

Should import customDomains appear in log? #994

christianblust opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels

Comments

@christianblust
Copy link

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

Hi all,

I work with the auth0 deploy cli and recently added a custom domain to our tenants. I configured them on the dashboard, exported the dev tenant, added the customDomains part to our tenants and configured them via environment configs.

customDomains:
  - domain: '##CUSTOM_DOMAIN##'
    primary: true
    status: ready
    tls_policy: recommended
    type: auth0_managed_certs
    verification:
      methods:
        - name: CNAME
          record: '##CUSTOM_DOMAIN_CNAME_RECORD##'
          domain: '##CUSTOM_DOMAIN##'

I noticed that in the import log all resources defined in the tenant.yaml appear with a log statement like "2024-12-03T12:56:21.791Z - info: Updated [actions]: {"id":"ididididid","name":"mfa exceptions"}". Those resources were not modified, so I thought that it is just updating everything according to the current tenant configuration.

However i can not see anything related to the custom domain - is this to be expected? I just want to make sure that my configuration is correct and I could not find any documentation about this.

Best
Chris

Expectation

Log statement if really everything should be logged? If not, maybe a short documentation.

Reproduction

  1. Add customDomains to tenant.yaml
customDomains:
  - domain: '##CUSTOM_DOMAIN##'
    primary: true
    status: ready
    tls_policy: recommended
    type: auth0_managed_certs
    verification:
      methods:
        - name: CNAME
          record: '##CUSTOM_DOMAIN_CNAME_RECORD##'
          domain: '##CUSTOM_DOMAIN##'
  1. Run import
  2. Verify Log Statements

Deploy CLI version

8.3.0

Node version

20.18.0

@kushalshit27 kushalshit27 self-assigned this Dec 13, 2024
@kushalshit27
Copy link
Contributor

Hi @christianblust,
Thank you for reporting this issue! Our team is currently investigating the issue.

@kushalshit27
Copy link
Contributor

Hi, @christianblust,
CustomDomains only supports create and delete operations via the CLI, which is why an update log isn't available at this time. If an update feature would be valuable to you, we encourage you to submit a feature request on GitHub! We’re always looking for ways to improve, and your feedback is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants