-
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
azurerm_security_center_subscription_pricing does not enable pricing for all resource types #4846
Comments
This comment has been minimized.
This comment has been minimized.
Looked into this a bit more. This actually appears to be a limitation that applies to several clients, when I create a new pricing from the Azure command line I see the same behavior. I'm unable to find an option at this time other than through the Azure portal to turn on all resources. |
From testing this page (https://docs.microsoft.com/en-us/rest/api/securitycenter/pricings) though it is supported in the underlying API with different pricingName values (e.g. KeyVaults, StorageAccounts, VirtualMachines, etc) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This has been released in version 2.31.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.31.0"
}
# ... other configuration ... |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Description
Hi,
I'm using azurerm_security_center_subscription_pricing to enable Standard pricing for Azure Security Center. But this does not enable the Standard pricing tier for all the resource types under subscription. Security Center -> Pricing & Settings -> Pricing Tier, the plan is Disabled for resources apart from virtual machines.
The case can be reproduced as follows:
It would also be great to enable/disable resource types individually.
Thanks.
The text was updated successfully, but these errors were encountered: