auth0 / terraform-provider-auth0

The Auth0 Terraform Provider is the official plugin for managing Auth0 tenant configuration through the Terraform tool.
https://registry.terraform.io/providers/auth0/auth0/latest/docs
Mozilla Public License 2.0
167 stars 86 forks source link

Patch: form, flow expand interface array #1058

Closed kushalshit27 closed 3 weeks ago

kushalshit27 commented 3 weeks ago

🔧 Changes

Fix: Cannot update form after initial creation

📚 References

https://github.com/auth0/terraform-provider-auth0/issues/1054 https://github.com/auth0/terraform-provider-auth0/issues/1057

🔬 Testing

tested by updating form name, nodes, coordinates, start, end

📝 Checklist

codecov-commenter commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 18.75000% with 13 lines in your changes missing coverage. Please review.

Project coverage is 89.41%. Comparing base (c9e8550) to head (84889b7).

Files with missing lines Patch % Lines
internal/auth0/flow/expand.go 0.00% 8 Missing :warning:
internal/auth0/form/expand.go 37.50% 4 Missing and 1 partial :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1058/graphs/tree.svg?width=650&height=150&src=pr&token=geObb1Hn9E&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0)](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1058?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) ```diff @@ Coverage Diff @@ ## main #1058 +/- ## ========================================== + Coverage 89.36% 89.41% +0.05% ========================================== Files 126 126 Lines 17485 17473 -12 ========================================== - Hits 15625 15624 -1 + Misses 1320 1309 -11 Partials 540 540 ``` | [Files with missing lines](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1058?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | Coverage Δ | | |---|---|---| | [internal/auth0/form/expand.go](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1058?src=pr&el=tree&filepath=internal%2Fauth0%2Fform%2Fexpand.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-aW50ZXJuYWwvYXV0aDAvZm9ybS9leHBhbmQuZ28=) | `52.41% <37.50%> (+1.65%)` | :arrow_up: | | [internal/auth0/flow/expand.go](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1058?src=pr&el=tree&filepath=internal%2Fauth0%2Fflow%2Fexpand.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-aW50ZXJuYWwvYXV0aDAvZmxvdy9leHBhbmQuZ28=) | `41.26% <0.00%> (+3.58%)` | :arrow_up: |