With this code change, we change how we create id attribute for powerplatform_solution. Before it was a concatenation of environmentId and solution name, from now on, with removal of solution_name this is going to be environmentid and soltuionId
Solution File Path Updates:
Updated the solution_file path to use a static file name TerraformTestSolution_Complex_1_1_0_0.zip instead of a variable-based name in docs/resources/solution.md and examples/resources/powerplatform_solution/resource.tf. [1][2]
Environment URL Handling:
Replaced GetEnvironmentUrlById with GetEnvironmentHostById in internal/powerplatform/services/authorization/api_user.go and internal/powerplatform/services/data_record/api_data_record.go to handle environment URLs more efficiently. [1][2]
Password Security Enhancements:
Added minimum requirements for uppercase, numeric, and special characters in password generation in docs/resources/user.md, examples/resources/powerplatform_user/resource.tf, and various test files. [1][2][3]
Testing and Mock Updates:
Reorganized and re-added TestUnitTestProtoV6ProviderFactories and TestAccProtoV6ProviderFactories in internal/powerplatform/mocks/mocks.go to ensure proper test setup. [1][2]
Code Cleanup:
Removed unnecessary import parentheses and added a new constant DEFAULT_REQUEST_TIMEOUT_IN_MINUTES in internal/powerplatform/constants/constants.go. [1][2]
Breaking Change
With this code change, we change how we create
id
attribute for powerplatform_solution. Before it was a concatenation of environmentId and solution name, from now on, with removal ofsolution_name
this is going to be environmentid and soltuionIdSolution File Path Updates:
solution_file
path to use a static file nameTerraformTestSolution_Complex_1_1_0_0.zip
instead of a variable-based name indocs/resources/solution.md
andexamples/resources/powerplatform_solution/resource.tf
. [1] [2]Environment URL Handling:
GetEnvironmentUrlById
withGetEnvironmentHostById
ininternal/powerplatform/services/authorization/api_user.go
andinternal/powerplatform/services/data_record/api_data_record.go
to handle environment URLs more efficiently. [1] [2]Password Security Enhancements:
docs/resources/user.md
,examples/resources/powerplatform_user/resource.tf
, and various test files. [1] [2] [3]Testing and Mock Updates:
TestUnitTestProtoV6ProviderFactories
andTestAccProtoV6ProviderFactories
ininternal/powerplatform/mocks/mocks.go
to ensure proper test setup. [1] [2]Code Cleanup:
DEFAULT_REQUEST_TIMEOUT_IN_MINUTES
ininternal/powerplatform/constants/constants.go
. [1] [2]