-
Notifications
You must be signed in to change notification settings - Fork 0
/
Terraform-Test-3.tf
39 lines (34 loc) · 1002 Bytes
/
Terraform-Test-3.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
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "3.41.0"
}
}
}
provider "azurerm" {
features {}
}
data "azurerm_resource_group" "example" {
name = "stephyen-resg1"
}
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"
}
}