Skip to content

Conversation

@duedares-rvj
Copy link
Member

@duedares-rvj duedares-rvj commented Oct 17, 2025

🔧 Changes

Added auth0_custom_domains data source to list multiple Auth0 custom domains via an optional query (q) with pagination, returning results in the same schema as auth0_custom_domain

📚 References

auth0/auth0-cli#1365

🔬 Testing

Added relevant test cases and recorded them.
make test-acc FILTER=TestAccDataSourceCustomDomains

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@duedares-rvj duedares-rvj requested a review from a team as a code owner October 17, 2025 06:11
@@ -0,0 +1,23 @@
resource "auth0_custom_domain" "my_custom_domain_1" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, Please update the template for custom_domains and custom_domains that highlights a note of fields that only support for EA users (like domain_metadata)

ReadContext: readCustomDomainsForDataSource,
Description: "Data source to retrieve multiple custom domains based on a search query.",
Schema: map[string]*schema.Schema{
"q": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use query instead of q

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants