-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Deprecation warning favors unknown resource #17859
Comments
Hi @wernerfred , could you try azurerm_security_center_server_vulnerability_assessment_virtual_machine to see if it fits your request? Here is the link https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/security_center_server_vulnerability_assessment_virtual_machine Maybe we dont need to add a new resource but to modify the deprecation warning. |
Since we haven't supported Hybrid Virtual Machines yet (#15990). I think we could modify doc and warning line in code to say 'This resource has been deprecated in favour of the 'azurerm_security_center_server_vulnerability_assessment_virtual_machine' resource' |
PR raised to fix this: #17874 |
The new resource So your linked PR that changes the description is the best solution! Thx for fast response and action |
@wernerfred Thanks for taking the time to submit this issue. It looks like this has been resolved as of #17874. As such, I am going to mark this issue as closed. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.2.5
AzureRM Provider Version
3.15.1
Affected Resource(s)/Data Source(s)
azurerm_security_center_server_vulnerability_assessment
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The deprecation warning should reference an existing resource. For example instead of
azurerm_security_center_server_vulnerability_assessment
useazurerm_security_center_server_vulnerability_assessment_virtual_machine
Actual Behaviour
The deprecation warning shows that one should use
azurerm_security_center_vm_server_vulnerability_assessment
which isn't available in the registry/providerSteps to Reproduce
No response
Important Factoids
No response
References
#15747
The text was updated successfully, but these errors were encountered: