Skip to content

enhance powerplatform environment to support get new features early#572

Merged
mawasile merged 42 commits intomainfrom
mawasile/561-enhance-powerplatform_environment-to-support-get-new-features-early
Feb 24, 2025
Merged

enhance powerplatform environment to support get new features early#572
mawasile merged 42 commits intomainfrom
mawasile/561-enhance-powerplatform_environment-to-support-get-new-features-early

Conversation

@mawasile
Copy link
Contributor

@mawasile mawasile commented Feb 5, 2025

This pull request introduces a new feature for managing the release cycle of Power Platform environments, along with several related updates to the configuration and error handling. The most important changes include adding a new release_cycle attribute, updating the configuration to support different cloud types, and enhancing error handling for environment creation.

New Feature: Release Cycle Management

  • .changes/unreleased/added-20250205-135809.yaml: Added support for the new release_cycle attribute to manage early feature releases in Power Platform environments.
  • docs/data-sources/environments.md, docs/resources/environment.md: Documented the new release_cycle attribute, explaining its purpose and providing a link to additional information. [1] [2]
  • internal/services/environment/datasource_environments.go, internal/services/environment/resource_environment.go: Added the release_cycle attribute to the environment schema. [1] [2]

Configuration Updates

  • internal/config/config.go: Introduced new CloudType and CloudTypeConfigurationKey types, along with constants for various cloud types and the release_cycle configuration key. Added methods to retrieve cloud-specific configurations. [1] [2] [3]
  • internal/provider/provider.go: Updated the provider configuration to include the new CloudType attribute and handle different cloud types during configuration.

Error Handling Enhancements

Helper Functions

Data Transfer Objects (DTO)

These changes collectively enhance the configuration and management of Power Platform environments, allowing users to opt into early feature releases and improving error handling during environment creation.

github-actions[bot] and others added 20 commits January 29, 2025 13:17
Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
…-on-behalf-of-developer-environments' of https://github.com/microsoft/terraform-provider-power-platform into mawasile/560-enhance-powerplatform_environment-to-allow-on-behalf-of-developer-environments
…nt-to-allow-on-behalf-of-developer-environments
…-on-behalf-of-developer-environments' of https://github.com/microsoft/terraform-provider-power-platform into mawasile/560-enhance-powerplatform_environment-to-allow-on-behalf-of-developer-environments
…rm_environment-to-allow-on-behalf-of-developer-environments' into mawasile/561-enhance-powerplatform_environment-to-support-get-new-features-early
@mawasile mawasile linked an issue Feb 5, 2025 that may be closed by this pull request
@mawasile mawasile changed the title Mawasile/561 enhance powerplatform environment to support get new features early enhance powerplatform environment to support get new features early Feb 5, 2025
@mawasile mawasile marked this pull request as ready for review February 6, 2025 07:24
@mawasile mawasile self-assigned this Feb 6, 2025
mawasile and others added 3 commits February 11, 2025 15:46
Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
…rt-get-new-features-early' of https://github.com/microsoft/terraform-provider-power-platform into mawasile/561-enhance-powerplatform_environment-to-support-get-new-features-early
mattdot
mattdot previously approved these changes Feb 24, 2025
@mawasile mawasile merged commit f848b55 into main Feb 24, 2025
14 checks passed
@mawasile mawasile deleted the mawasile/561-enhance-powerplatform_environment-to-support-get-new-features-early branch February 24, 2025 22:48
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.

Enhance powerplatform_environment to support "Get new features early"

2 participants