Azure/terraform-azurerm-lz-vending

Registering Resource Provider without providing a feature fails

stefanstranger opened this issue ยท 1 comments

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

Please paste the output of terraform version command from within the initialized directory:

1.5.7

Please enter the module version that you are using:

v3.4.1

Description

When registering a Resource Provider without specifying a feature fails. Even when providing an empty array for the features.

https://github.com/Azure/terraform-azurerm-lz-vending/tree/main/modules/resourceprovider

It was resolved by correctly configuring the yaml file.

Example:

resource_providers:
    Microsoft.PowerBI:
      - "DailyPrivateLinkServicesForPowerBI"
    Microsoft.Capacity: []