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

bug: "Microsoft.TimeSeriesInsights" resource provider is deprecated when running agentless scanning module #35

Open
jbonner7 opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jbonner7
Copy link

jbonner7 commented Oct 3, 2024

Describe the bug
When attempting to use the lacework/agentless-scanning/azure module for Azure agentless scanning, I encountered an error related to the Microsoft.TimeSeriesInsights resource provider. It appears that this provider has been retired by Azure, and cannot proceed with running the module.

https://azure.microsoft.com/en-us/updates/we-re-retiring-azure-time-series-insights-on-7-july-2024-transition-to-azure-data-explorer/

Steps to reproduce

  1. Create a main.tf with the following configuration:
    module "lacework_azure_agentless_scanning_subscription_us_west" {
    source = "lacework/agentless-scanning/azure"
    integration_level = "SUBSCRIPTION"
    global = true
    create_log_analytics_workspace = true
    region = "West US"
    scanning_subscription_id = "123456789"
    tenant_id = "a3fdfdfdfdffddfbdfbdb"
    }

  2. Run the following command:
    terraform init
    terraform apply

  3. Error: "Microsoft.TimeSeriesInsights" resource provider not returned from the Azure API.

Expected behavior
The module should run without referencing any retired or deprecated Azure resource providers..

Screenshots

image

Please complete the following information):

  • Terraform Version: [v1.9.5 ]
  • Module Version [e.g. v0.13]

Additional context
I verified that there are no direct references to Microsoft.TimeSeriesInsights in the module code, and it seems to be a legacy or indirect dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant