diff --git a/avm/res/container-registry/registry/README.md b/avm/res/container-registry/registry/README.md index 55815c1a15b..3a6b3ffa735 100644 --- a/avm/res/container-registry/registry/README.md +++ b/avm/res/container-registry/registry/README.md @@ -479,11 +479,10 @@ module registry 'br/public:avm/res/container-registry/registry:' = { scopeMaps: [ { actions: [ - 'repositories/repository-name/content/read' - 'repositories/repository-name/metadata/write' + 'repositories/*/content/read' ] description: 'This is a test for scopeMaps feature.' - name: 'rw' + name: 'testscopemap' } ] } diff --git a/avm/res/container-registry/registry/tests/e2e/scope/main.test.bicep b/avm/res/container-registry/registry/tests/e2e/scope/main.test.bicep index ac24d8bc0a1..0fa23ae7ec5 100644 --- a/avm/res/container-registry/registry/tests/e2e/scope/main.test.bicep +++ b/avm/res/container-registry/registry/tests/e2e/scope/main.test.bicep @@ -46,10 +46,9 @@ module testDeployment '../../../main.bicep' = [ acrSku: 'Standard' scopeMaps: [ { - name: 'rw' + name: 'testscopemap' actions: [ - 'repositories/repository-name/content/read' - 'repositories/repository-name/metadata/write' + 'repositories/*/content/read' ] description: 'This is a test for scopeMaps feature.' }