admin管理员组文章数量:1396858
currently In my container app i am using sp based authentication with ACR by providing the username/password like below.
registry {
server = var.acr_registry_name
username = var.acr_sp_id
password_secret_name = "acr-pass"
}
Now wanted to use the Managed identity authentication. I have code like below. With this getting error
"message":"Failed
to provision revision for container app 'container-app-dev'.
Error details: The following field(s) are either invalid or missing. Field
'configuration.Registries.devacr.azurecr.io.Identity' is
invalid with details: 'Invalid value: \"SystemAssigned\": Managed Identity
does not exist';.."},"startTime":"2025-03-26T11:46:32.5140204"}
It works perfectly well with manual setup but not with terraform code. Any open BUGS or am i missing something.
currently In my container app i am using sp based authentication with ACR by providing the username/password like below.
registry {
server = var.acr_registry_name
username = var.acr_sp_id
password_secret_name = "acr-pass"
}
Now wanted to use the Managed identity authentication. I have code like below. With this getting error
"message":"Failed
to provision revision for container app 'container-app-dev'.
Error details: The following field(s) are either invalid or missing. Field
'configuration.Registries.devacr.azurecr.io.Identity' is
invalid with details: 'Invalid value: \"SystemAssigned\": Managed Identity
does not exist';.."},"startTime":"2025-03-26T11:46:32.5140204"}
It works perfectly well with manual setup but not with terraform code. Any open BUGS or am i missing something.
Share Improve this question edited Mar 28 at 3:38 Vinay B 2,7512 gold badges3 silver badges12 bronze badges Recognized by Microsoft Azure Collective asked Mar 26 at 12:38 CoderCoder 17112 bronze badges 01 Answer
Reset to default 0After updating code like below, it's started working fine.
registry {
server = var.acr_registry_name
identity = "system"
}
If proper documentation were provided from hashicorp would been better.
本文标签: azureEnable System managed identity for ACR integrationStack Overflow
版权声明:本文标题:azure - Enable System managed identity for ACR integration - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744144692a2592780.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论