Skip to content

[AVM Module Issue]: General Issue with Diagnostic settings #5614

Open
@awood-ops

Description

@awood-ops

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Description

I've been deploying diagnostic settings across multiple modules fine until today, but now I can't seem to deploy with the diagnostic settings on. This has happened to me in two different tenant with different modules

Just wondering if this some new issue or if others are experiencing it?

'br/public:avm/res/web/site:0.16.0'
'br/public:avm/res/key-vault/vault:0.13.0'
'br/public:avm/res/storage/storage-account:0.20.0'

New-AzDeployment:
InvalidTemplate - Long running operation failed with status 'Failed'. Additional Info:'Deployment template validation failed: 'The template resource 'app_diagnosticSettings[0]' at line '1' and column '160415' is not valid: The template function 'copyIndex' is not valid. Please see https://aka.ms/arm-functions for usage details.. Please see https://aka.ms/arm-functions for usage details.'.'

New-AzDeployment:
InvalidTemplate - Long running operation failed with status 'Failed'. Additional Info:'Deployment template validation failed: 'The template resource 'storageAccount_diagnosticSettings[0]' at line '1' and column '539698' is not valid: The template function 'copyIndex' is not valid. Please see https://aka.ms/arm-functions for usage details.. Please see https://aka.ms/arm-functions for usage details.'.'

New-AzDeployment:
InvalidTemplate - Long running operation failed with status 'Failed'. Additional Info:'Deployment template validation failed: 'The template resource 'keyVault_diagnosticSettings[0]' at line '1' and column '416565' is not valid: The template function 'copyIndex' is not valid. Please see https://aka.ms/arm-functions for usage details.. Please see https://aka.ms/arm-functions for usage details.'.'

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions