-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 Support for Export Cost Management data to secure storage accounts with firewall #23962
Comments
Thank you for taking the time to open this feature request! |
Any updates on this? We faced exactly the same issue. It works fine while creating manually. Tested with 3.84.0 and latest one |
This comment was marked as duplicate.
This comment was marked as duplicate.
As I wanna get updates to this issue - i put myself in as commenter- this issue is blocking us - so would be awesome if someone has a solution or workaround |
This comment was marked as off-topic.
This comment was marked as off-topic.
In my experience, this only works only by using |
Do you have any examples of how to do this? We are attempting to create the resource programmatically |
Well, I had an example like
But it does not apply in our CI/CD because of Azure/terraform-provider-azapi#575, which I hope is fixed with Azure/terraform-provider-azapi#616 (but not yet released) |
Is there an existing issue for this?
Community Note
Description
At September 12, 2023 Microsoft announced that it is possible to send the cost export data to a storage account behind a firewall.
https://azure.microsoft.com/en-us/updates/exportbehindfirewallga/
With the current provider version: 3.81.0 it is not possible to configure it.
Error: creating Scoped Export (Scope: "/subscriptions/***" │ Export Name: "exportname"): unexpected status 400 with error: 400: The exports service is not authorized to access the specified storage account 'storageaccountname'. For more information see: https://go.microsoft.com/fwlink/?linkid=2127915 │ │ with azurerm_subscription_cost_management_export.cost_export["costexportname"], │ on cost-export.tf line 48, in resource "azurerm_subscription_cost_management_export" "cost_export": │ 48: resource "azurerm_subscription_cost_management_export" "cost_export" *** │ │ creating Scoped Export (Scope: │ "/subscriptions/***" │ Export Name: "exportname"): unexpected status 400 with error: 400: The exports │ service is not authorized to access the specified storage account
New or Affected Resource(s)/Data Source(s)
azurerm_subscription_cost_management_export
Potential Terraform Configuration
No response
References
No response
The text was updated successfully, but these errors were encountered: