-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #413 from aztfmod/storage-network-rules-fix
Storage Account network rules - fix
- Loading branch information
Showing
3 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
examples/storage_accounts/103-storage-account-network-rules/configuration.tfvars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
global_settings = { | ||
default_region = "region1" | ||
regions = { | ||
region1 = "southeastasia" | ||
} | ||
} | ||
|
||
|
||
resource_groups = { | ||
test = { | ||
name = "test" | ||
} | ||
} | ||
|
||
vnets = { | ||
vnet1 = { | ||
resource_group_key = "test" | ||
vnet = { | ||
name = "test-stg" | ||
address_space = ["10.100.100.0/24"] | ||
} | ||
specialsubnets = {} | ||
subnets = { | ||
subnet1 = { | ||
name = "test-stg" | ||
cidr = ["10.100.100.0/29"] | ||
service_endpoints = ["Microsoft.Storage"] | ||
} | ||
} | ||
|
||
} | ||
} | ||
|
||
# https://docs.microsoft.com/en-us/azure/storage/ | ||
storage_accounts = { | ||
sa1 = { | ||
name = "sa1dev" | ||
resource_group_key = "test" | ||
# Account types are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. Defaults to StorageV2 | ||
account_kind = "BlobStorage" | ||
# Account Tier options are Standard and Premium. For BlockBlobStorage and FileStorage accounts only Premium is valid. | ||
account_tier = "Standard" | ||
# Valid options are LRS, GRS, RAGRS, ZRS, GZRS and RAGZRS | ||
account_replication_type = "LRS" # https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy | ||
tags = { | ||
environment = "dev" | ||
team = "IT" | ||
## | ||
} | ||
network = { | ||
bypass = "None" | ||
subnets = { | ||
subnet1 = { | ||
#lz_key = "" | ||
vnet_key = "vnet1" | ||
subnet_key = "subnet1" | ||
} | ||
} | ||
|
||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters