-
Notifications
You must be signed in to change notification settings - Fork 15
Eduardodfmex/718 example resource powerplatform enterprise policy doesn't work #728
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
Draft
eduardodfmex
wants to merge
17
commits into
main
Choose a base branch
from
eduardodfmex/718-example-resource-powerplatform_enterprise_policy-dosent-work
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Eduardodfmex/718 example resource powerplatform enterprise policy doesn't work #728
eduardodfmex
wants to merge
17
commits into
main
from
eduardodfmex/718-example-resource-powerplatform_enterprise_policy-dosent-work
Conversation
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
I need to run a final terraform apply and destroy. |
…prise_policy resource
…orm_enterprise_policy-dosent-work
…orm_enterprise_policy-dosent-work
…orm_enterprise_policy-dosent-work
…cy resources for encryption and network injection
…orm_enterprise_policy-dosent-work
…prise policy examples
…d network injection
…orm_enterprise_policy-dosent-work
…orm_enterprise_policy-dosent-work
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 refactors and updates Terraform configurations for Power Platform enterprise policies by modularizing variable definitions, upgrading provider versions, and restructuring resources. The most significant changes include moving variable definitions to separate files, upgrading required provider versions, and restructuring the
network_injection
policy to improve modularity and maintainability.Provider Updates
main.tf
files across multiple modules to ensure compatibility and leverage new features:powerplatform
upgraded to~>3.5.0
. [1] [2] [3]azapi
upgraded to~>2.2.0
. [1] [2]azurerm
upgraded to~>4.16.0
. [1] [2]time
provider with version>= 0.7.0
inencryption/main.tf
.Variable Refactoring
main.tf
to dedicatedvariables.tf
files for better modularity and reusability:encryption
module variables moved tovariables.tf
.network_injection
module variables moved tovariables.tf
.Resource and Module Restructuring
network_injection
policy:powerplatform_enterprise_policy
resource fromnetwork_injection/main.tf
.powerplatform_enterprise_policy
resource inresource.tf
to centralize policy creation.network_injection
module to excludeenvironment_id
.Outputs
network_injection
module for better visibility of created resources:policy_system_id
andpolicy_id
outputs defined inoutputs.tf
.