Skip to content

r/application_insights: support for the Workspace modelΒ #7667

@ghost

Description

This issue was originally opened by @klainn as hashicorp/terraform#25533. It was migrated here as a result of the provider split. The original body of the issue is below.


Current Terraform Version

Terraform v0.12.25
+ provider.azurerm v2.17.0

Use-cases

I am attempting to bind a new application insights resource to a pre-existing log analytics workspace for log consolidation and query.

Attempted Solutions

I attempted to look through the Terraform documentation for how to change Resource mode from classic to workspace-based (which is in tech preview) but there appears to currently be no such option.

Proposal

Extend the azurerm_application_insights resource to allow for a resource_mode directive which would allow for a no options classic mode (today) and a workspace-based option which would take in the current subscription and the id of the log analytics workspace.

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions