-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTerraform-Test-4.tf
39 lines (33 loc) · 1.23 KB
/
Terraform-Test-4.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
data "azurerm_resource_group" "example" {
name = "stephyen-resg1" # may need to change to match your resource group name
}
resource "azurerm_storage_account" "example1" {
name = "storageaccstephy1"
resource_group_name = data.azurerm_resource_group.example.name
location = data.azurerm_resource_group.example.location
account_tier = "Standard"
account_replication_type = "GRS"
tags = {
environment = "staging"
}
}
resource "azurerm_storage_account" "example2" {
name = "storageaccstephy2"
resource_group_name = data.azurerm_resource_group.example.name
location = data.azurerm_resource_group.example.location
account_tier = "Standard"
account_replication_type = "GRS"
tags = {
environment = "staging"
}
}
resource "azurerm_storage_account" "example3" {
name = "storageaccstephy6"
resource_group_name = data.azurerm_resource_group.example.name
location = data.azurerm_resource_group.example.location
account_tier = "Standard"
account_replication_type = "GRS"
tags = {
environment = "staging"
}
}