Open colinoly opened 1 month ago
Hi @colinoly thanks for opening this issue. I would like to explain that Terraform manages Azure resources through the Azure rest API, and the above error is returned by the rest API instead of Terraform. In addition, after checking the rest API, the possible values for the extension name are listed as AgentlessDiscoveryForKubernetes
, OnUploadMalwareScanning
,SensitiveDataDiscovery
and ContainerRegistriesVulnerabilityAssessments
. Given the unknown extension names are not listed in the supported values, I assume that the actual behaviour is expected. It is recommended to contact Microsoft support for information on how to enable the expected extensions by the rest API.
Is there an existing issue for this?
Community Note
Terraform Version
1.7.3
AzureRM Provider Version
3.81.0
Affected Resource(s)/Data Source(s)
azurerm_security_center_subscription_pricing
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Defender for Cloud settings configured as defined
Actual Behaviour
Extension names not known
Steps to Reproduce
Important Factoids
No response
References
https://techcommunity.microsoft.com/t5/microsoft-defender-for-cloud/deploy-microsoft-defender-for-cloud-via-terraform/ba-p/3563710