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

add subplan and CosmosDBs support to azurerm_security_center_subscription_pricing #17548

Open
1 task done
fgarcia-cnb opened this issue Jul 7, 2022 · 2 comments
Open
1 task done

Comments

@fgarcia-cnb
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • 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 "+1" or "me too" comments, 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

Description

azure api supports a subplan parameter for some pricing tiers. it also supports new pricingTier for CosmosDBs: https://docs.microsoft.com/en-us/rest/api/securitycenter/pricings/list

New or Affected Resource(s)/Data Source(s)

azurerm_security_center_subscription_pricing

Potential Terraform Configuration

No response

References

No response

@grillba
Copy link

grillba commented Nov 29, 2022

subplan added to 3.32.0 as part of #19273

@simschere
Copy link

@grillba My understanding is that CosmosDB is not considered as a subplan by Microsoft but as a resource_type and therefore not part of #19273. By running the following Azure CLI command az security pricing create I can see the following:
{ "freeTrialRemainingTime": "0:00:00", "id": "/subscriptions/<subscriptionID>/providers/Microsoft.Security/pricings/CosmosDbs", "name": "CosmosDbs", "pricingTier": "Free", "type": "Microsoft.Security/pricings" },

Is there another fix available?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants