Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource providers related to diagnosticsettings not available #992

Closed
akata72 opened this issue Nov 24, 2020 · 3 comments
Closed

Resource providers related to diagnosticsettings not available #992

akata72 opened this issue Nov 24, 2020 · 3 comments

Comments

@akata72
Copy link

akata72 commented Nov 24, 2020

Bicep version
0.2.59

Describe the bug
We have several Azure resources that have diagnostics deployed typically in the form below, but I can't find a way to reference these using bicep. i.e
// "type": "Microsoft.KeyVault/vaults/providers/diagnosticsettings"
// "type": "Microsoft.Network/loadBalancers/providers/diagnosticSettings",

Not sure if this is a bug or if these resources should be referenced using a different provider (i.e microsoft.insights/diagnosticSettings).

To Reproduce
Try adding it.

@ghost ghost added the Needs: Triage 🔍 label Nov 24, 2020
@slavizh
Copy link
Contributor

slavizh commented Nov 24, 2020

Duplicate #784

@anthony-c-martin
Copy link
Member

This should also be covered by #870. As you mentioned, the true type of the resources you're trying to deploy is "Microsoft.Insights/diagnosticSettings" which does technically have types available - there's just no syntax to declare that resource as an extension of another resource in Bicep today.

@alex-frankel
Copy link
Collaborator

Closing as dup

@ghost ghost locked as resolved and limited conversation to collaborators May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants