https://pulumi.com logo
#azure
Title
# azure
h

handsome-electrician-96010

02/21/2024, 4:53 PM
Hi all! Does anyone have experience with
containerregistry.Token
? I got the token object created but the passwords are not set. It seems like that
containerregistry.Token
is the terraform equivalent of`azurerm_container_registry_token` but there is no
azurerm_container_registry_token_password
equivalent. I'm running something like
Copy code
const token = new azure_native.containerregistry.Token("token", {
    registryName: "myRegistry",
    resourceGroupName: "myResourceGroup",
    scopeMapId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
    status: "disabled",
    tokenName: "myToken",
});
If I set
credentials.passwords[0]
arguments, the deployment failed with
New passwords can be added only through 'generateCredentials'. For more information on repository permissions, please visit <https://aka.ms/acr/repo-permissions>.
2 Views