Conversation
…te conversion logic to include ownerId
…onments on behalf of a user
…esource configuration
…roup_id validation rules
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
…with new `release_cycle` attribute
…nt-to-support-get-new-features-early
…nt-to-support-get-new-features-early
…nt-to-support-get-new-features-early
…nt-to-support-get-new-features-early
mattdot
requested changes
Feb 10, 2025
Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
…support new API structure
…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
requested changes
Feb 12, 2025
Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
Co-authored-by: Matt Dotson <mattdot@users.noreply.github.com>
…nt-to-support-get-new-features-early
…nt-to-support-get-new-features-early
…source update test
…nt-to-support-get-new-features-early
mattdot
previously approved these changes
Feb 24, 2025
…nt-to-support-get-new-features-early
added 2 commits
February 24, 2025 22:35
mattdot
approved these changes
Feb 24, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 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_cycleattribute, 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 newrelease_cycleattribute to manage early feature releases in Power Platform environments.docs/data-sources/environments.md,docs/resources/environment.md: Documented the newrelease_cycleattribute, 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 therelease_cycleattribute to the environment schema. [1] [2]Configuration Updates
internal/config/config.go: Introduced newCloudTypeandCloudTypeConfigurationKeytypes, along with constants for various cloud types and therelease_cycleconfiguration key. Added methods to retrieve cloud-specific configurations. [1] [2] [3]internal/provider/provider.go: Updated the provider configuration to include the newCloudTypeattribute and handle different cloud types during configuration.Error Handling Enhancements
internal/customerrors/provider_error.go: Added a new error codeERROR_ENVIRONMENT_CREATIONto handle environment creation errors.internal/services/environment/api_environment.go: Enhanced theCreateEnvironmentmethod to handle HTTP 500 errors and return the newERROR_ENVIRONMENT_CREATIONerror code.Helper Functions
internal/helpers/config.go: Added a new helper functionStringPtrto create string pointers.Data Transfer Objects (DTO)
internal/services/environment/dto.go: Updated DTOs to include therelease_cycleattribute and handle the newClusterDtotype for environment clusters. [1] [2] [3]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.