-
Notifications
You must be signed in to change notification settings - Fork 7
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
resource deletions outside terraform state should not end with an error when using terraform refresh #316
Merged
mattdot
merged 3 commits into
main
from
mawasile/310a-resource-deletions-outside-terraform-state-should-not-end-with-an-error-when-using-terraform-refresh
May 30, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mattdot
previously approved these changes
May 30, 2024
Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
…raform-state-should-not-end-with-an-error-when-using-terraform-refresh
eduardodfmex
approved these changes
May 30, 2024
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.
Thank you for the fix.
mattdot
approved these changes
May 30, 2024
mawasile
added a commit
that referenced
this pull request
Jun 4, 2024
commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes
mawasile
added a commit
that referenced
this pull request
Jun 4, 2024
commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes
mawasile
added a commit
that referenced
this pull request
Jun 4, 2024
commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes
mawasile
added a commit
that referenced
this pull request
Jun 6, 2024
commit 8eac5b0 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:29 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 46ad103 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:17 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 887be90 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:08:06 2024 -0700 updating docs commit 2dfeb43 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:04:47 2024 -0700 handling edge cases commit a8e7f79 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:56:29 2024 -0700 handling edge cases commit 6c2d47b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:03:02 2024 -0700 fixing read commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes
mawasile
added a commit
that referenced
this pull request
Jun 6, 2024
commit 7b195a1 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 10:50:58 2024 +0200 bug fixes commit 5dc140a Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 09:33:56 2024 +0200 minor fixes commit b8de9fe Merge: e759cd9 cb95e23 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 08:01:02 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit cb95e23 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 15:01:41 2024 -0700 Bump goreleaser/goreleaser-action in /.github/workflows (#320) Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@5742e2a...286f3b1) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit e759cd9 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:47:01 2024 +0000 updating output terraform file commit 53f6541 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:43:03 2024 +0000 refactoring commit c57baf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 13:28:19 2024 -0700 Bump github.com/hashicorp/terraform-plugin-docs from 0.19.3 to 0.19.4 (#318) Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-docs@v0.19.3...v0.19.4) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-docs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 879c093 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:20:16 2024 +0000 renaming state variable commit 22b7863 Merge: 8c049f0 9d78c2f Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 13:14:44 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 8c049f0 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:12:08 2024 +0000 updating user docs commit 3036225 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 12:13:13 2024 -0700 changing example data_record resource usage commit 06d8e5c Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 12:02:03 2024 -0700 moving apiurl variable into the correct place commit 9d78c2f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 08:18:13 2024 +0200 Bump github.com/hashicorp/terraform-plugin-framework from 1.8.0 to 1.9.0 (#319) Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-framework@v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53061f6 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 15:24:38 2024 -0700 refactoring commit 35ab879 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 15:08:32 2024 -0700 refactoring commit 9d2feb2 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:03:39 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 7f1c2f2 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:03:14 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit bcb6728 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:00:34 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit e42d388 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 13:59:40 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 610bc10 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 13:58:26 2024 -0700 improving code-duplication issues commit 1513d20 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 13:48:24 2024 -0700 improving error detection commit 0cf7825 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 11:40:43 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 554a57a Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 10:02:34 2024 -0700 removing unneeded field commit db2791e Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 09:56:36 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 73b4721 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 09:56:04 2024 -0700 Update examples/resources/powerplatform_data_record/resource.tf Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 8eac5b0 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:29 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 46ad103 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:17 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 887be90 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:08:06 2024 -0700 updating docs commit 2dfeb43 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:04:47 2024 -0700 handling edge cases commit a8e7f79 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:56:29 2024 -0700 handling edge cases commit 6c2d47b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:03:02 2024 -0700 fixing read commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes
eduardodfmex
pushed a commit
that referenced
this pull request
Jun 17, 2024
* creating data_record resource * adding relational column support * fixing failing test * adding more examples and fixing recordid loginc * updates on the data_record resource * updates on the data_record resource * updates on the data_record resource * formatting document * fixing issues * fixing issues * adding relationships to example * wip * adding tests * refactoring some methods * adding more acceptance tests * Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> * adding read operation * switching to a constant for the dataverse api version * switching to url.Parse, instead of strings.TrimPrefix * typo fix * refactoring * improving read implementation * fixing relationship fields in state * fixing relationship issues * removing unneeded writefile command * Squashed commit of the following: commit 57a8dfb Author: polatengin <enpolat@microsoft.com> Date: Thu May 23 12:51:28 2024 -0700 removing unneeded writefile command commit 663fcd5 Merge: bd28a31 6377b2e Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 23 08:58:44 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit bd28a31 Author: polatengin <enpolat@microsoft.com> Date: Wed May 22 14:44:36 2024 -0700 fixing relationship issues commit e05f2f6 Merge: 47195a2 9822ece Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Wed May 22 14:35:08 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 47195a2 Author: polatengin <enpolat@microsoft.com> Date: Tue May 21 17:06:28 2024 -0700 fixing relationship fields in state commit 15196cd Author: polatengin <enpolat@microsoft.com> Date: Sat May 18 08:19:08 2024 -0700 improving read implementation commit b3f55cc Author: polatengin <enpolat@microsoft.com> Date: Sat May 18 06:58:46 2024 -0700 refactoring commit 5cac3be Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Fri May 17 08:24:34 2024 +0000 typo fix commit 6614c72 Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 13:02:49 2024 -0700 switching to url.Parse, instead of strings.TrimPrefix commit 27f443a Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 12:55:09 2024 -0700 switching to a constant for the dataverse api version commit ccf5561 Merge: edb8ad7 3580582 Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 12:46:48 2024 -0700 Merge branch 'enpolat/45-resource-powerplatform_data_record' of github.com:microsoft/terraform-provider-power-platform into enpolat/45-resource-powerplatform_data_record commit edb8ad7 Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 12:46:03 2024 -0700 adding read operation commit 3580582 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 16 12:44:04 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 34c4f8c Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu May 16 16:27:18 2024 +0000 adding more acceptance tests commit f73a063 Author: polatengin <enpolat@microsoft.com> Date: Wed May 15 14:32:09 2024 -0700 refactoring some methods commit 6ed5c3e Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 19:17:14 2024 +0000 adding tests commit 5dd974b Merge: bc35671 73b0014 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 11:19:29 2024 +0200 Merge branch 'enpolat/45-resource-powerplatform_data_record' of https://github.com/microsoft/terraform-provider-power-platform into enpolat/45-resource-powerplatform_data_record commit bc35671 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 09:18:20 2024 +0000 wip commit 73b0014 Merge: a675325 1b8c806 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 10:59:56 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit a675325 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 08:34:53 2024 +0000 adding relationships to example commit 415e8a9 Author: polatengin <enpolat@microsoft.com> Date: Tue May 14 15:22:57 2024 -0700 fixing issues commit 48b84f9 Author: polatengin <enpolat@microsoft.com> Date: Tue May 14 15:16:06 2024 -0700 fixing issues commit 7b06b92 Merge: 5ce7ef5 0db25c3 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Fri May 10 17:24:13 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 5ce7ef5 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:46:48 2024 -0700 formatting document commit fd38440 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:45:29 2024 -0700 updates on the data_record resource commit 3596e59 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:42:39 2024 -0700 updates on the data_record resource commit 92694e9 Merge: 0f1ccc1 889c453 Author: Engin Polat <polatengin@hotmail.com> Date: Wed May 8 16:11:27 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 0f1ccc1 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:11:01 2024 -0700 updates on the data_record resource commit cecbcd6 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Tue May 7 12:49:18 2024 +0000 adding more examples and fixing recordid loginc commit 645f2ff Merge: b0b08a9 c794270 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Tue May 7 08:13:35 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit b0b08a9 Merge: 1bdfbca 9e6b9ca Author: Engin Polat <polatengin@hotmail.com> Date: Thu Apr 25 08:59:26 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 1bdfbca Author: polatengin <enpolat@microsoft.com> Date: Thu Apr 25 08:24:03 2024 -0700 fixing failing test commit 4f631f7 Merge: 1491403 e6eb48f Author: Engin Polat <polatengin@hotmail.com> Date: Thu Apr 25 08:09:12 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 1491403 Author: polatengin <enpolat@microsoft.com> Date: Thu Apr 25 07:55:32 2024 -0700 adding relational column support commit 8b35187 Author: polatengin <enpolat@microsoft.com> Date: Tue Apr 9 22:04:02 2024 +0000 creating data_record resource * fixing read operation * fixing read operation logic * wip * adding support for sets in relationships * wip * wip * Squashed commit of the following: commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * wip * Squashed commit of the following: commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * Squashed commit of the following: commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * feat: Add top and filter options to powerplatform_data_records data source This commit adds the `top` and `filter` options to the `powerplatform_data_records` data source in order to limit the number of records returned and filter the results based on specific criteria. This improves the efficiency and flexibility of the data retrieval process. * wip * Squashed commit of the following: commit 8eac5b0 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:29 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 46ad103 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:17 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 887be90 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:08:06 2024 -0700 updating docs commit 2dfeb43 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:04:47 2024 -0700 handling edge cases commit a8e7f79 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:56:29 2024 -0700 handling edge cases commit 6c2d47b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:03:02 2024 -0700 fixing read commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * wip * Squashed commit of the following: commit 7b195a1 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 10:50:58 2024 +0200 bug fixes commit 5dc140a Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 09:33:56 2024 +0200 minor fixes commit b8de9fe Merge: e759cd9 cb95e23 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 08:01:02 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit cb95e23 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 15:01:41 2024 -0700 Bump goreleaser/goreleaser-action in /.github/workflows (#320) Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@5742e2a...286f3b1) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit e759cd9 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:47:01 2024 +0000 updating output terraform file commit 53f6541 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:43:03 2024 +0000 refactoring commit c57baf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 13:28:19 2024 -0700 Bump github.com/hashicorp/terraform-plugin-docs from 0.19.3 to 0.19.4 (#318) Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-docs@v0.19.3...v0.19.4) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-docs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 879c093 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:20:16 2024 +0000 renaming state variable commit 22b7863 Merge: 8c049f0 9d78c2f Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 13:14:44 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 8c049f0 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:12:08 2024 +0000 updating user docs commit 3036225 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 12:13:13 2024 -0700 changing example data_record resource usage commit 06d8e5c Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 12:02:03 2024 -0700 moving apiurl variable into the correct place commit 9d78c2f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 08:18:13 2024 +0200 Bump github.com/hashicorp/terraform-plugin-framework from 1.8.0 to 1.9.0 (#319) Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-framework@v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53061f6 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 15:24:38 2024 -0700 refactoring commit 35ab879 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 15:08:32 2024 -0700 refactoring commit 9d2feb2 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:03:39 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 7f1c2f2 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:03:14 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit bcb6728 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:00:34 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit e42d388 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 13:59:40 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 610bc10 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 13:58:26 2024 -0700 improving code-duplication issues commit 1513d20 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 13:48:24 2024 -0700 improving error detection commit 0cf7825 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 11:40:43 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 554a57a Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 10:02:34 2024 -0700 removing unneeded field commit db2791e Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 09:56:36 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 73b4721 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 09:56:04 2024 -0700 Update examples/resources/powerplatform_data_record/resource.tf Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 8eac5b0 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:29 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 46ad103 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:17 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 887be90 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:08:06 2024 -0700 updating docs commit 2dfeb43 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:04:47 2024 -0700 handling edge cases commit a8e7f79 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:56:29 2024 -0700 handling edge cases commit 6c2d47b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:03:02 2024 -0700 fixing read commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * wip * adding acceptance tests * fixing navigation property bug * fix expand lookup bug * fixing tests bugs * updating examples * generating docs * PR fixes * refactor: Consolidate OData query building logic Refactor the `buildExpandFilterQueryPart` function in the `odata.go` file to consolidate the logic for building the OData query. This improves code readability and reduces duplication. The function now uses the `strings.Join` function to concatenate the query parts instead of repeated string concatenation. * refactor: Consolidate OData query building logic --------- Co-authored-by: polatengin <enpolat@microsoft.com> Co-authored-by: Engin Polat <polatengin@hotmail.com> Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
mattdot
added a commit
that referenced
this pull request
Jun 18, 2024
* creating data_record resource * adding relational column support * fixing failing test * adding more examples and fixing recordid loginc * updates on the data_record resource * updates on the data_record resource * updates on the data_record resource * formatting document * fixing issues * fixing issues * adding relationships to example * wip * adding tests * refactoring some methods * adding more acceptance tests * Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> * adding read operation * switching to a constant for the dataverse api version * switching to url.Parse, instead of strings.TrimPrefix * typo fix * refactoring * improving read implementation * fixing relationship fields in state * fixing relationship issues * removing unneeded writefile command * Squashed commit of the following: commit 57a8dfb Author: polatengin <enpolat@microsoft.com> Date: Thu May 23 12:51:28 2024 -0700 removing unneeded writefile command commit 663fcd5 Merge: bd28a31 6377b2e Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 23 08:58:44 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit bd28a31 Author: polatengin <enpolat@microsoft.com> Date: Wed May 22 14:44:36 2024 -0700 fixing relationship issues commit e05f2f6 Merge: 47195a2 9822ece Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Wed May 22 14:35:08 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 47195a2 Author: polatengin <enpolat@microsoft.com> Date: Tue May 21 17:06:28 2024 -0700 fixing relationship fields in state commit 15196cd Author: polatengin <enpolat@microsoft.com> Date: Sat May 18 08:19:08 2024 -0700 improving read implementation commit b3f55cc Author: polatengin <enpolat@microsoft.com> Date: Sat May 18 06:58:46 2024 -0700 refactoring commit 5cac3be Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Fri May 17 08:24:34 2024 +0000 typo fix commit 6614c72 Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 13:02:49 2024 -0700 switching to url.Parse, instead of strings.TrimPrefix commit 27f443a Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 12:55:09 2024 -0700 switching to a constant for the dataverse api version commit ccf5561 Merge: edb8ad7 3580582 Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 12:46:48 2024 -0700 Merge branch 'enpolat/45-resource-powerplatform_data_record' of github.com:microsoft/terraform-provider-power-platform into enpolat/45-resource-powerplatform_data_record commit edb8ad7 Author: polatengin <enpolat@microsoft.com> Date: Thu May 16 12:46:03 2024 -0700 adding read operation commit 3580582 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 16 12:44:04 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 34c4f8c Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu May 16 16:27:18 2024 +0000 adding more acceptance tests commit f73a063 Author: polatengin <enpolat@microsoft.com> Date: Wed May 15 14:32:09 2024 -0700 refactoring some methods commit 6ed5c3e Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 19:17:14 2024 +0000 adding tests commit 5dd974b Merge: bc35671 73b0014 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 11:19:29 2024 +0200 Merge branch 'enpolat/45-resource-powerplatform_data_record' of https://github.com/microsoft/terraform-provider-power-platform into enpolat/45-resource-powerplatform_data_record commit bc35671 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 09:18:20 2024 +0000 wip commit 73b0014 Merge: a675325 1b8c806 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 10:59:56 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit a675325 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Wed May 15 08:34:53 2024 +0000 adding relationships to example commit 415e8a9 Author: polatengin <enpolat@microsoft.com> Date: Tue May 14 15:22:57 2024 -0700 fixing issues commit 48b84f9 Author: polatengin <enpolat@microsoft.com> Date: Tue May 14 15:16:06 2024 -0700 fixing issues commit 7b06b92 Merge: 5ce7ef5 0db25c3 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Fri May 10 17:24:13 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 5ce7ef5 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:46:48 2024 -0700 formatting document commit fd38440 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:45:29 2024 -0700 updates on the data_record resource commit 3596e59 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:42:39 2024 -0700 updates on the data_record resource commit 92694e9 Merge: 0f1ccc1 889c453 Author: Engin Polat <polatengin@hotmail.com> Date: Wed May 8 16:11:27 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 0f1ccc1 Author: polatengin <enpolat@microsoft.com> Date: Wed May 8 16:11:01 2024 -0700 updates on the data_record resource commit cecbcd6 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Tue May 7 12:49:18 2024 +0000 adding more examples and fixing recordid loginc commit 645f2ff Merge: b0b08a9 c794270 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Tue May 7 08:13:35 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit b0b08a9 Merge: 1bdfbca 9e6b9ca Author: Engin Polat <polatengin@hotmail.com> Date: Thu Apr 25 08:59:26 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 1bdfbca Author: polatengin <enpolat@microsoft.com> Date: Thu Apr 25 08:24:03 2024 -0700 fixing failing test commit 4f631f7 Merge: 1491403 e6eb48f Author: Engin Polat <polatengin@hotmail.com> Date: Thu Apr 25 08:09:12 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 1491403 Author: polatengin <enpolat@microsoft.com> Date: Thu Apr 25 07:55:32 2024 -0700 adding relational column support commit 8b35187 Author: polatengin <enpolat@microsoft.com> Date: Tue Apr 9 22:04:02 2024 +0000 creating data_record resource * fixing read operation * fixing read operation logic * wip * adding support for sets in relationships * wip * wip * Squashed commit of the following: commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * wip * Squashed commit of the following: commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * Squashed commit of the following: commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * feat: Add top and filter options to powerplatform_data_records data source This commit adds the `top` and `filter` options to the `powerplatform_data_records` data source in order to limit the number of records returned and filter the results based on specific criteria. This improves the efficiency and flexibility of the data retrieval process. * wip * Squashed commit of the following: commit 8eac5b0 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:29 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 46ad103 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:17 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 887be90 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:08:06 2024 -0700 updating docs commit 2dfeb43 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:04:47 2024 -0700 handling edge cases commit a8e7f79 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:56:29 2024 -0700 handling edge cases commit 6c2d47b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:03:02 2024 -0700 fixing read commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * wip * Squashed commit of the following: commit 7b195a1 Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 10:50:58 2024 +0200 bug fixes commit 5dc140a Author: Mateusz Wasilewski <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 09:33:56 2024 +0200 minor fixes commit b8de9fe Merge: e759cd9 cb95e23 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu Jun 6 08:01:02 2024 +0200 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit cb95e23 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 15:01:41 2024 -0700 Bump goreleaser/goreleaser-action in /.github/workflows (#320) Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0. - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@5742e2a...286f3b1) --- updated-dependencies: - dependency-name: goreleaser/goreleaser-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit e759cd9 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:47:01 2024 +0000 updating output terraform file commit 53f6541 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:43:03 2024 +0000 refactoring commit c57baf9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 13:28:19 2024 -0700 Bump github.com/hashicorp/terraform-plugin-docs from 0.19.3 to 0.19.4 (#318) Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.19.3 to 0.19.4. - [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-docs@v0.19.3...v0.19.4) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-docs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 879c093 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:20:16 2024 +0000 renaming state variable commit 22b7863 Merge: 8c049f0 9d78c2f Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 13:14:44 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 8c049f0 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 20:12:08 2024 +0000 updating user docs commit 3036225 Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 12:13:13 2024 -0700 changing example data_record resource usage commit 06d8e5c Author: Engin Polat <polatengin@hotmail.com> Date: Wed Jun 5 12:02:03 2024 -0700 moving apiurl variable into the correct place commit 9d78c2f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Jun 5 08:18:13 2024 +0200 Bump github.com/hashicorp/terraform-plugin-framework from 1.8.0 to 1.9.0 (#319) Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-framework@v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53061f6 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 15:24:38 2024 -0700 refactoring commit 35ab879 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 15:08:32 2024 -0700 refactoring commit 9d2feb2 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:03:39 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 7f1c2f2 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:03:14 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit bcb6728 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 14:00:34 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit e42d388 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 13:59:40 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 610bc10 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 13:58:26 2024 -0700 improving code-duplication issues commit 1513d20 Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 13:48:24 2024 -0700 improving error detection commit 0cf7825 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 11:40:43 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 554a57a Author: polatengin <enpolat@microsoft.com> Date: Tue Jun 4 10:02:34 2024 -0700 removing unneeded field commit db2791e Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 09:56:36 2024 -0700 Update internal/powerplatform/services/data_record/api_data_record.go Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 73b4721 Author: Engin Polat <polatengin@hotmail.com> Date: Tue Jun 4 09:56:04 2024 -0700 Update examples/resources/powerplatform_data_record/resource.tf Co-authored-by: mawasile <50197777+mawasile@users.noreply.github.com> commit 8eac5b0 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:29 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 46ad103 Author: Engin Polat <polatengin@hotmail.com> Date: Mon Jun 3 15:44:17 2024 -0700 Update internal/powerplatform/services/data_record/resource_data_record.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 887be90 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:08:06 2024 -0700 updating docs commit 2dfeb43 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 15:04:47 2024 -0700 handling edge cases commit a8e7f79 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:56:29 2024 -0700 handling edge cases commit 6c2d47b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 14:03:02 2024 -0700 fixing read commit dcee60f Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:57:19 2024 -0700 fixing read commit d35e6f5 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:56:01 2024 -0700 fixing read commit e38008b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:56 2024 -0700 fixing read commit ac99f6b Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:49:07 2024 -0700 fixing read commit 948b8d3 Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 13:47:38 2024 -0700 fixing read commit c8d5fca Author: polatengin <enpolat@microsoft.com> Date: Mon Jun 3 12:15:55 2024 -0700 fixing relation issues commit 8aced1c Author: polatengin <enpolat@microsoft.com> Date: Thu May 30 15:15:48 2024 -0700 improving apply logic commit 01e9d1a Merge: a1df161 38c6bb5 Author: Engin Polat <polatengin@hotmail.com> Date: Thu May 30 13:17:54 2024 -0700 Merge branch 'main' into enpolat/45-resource-powerplatform_data_record commit 38c6bb5 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Thu May 30 19:01:31 2024 +0200 resource deletions outside terraform state should not end with an error when using terraform refresh (#316) * fix: handle 404 correctly * Update internal/powerplatform/services/solution/api_solution.go Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> --------- Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com> commit 68c5376 Author: Matt Dotson <mattdot@users.noreply.github.com> Date: Thu May 30 09:57:20 2024 -0700 Fix broken documentation links (#315) * fixes #314 with documentation updates and culture removal * more fixes * wip * adding acceptance tests * fixing navigation property bug * fix expand lookup bug * fixing tests bugs * updating examples * generating docs * PR fixes * refactor: Consolidate OData query building logic Refactor the `buildExpandFilterQueryPart` function in the `odata.go` file to consolidate the logic for building the OData query. This improves code readability and reduces duplication. The function now uses the `strings.Join` function to concatenate the query parts instead of repeated string concatenation. * Squashed commit of the following: commit e4a0382 Author: mawasile <50197777+mawasile@users.noreply.github.com> Date: Fri Jun 14 14:18:44 2024 +0000 refactor: Consolidate OData query building logic * Cover datasource with unit tests --------- Co-authored-by: polatengin <enpolat@microsoft.com> Co-authored-by: Engin Polat <polatengin@hotmail.com> Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces changes to improve error handling and code readability. The most significant changes include the introduction of a new
providerError
type inerror.go
, the addition of thehashicorp/local
provider interraform.rc
, and the modification of several functions to use the newproviderError
type for improved error handling.New error handling:
internal/powerplatform/helpers/error.go
: Introduced a newproviderError
type and associated functions to handle errors more effectively. This type includes anErrorCode
field to allow for more specific error handling.internal/powerplatform/services/authorization/api_user.go
,internal/powerplatform/services/dlp_policy/api_dlp_policy.go
,internal/powerplatform/services/environment/api_environment.go
): Updated several functions to use the newproviderError
type for improved error handling. These changes allow for more specific error messages and handling, particularly for "404" errors. [1] [2] [3]Provider addition:
.devcontainer/features/local_provider_dev/terraform.rc
: Added thehashicorp/local
provider to theprovider_installation
block. This change allows for the use of thehashicorp/local
provider in the development environment.Code readability:
internal/powerplatform/services/licensing/api_licensing.go
: Updated theAddEnvironmentsToBillingPolicy
andRemoveEnvironmentsToBillingPolicy
functions to return early ifenvironmentIds
is empty. This change simplifies the code and improves readability. [1] [2]internal/powerplatform/services/licensing/test/resource/environments/Validate_Update/get_environments_for_policy_8.json
): Removed unnecessary environment entries from test data. This change simplifies the test data and improves readability.fix #310