You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
│ Error: updating auto-provisioning setting for Auto Provisioning Setting: (Name "default"): security.AutoProvisioningSettingsClient#Create: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="Deprecated" Message="Log Analytics auto provisioning is deprecated and can no longer be enabled."
2460│
2461│ with module.sece.azurerm_security_center_auto_provisioning.seccen,
2462│ on sece/main.tf line 10, in resource "azurerm_security_center_auto_provisioning""seccen":
2463│ 10: resource "azurerm_security_center_auto_provisioning""seccen" {
2464│
2465╵
2466Error: Terraform exited with code 1.
2467Error: Process completed with exit code 1.
Expected Behaviour
the resource should be created without any error
Actual Behaviour
Can't create the resource because I think internally the provider tries to enable log analytics agent autoprovisioning which will be deprecated by November 2024 info
Steps to Reproduce
user azurerm version 3.97.1
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Thanks for raising this issue. TF doesn't enable Log Analytics auto provisioning in the request payload. Seems there is some issue on service API side. Suggest file Azure Support Ticket.
Below is the request payload:
PUT https://management.azure.com/subscriptions/<subscriptionId>/providers/Microsoft.Security/autoProvisioningSettings/default
{
"properties": {
"autoProvision": "On"
}
}
Is there an existing issue for this?
Community Note
Terraform Version
1.7.5
AzureRM Provider Version
3.97.1
Affected Resource(s)/Data Source(s)
azurerm_security_center_auto_provisioning
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
the resource should be created without any error
Actual Behaviour
Can't create the resource because I think internally the provider tries to enable log analytics agent autoprovisioning which will be deprecated by November 2024 info
Steps to Reproduce
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: