@@ -3,7 +3,7 @@ title: Tutorial - Create and manage budgets
3
3
description : This tutorial helps you plan and account for the costs of Azure services that you consume.
4
4
author : bandersmsft
5
5
ms.author : banders
6
- ms.date : 02/26 /2024
6
+ ms.date : 03/22 /2024
7
7
ms.topic : tutorial
8
8
ms.service : cost-management-billing
9
9
ms.subservice : cost-management
@@ -249,20 +249,20 @@ provider "azurerm" {
249
249
}
250
250
```
251
251
252
- 1 . Select an Azure subscription: Specify the subscription ID in the provider configuration or via environment variables.
252
+ 2 . Select an Azure subscription: Specify the subscription ID in the provider configuration or via environment variables.
253
253
```
254
254
data "azurerm_subscription" "example" {}
255
255
```
256
256
257
- 1 . Create a resource group.
257
+ 3 . Create a resource group.
258
258
```
259
259
resource "azurerm_resource_group" "example" {
260
260
name = "example-resources"
261
261
location = "West Europe"
262
262
}
263
263
264
264
```
265
- 1 . Set up an action group for notifications.
265
+ 4 . Set up an action group for notifications.
266
266
267
267
```
268
268
resource "azurerm_monitor_action_group" "example" {
@@ -279,7 +279,7 @@ resource "azurerm_monitor_action_group" "example" {
279
279
280
280
```
281
281
282
- 1 . Create a storage account.
282
+ 5 . Create a storage account.
283
283
```
284
284
resource "azurerm_storage_account" "example" {
285
285
name = "examplestoracc"
@@ -291,15 +291,15 @@ resource "azurerm_storage_account" "example" {
291
291
292
292
```
293
293
294
- 1 . Create a storage container.
294
+ 6 . Create a storage container.
295
295
```
296
296
resource "azurerm_storage_container" "example" {
297
297
name = "examplecontainer"
298
298
storage_account_name = azurerm_storage_account.example.name
299
299
}
300
300
```
301
301
302
- 1 . Set up subscription cost management export.
302
+ 7 . Set up subscription cost management export.
303
303
```
304
304
resource "azurerm_subscription_cost_management_export" "example" {
305
305
name = "exampleexport"
@@ -321,7 +321,7 @@ resource "azurerm_subscription_cost_management_export" "example" {
321
321
322
322
```
323
323
324
- 1 . Apply the terraform configuration
324
+ 8 . Apply the terraform configuration
325
325
326
326
Here's the full code if you'd like to modify it directly from source instead of piecing it together through the steps.
327
327
0 commit comments