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

Open
wants to merge 6 commits 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.

🔧 Changes

Added new data-source auth0_action to retrieve details of an action via Id/name

📚 References

# 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"
}

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-commenter commented Jan 30, 2025

Codecov Report

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

Project coverage is 89.20%. Comparing base (ab4c21f) to head (75ad815).

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

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1139      +/-   ##
==========================================
+ Coverage   89.19%   89.20%   +0.01%     
==========================================
  Files         134      135       +1     
  Lines       18419    18469      +50     
==========================================
+ Hits        16428    16475      +47     
- Misses       1409     1411       +2     
- Partials      582      583       +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 94.00% <94.00%> (ø)

@duedares-rvj duedares-rvj self-assigned this Jan 31, 2025
@duedares-rvj duedares-rvj mentioned this pull request Jan 31, 2025
1 task
@duedares-rvj duedares-rvj marked this pull request as ready for review February 20, 2025 06:30
@duedares-rvj duedares-rvj requested a review from a team as a code owner February 20, 2025 06:30
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