Skip to content

Example Resource "powerplatform_enterprise_policy" dosen't work #718

@eduardodfmex

Description

@eduardodfmex

powerplatform_enterprise_policy resource example dosen't work it has provider errors and depends errors.

The example for the resource "powerplatform_enterprise_policy" dosen't work it has provider errors and depends errors.

│ Error: Failed to query available provider packages

│ Could not retrieve the list of available versions for provider hashicorp/powerplatform: provider registry registry.terraform.io does not have a provider named
│ registry.terraform.io/hashicorp/powerplatform

│ All modules should specify their required_providers so that external consumers will get the correct providers when using a module. To see which modules are currently depending
│ on hashicorp/powerplatform, run the following command:
│ terraform providers

Sample Terraform Code

Link to the resource example:

https://github.com/microsoft/terraform-provider-power-platform/blob/main/examples/resources/powerplatform_enterprise_policy/resource.tf

Expected behavior

Providing the correct credentials and values the resource example should complete the terraform plan and terraform apply.

System Information

  • Provider Version: 3.5.0
  • OS & Version: Windows

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions