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

DXCDT-509: Adding auth0_connections export support #797

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Aug 9, 2023

🔧 Changes

Adding support for exporting connection Terraform resources when running the auth0 tf generate command. The output will appear like this:

import {
  id = "con_ZEPofWWVD0hkBcSP"
  to = auth0_connection.google-oauth2
}

import {
  id = "con_SOAPB8ZiGrIDDyh4"
  to = auth0_connection.Username-Password-Authentication
}

🔬 Testing

Adding unit tests. Manually verified.

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

@willvedd willvedd requested a review from a team as a code owner August 9, 2023 21:04
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 84.53% and project coverage change: +0.21% 🎉

Comparison is base (411bcda) 72.04% compared to head (9d28445) 72.25%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #797      +/-   ##
==========================================
+ Coverage   72.04%   72.25%   +0.21%     
==========================================
  Files          89       91       +2     
  Lines       11149    11343     +194     
==========================================
+ Hits         8032     8196     +164     
- Misses       2615     2643      +28     
- Partials      502      504       +2     
Files Changed Coverage Δ
internal/cli/terraform.go 77.27% <77.27%> (ø)
internal/cli/root.go 90.90% <100.00%> (+0.06%) ⬆️
internal/cli/terraform_fetcher.go 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@willvedd willvedd merged commit fc3ba6e into main Aug 10, 2023
6 checks passed
@willvedd willvedd deleted the DXCDT-509-connections-resource-export-support branch August 10, 2023 17:39
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