Skip to content

Commit 0046be7

Browse files
authored
Merge pull request #2 from kumarvna/develop
Module updated to support latest azure provider
2 parents c63ac08 + 36093ad commit 0046be7

File tree

14 files changed

+36
-20
lines changed

14 files changed

+36
-20
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ These types of resources are supported:
2222
```hcl
2323
module "storage" {
2424
source = "kumarvna/storage/azurerm"
25-
version = "2.1.0"
25+
version = "2.2.0"
2626
2727
# By default, this module will not create a resource group
2828
# proivde a name to use an existing resource group, specify the existing resource group name,
@@ -114,7 +114,7 @@ The default action set to `Allow` when no network rules matched. A `subnet_ids`
114114
```hcl
115115
module "storage" {
116116
source = "kumarvna/storage/azurerm"
117-
version = "2.1.0"
117+
version = "2.2.0"
118118
119119
# .... omitted
120120
@@ -147,7 +147,7 @@ This module supports the implementation of storage lifecycle management. If spec
147147
```hcl
148148
module "storage" {
149149
source = "kumarvna/storage/azurerm"
150-
version = "2.1.0"
150+
version = "2.2.0"
151151
152152
# .... omitted
153153
@@ -208,7 +208,7 @@ End Date of the Project|Date when this application, workload, or service is plan
208208
```hcl
209209
module "key-vault" {
210210
source = "kumarvna/storage/azurerm"
211-
version = "2.1.0"
211+
version = "2.2.0"
212212
213213
# ... omitted
214214
@@ -227,13 +227,13 @@ module "key-vault" {
227227
| Name | Version |
228228
|------|---------|
229229
| terraform | >= 0.13 |
230-
| azurerm | ~> 2.27 |
230+
| azurerm | >= 2.59.0 |
231231

232232
## Providers
233233

234234
| Name | Version |
235235
|------|---------|
236-
| azurerm | ~> 2.27 |
236+
| azurerm | >= 2.59 |
237237
| random | n/a |
238238

239239
## Inputs
@@ -246,6 +246,7 @@ Name | Description | Type | Default
246246
`account_kind`|General-purpose v2 accounts: Basic storage account type for blobs, files, queues, and tables.|string|`"StorageV2"`
247247
`skuname`|The SKUs supported by Microsoft Azure Storage. Valid options are Premium_LRS, Premium_ZRS, Standard_GRS, Standard_GZRS, Standard_LRS, Standard_RAGRS, Standard_RAGZRS, Standard_ZRS|string|`Standard_RAGRS`
248248
`access_tier`|Defines the access tier for BlobStorage and StorageV2 accounts. Valid options are Hot and Cool.|string|`"Hot"`
249+
`min_tls_version`|The minimum supported TLS version for the storage account. Possible values are `TLS1_0`, `TLS1_1`, and `TLS1_2` |string|`"TLS1_2"`
249250
`assign_identity`|Set to `true` to enable system-assigned managed identity, or `false` to disable it.|string|`true`
250251
`soft_delete_retention`|Number of retention days for soft delete. If set to null it will disable soft delete all together.|number|`30`
251252
`enable_advanced_threat_protection`|Controls Advance threat protection plan for Storage account!string|`false`

examples/complete/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This example is to create a storage account with containers, SMB file shares, ta
55
```hcl
66
module "storage" {
77
source = "kumarvna/storage/azurerm"
8-
version = "2.1.0"
8+
version = "2.2.0"
99
1010
# By default, this module will not create a resource group
1111
# proivde a name to use an existing resource group, specify the existing resource group name,

examples/complete/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "storage" {
22
source = "kumarvna/storage/azurerm"
3-
version = "2.1.0"
3+
version = "2.2.0"
44

55
# By default, this module will not create a resource group
66
# proivde a name to use an existing resource group, specify the existing resource group name,

examples/complete/output.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,19 @@ output "storage_account_primary_web_host" {
4141
output "storage_primary_connection_string" {
4242
description = "The primary connection string for the storage account."
4343
value = module.storage.storage_primary_connection_string
44+
sensitive = true
4445
}
4546

4647
output "storage_primary_access_key" {
4748
description = "The primary access key for the storage account."
4849
value = module.storage.storage_primary_access_key
50+
sensitive = true
4951
}
5052

5153
output "storage_secondary_access_key" {
5254
description = "The secondary access key for the storage account."
5355
value = module.storage.storage_secondary_access_key
56+
sensitive = true
5457
}
5558

5659
output "containers" {

examples/storage_account_with_containers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Simple configuration to create a Azure storage account with Containers.
77
```hcl
88
module "storage" {
99
source = "kumarvna/storage/azurerm"
10-
version = "2.1.0"
10+
version = "2.2.0"
1111
1212
# By default, this module will not create a resource group
1313
# proivde a name to use an existing resource group, specify the existing resource group name,

examples/storage_account_with_containers/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "storage" {
22
source = "kumarvna/storage/azurerm"
3-
version = "2.1.0"
3+
version = "2.2.0"
44

55
# By default, this module will not create a resource group
66
# proivde a name to use an existing resource group, specify the existing resource group name,

examples/storage_account_with_containers/output.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,19 @@ output "storage_account_primary_web_host" {
4141
output "storage_primary_connection_string" {
4242
description = "The primary connection string for the storage account."
4343
value = module.storage.storage_primary_connection_string
44+
sensitive = true
4445
}
4546

4647
output "storage_primary_access_key" {
4748
description = "The primary access key for the storage account."
4849
value = module.storage.storage_primary_access_key
50+
sensitive = true
4951
}
5052

5153
output "storage_secondary_access_key" {
5254
description = "The secondary access key for the storage account."
5355
value = module.storage.storage_secondary_access_key
56+
sensitive = true
5457
}
5558

5659
output "containers" {

examples/storage_account_with_fileshares/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "storage" {
22
source = "kumarvna/storage/azurerm"
3-
version = "2.1.0"
3+
version = "2.2.0"
44

55
# By default, this module will not create a resource group
66
# proivde a name to use an existing resource group, specify the existing resource group name,

examples/storage_account_with_fileshares/output.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,19 @@ output "storage_account_primary_web_host" {
4141
output "storage_primary_connection_string" {
4242
description = "The primary connection string for the storage account."
4343
value = module.storage.storage_primary_connection_string
44+
sensitive = true
4445
}
4546

4647
output "storage_primary_access_key" {
4748
description = "The primary access key for the storage account."
4849
value = module.storage.storage_primary_access_key
50+
sensitive = true
4951
}
5052

5153
output "storage_secondary_access_key" {
5254
description = "The secondary access key for the storage account."
5355
value = module.storage.storage_secondary_access_key
56+
sensitive = true
5457
}
5558

5659
output "file_shares" {

graph.png

140 KB
Loading

0 commit comments

Comments
 (0)