-
Notifications
You must be signed in to change notification settings - Fork 107
feat: Add auth0_custom_domains data source for listing multiple custom domains
#1389
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
base: main
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1,23 @@ | |||
| resource "auth0_custom_domain" "my_custom_domain_1" { | |||
There was a problem hiding this comment.
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": { |
There was a problem hiding this comment.
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
🔧 Changes
Added
auth0_custom_domainsdata source to list multiple Auth0 custom domains via an optional query (q) with pagination, returning results in the same schema asauth0_custom_domain📚 References
auth0/auth0-cli#1365
🔬 Testing
Added relevant test cases and recorded them.
make test-acc FILTER=TestAccDataSourceCustomDomains📝 Checklist