Open robertbor opened 10 months ago
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
any progress? got hit by this too....
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
I am experiencing similar issues on this. Any updates?
In my experience, this only works only by using Microsoft.CostManagement/exports
api version 2023-07-01-preview
, not with the newer version 2023-11-01
(which complains that the storage account is not accessible, even if all prerequisites are fine).
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