Azure / terraform-azurerm-avm-res-machinelearningservices-workspace

AVM Module for Azure Machine learning workspaces.
MIT License
9 stars 9 forks source link

[AVM Module Issue]: Add support for v2 of the azapi provider #86

Open maniSbindra opened 1 week ago

maniSbindra commented 1 week ago

Check for previous/existing GitHub issues

Issue Type?

Bug

(Optional) Module Version

No response

(Optional) Correlation Id

No response

Description

This AVM module only supports versions of azapi provider < 2, However versions of azapi provider < 2.0.1 , do not support oidc authentication supported in github actions and Azure Pipelines, and error similar to below error is received. To add the support the azapi version needs to be changed to version = ">= 1.14, < 3" . This exact fix has been done among other AVMs, in the Virtual Network AVM in version 0.6.0, and also in https://github.com/Azure/terraform-azurerm-avm-res-operationalinsights-workspace/issues/100 . It will be great if this support can be added at the earliest.

Sample Error received from github workflow using oidc / Azure federation:

GET http://169.254.169.254/metadata/identity/oauth2/token │ -------------------------------------------------------------------------------- │ RESPONSE 400 Bad Request │ -------------------------------------------------------------------------------- │ { │ "error": "invalid_request", │ "error_description": "Identity not found" │ }

Thanks, Mani

microsoft-github-policy-service[bot] commented 3 days ago

[!WARNING] Tagging the AVM Core Team (@Azure/avm-core-team-technical-terraform) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

[!TIP]

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage :mag:" label must be removed as part of the triage process (when the issue is first responded to)!