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

powerplatform_analytics_data_export resource #486

Open
10 tasks
mattdot opened this issue Oct 3, 2024 · 0 comments
Open
10 tasks

powerplatform_analytics_data_export resource #486

mattdot opened this issue Oct 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request resource terraform resource
Milestone

Comments

@mattdot
Copy link
Member

mattdot commented Oct 3, 2024

Description

powerplatform_analytics_data_export resource allows configuring export of analytics / telemetry data from various power platform services to app insights or data lake.

Resource

Potential Terraform Configuration

# Sample Terraform config that describes how the new resource might look.

resource "powerplatform_analytics_data_export" "dataverse_to_appinsights" {
  name = "example"
  environment_id = "<guid>"
  provider = "CloudFlow" # Dataverse | CloudFlow | PowerApps

  # easy to use
  scenarios = {
    dataverse_dependencies_plugin_executions = true
    dataverse_dependencies_sdk_executions = false
    dataverse_exceptions_plugin_executions = false
  }

  # Alternative Approach ... easy to maintain
  scenarios = ["", "", ""]
   
  app_insights = {
        resource_group_name = ""
        resource_name = ""
        subscription_id=""
        app_insights_key=""
    }
}

resource "powerplatform_analytics_data_export" "powerapp_to_datalake" {
   provider = "PowerApps" # PowerApps | CloudFlow
   data_lake = {
      resource_group_name = ""
      resource_name = ""  # the storage account name
      azure_subscription_id=""
   }
}

Definition of Done

  • Data Transfer Objects (dtos)
  • Data Client functions
  • Resource Implementation
  • Resource Added to Provider
  • Unit Tests for Happy Path
  • Unit Tests for error path
  • Acceptance Tests
  • Example in the /examples folder
  • Schema Documentation in code
  • Updated auto-generated provider docs with make docs

Contributions

Do you plan to raise a PR to address this issue? YES / NO?

See the contributing guide for more information about what's expected for contributions.

@mattdot mattdot added enhancement New feature or request resource terraform resource labels Oct 3, 2024
@mattdot mattdot added this to the P0 milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resource terraform resource
Projects
None yet
Development

No branches or pull requests

2 participants