This pull request introduces a new resource for managing Power Platform admin applications, along with several supporting changes to the codebase and documentation.
New Resource Implementation:
New Resource for Admin Management Application:
Added a new resource powerplatform_admin_management_application to manage admin applications in Power Platform. This includes the schema, CRUD operations, and import support. (internal/powerplatform/services/admin_management_application/resource_admin_management_application.go, internal/powerplatform/services/admin_management_application/model_admin_management_application.go, internal/powerplatform/services/admin_management_application/api_admin_management_application.go) [1][2][3]
Updated the provider to include the new resource. (internal/powerplatform/provider/provider.go) [1][2]
Documentation and Examples:
Documentation:
Added documentation for the new powerplatform_admin_management_application resource. (docs/resources/admin_management_application.md)
Examples:
Added example usage and import scripts for the new resource. (examples/resources/powerplatform_admin_management_application/resource.tf, examples/resources/powerplatform_admin_management_application/import.sh) [1][2]
Development Environment:
Devcontainer Configuration:
Updated the .devcontainer/devcontainer.json to include new environment variables required for the CLI. (.devcontainer/devcontainer.json)
VSCode Tasks:
Added a new VSCode task for installing dependencies using make install. (.vscode/tasks.json)
Testing:
Unit and Acceptance Tests:
Added unit and acceptance tests for the new resource. (internal/powerplatform/services/admin_management_application/resource_admin_management_application_test.go)
Makefile:
Modified the Makefile to support running specific unit and acceptance tests. (makefile)
These changes collectively introduce a new resource to manage Power Platform admin applications, enhance the development environment, and ensure comprehensive testing and documentation.This commit adds a new import script and model for the powerplatform_admin_management_application resource. The import script allows already registered admin management applications to be imported using the client id of a service principal. The model defines the structure of the admin management applicatio
This pull request introduces a new resource for managing Power Platform admin applications in Terraform. The changes include documentation updates, example usage, and the implementation of the resource and its associated client.
Documentation and Examples:
Added new documentation for the powerplatform_admin_management_application resource, including example usage and schema details. (docs/resources/admin_management_application.md)
Added example script for importing an existing admin management application using Terraform. (examples/resources/powerplatform_admin_management_application/import.sh)
Added example Terraform configuration for the new resource. (examples/resources/powerplatform_admin_management_application/resource.tf)
Resource and Client Implementation:
Imported the new admin_management_application service in the provider. (internal/powerplatform/provider/provider.go) [1][2]
Implemented the client for the admin_management_application service, including methods for registering, reading, and unregistering admin applications. (internal/powerplatform/services/admin_management_application/api_admin_management_application.go)
Defined the data model for the admin_management_application resource. (internal/powerplatform/services/admin_management_application/model_admin_management_application.go)
Implemented the resource logic for creating, reading, deleting, and importing admin management applications. (internal/powerplatform/services/admin_management_application/resource_admin_management_application.go)n DTO.
This pull request introduces a new resource for managing Power Platform admin applications, along with several supporting changes to the codebase and documentation.
New Resource Implementation:
powerplatform_admin_management_application
to manage admin applications in Power Platform. This includes the schema, CRUD operations, and import support. (internal/powerplatform/services/admin_management_application/resource_admin_management_application.go
,internal/powerplatform/services/admin_management_application/model_admin_management_application.go
,internal/powerplatform/services/admin_management_application/api_admin_management_application.go
) [1] [2] [3]internal/powerplatform/provider/provider.go
) [1] [2]Documentation and Examples:
powerplatform_admin_management_application
resource. (docs/resources/admin_management_application.md
)examples/resources/powerplatform_admin_management_application/resource.tf
,examples/resources/powerplatform_admin_management_application/import.sh
) [1] [2]Development Environment:
.devcontainer/devcontainer.json
to include new environment variables required for the CLI. (.devcontainer/devcontainer.json
)make install
. (.vscode/tasks.json
)Testing:
internal/powerplatform/services/admin_management_application/resource_admin_management_application_test.go
)Makefile
to support running specific unit and acceptance tests. (makefile
)These changes collectively introduce a new resource to manage Power Platform admin applications, enhance the development environment, and ensure comprehensive testing and documentation.This commit adds a new import script and model for the powerplatform_admin_management_application resource. The import script allows already registered admin management applications to be imported using the client id of a service principal. The model defines the structure of the admin management applicatio This pull request introduces a new resource for managing Power Platform admin applications in Terraform. The changes include documentation updates, example usage, and the implementation of the resource and its associated client.
Documentation and Examples:
powerplatform_admin_management_application
resource, including example usage and schema details. (docs/resources/admin_management_application.md
)examples/resources/powerplatform_admin_management_application/import.sh
)examples/resources/powerplatform_admin_management_application/resource.tf
)Resource and Client Implementation:
admin_management_application
service in the provider. (internal/powerplatform/provider/provider.go
) [1] [2]admin_management_application
service, including methods for registering, reading, and unregistering admin applications. (internal/powerplatform/services/admin_management_application/api_admin_management_application.go
)admin_management_application
resource. (internal/powerplatform/services/admin_management_application/model_admin_management_application.go
)internal/powerplatform/services/admin_management_application/resource_admin_management_application.go
)n DTO.