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

Add data-source for auth0 Action #1139

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

duedares-rvj
Copy link
Contributor

@duedares-rvj duedares-rvj commented Jan 30, 2025

Add a new data source to retrieve an auth0 action.

# An Auth0 Action loaded using its name.
data "auth0_action" "my_action" {
  name = "action-name"
}

# An Auth0 Action loaded using its ID.
data "auth0_action" "my_action" {
  id = "09ee2b9b-282d-4a65-87d1-f01adf007745"
}

🔧 Changes

📚 References

Closes:
#953
#934

🔬 Testing

📝 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)

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 93.75000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 89.23%. Comparing base (dd280c5) to head (a899b2b).

Files with missing lines Patch % Lines
internal/auth0/action/data_source.go 93.75% 2 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1139      +/-   ##
==========================================
+ Coverage   89.22%   89.23%   +0.01%     
==========================================
  Files         134      135       +1     
  Lines       18296    18344      +48     
==========================================
+ Hits        16324    16369      +45     
- Misses       1395     1397       +2     
- Partials      577      578       +1     
Files with missing lines Coverage Δ
internal/auth0/connection/data_source.go 92.98% <ø> (ø)
internal/provider/provider.go 100.00% <ø> (ø)
internal/auth0/action/data_source.go 93.75% <93.75%> (ø)

@duedares-rvj duedares-rvj self-assigned this Jan 31, 2025
@duedares-rvj duedares-rvj mentioned this pull request Jan 31, 2025
1 task
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.

2 participants