Skip to content

Commit fcff1ac

Browse files
author
kumarvna
committed
update module
1 parent 5ff96de commit fcff1ac

File tree

8 files changed

+60
-74
lines changed

8 files changed

+60
-74
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@ module "storage" {
2424
source = "kumarvna/storage/azurerm"
2525
version = "2.0.0"
2626
27-
# By default, this module will create a resource group, proivde the name here
28-
# to use an existing resource group, specify the existing resource group name,
27+
# By default, this module will not create a resource group
28+
# proivde a name to use an existing resource group, specify the existing resource group name,
2929
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
3030
# RG name must follow Azure naming convention.
3131
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
32-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
33-
create_resource_group = false
34-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
35-
location = "westeurope"
36-
storage_account_name = "mydefaultstorage"
32+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
33+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
34+
location = "westeurope"
35+
storage_account_name = "mydefaultstorage"
3736
3837
# To enable advanced threat protection set argument to `true`
3938
enable_advanced_threat_protection = true

examples/README.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ module "storage" {
1111
source = "kumarvna/storage/azurerm"
1212
version = "2.0.0"
1313
14-
# By default, this module will create a resource group, proivde the name here
15-
# to use an existing resource group, specify the existing resource group name,
14+
# By default, this module will not create a resource group
15+
# proivde a name to use an existing resource group, specify the existing resource group name,
1616
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
1717
# RG name must follow Azure naming convention.
1818
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
19-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
20-
create_resource_group = false
21-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
22-
location = "westeurope"
23-
storage_account_name = "mydefaultstorage"
19+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
20+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
21+
location = "westeurope"
22+
storage_account_name = "mydefaultstorage"
2423
2524
# To enable advanced threat protection set argument to `true`
2625
enable_advanced_threat_protection = true
@@ -41,7 +40,6 @@ module "storage" {
4140
ServiceClass = "Gold"
4241
}
4342
}
44-
4543
```
4644

4745
### Storage account with SMB File Shares
@@ -51,16 +49,15 @@ module "storage" {
5149
source = "kumarvna/storage/azurerm"
5250
version = "2.0.0"
5351
54-
# By default, this module will create a resource group, proivde the name here
55-
# to use an existing resource group, specify the existing resource group name,
52+
# By default, this module will not create a resource group
53+
# proivde a name to use an existing resource group, specify the existing resource group name,
5654
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
5755
# RG name must follow Azure naming convention.
5856
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
59-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
60-
create_resource_group = false
61-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
62-
location = "westeurope"
63-
storage_account_name = "mydefaultstorage"
57+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
58+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
59+
location = "westeurope"
60+
storage_account_name = "mydefaultstorage"
6461
6562
# To enable advanced threat protection set argument to `true`
6663
enable_advanced_threat_protection = true
@@ -90,16 +87,15 @@ module "storage" {
9087
source = "kumarvna/storage/azurerm"
9188
version = "2.0.0"
9289
93-
# By default, this module will create a resource group, proivde the name here
94-
# to use an existing resource group, specify the existing resource group name,
90+
# By default, this module will not create a resource group
91+
# proivde a name to use an existing resource group, specify the existing resource group name,
9592
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
9693
# RG name must follow Azure naming convention.
9794
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
98-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
99-
create_resource_group = false
100-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
101-
location = "westeurope"
102-
storage_account_name = "mydefaultstorage"
95+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
96+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
97+
location = "westeurope"
98+
storage_account_name = "mydefaultstorage"
10399
104100
# To enable advanced threat protection set argument to `true`
105101
enable_advanced_threat_protection = true

examples/complete/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ module "storage" {
77
source = "kumarvna/storage/azurerm"
88
version = "2.0.0"
99
10-
# By default, this module will create a resource group, proivde the name here
11-
# to use an existing resource group, specify the existing resource group name,
10+
# By default, this module will not create a resource group
11+
# proivde a name to use an existing resource group, specify the existing resource group name,
1212
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
1313
# RG name must follow Azure naming convention.
1414
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
15-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
16-
create_resource_group = false
17-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
18-
location = "westeurope"
19-
storage_account_name = "mydefaultstorage"
15+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
16+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
17+
location = "westeurope"
18+
storage_account_name = "mydefaultstorage"
2019
2120
# To enable advanced threat protection set argument to `true`
2221
enable_advanced_threat_protection = true

examples/complete/main.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ module "storage" {
22
source = "kumarvna/storage/azurerm"
33
version = "2.0.0"
44

5-
# By default, this module will create a resource group, proivde the name here
6-
# to use an existing resource group, specify the existing resource group name,
5+
# By default, this module will not create a resource group
6+
# proivde a name to use an existing resource group, specify the existing resource group name,
77
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
8-
# RG name must follow Azure naming convention. ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
9-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
8+
# RG name must follow Azure naming convention.
9+
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
10+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
1011
resource_group_name = "rg-demo-internal-shared-westeurope-002"
1112
location = "westeurope"
1213
storage_account_name = "mydefaultstorage"

examples/storage_account_with_containers/README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,26 @@ Simple configuration to create a Azure storage account with Containers.
88
module "storage" {
99
source = "kumarvna/storage/azurerm"
1010
version = "2.0.0"
11-
12-
# By default, this module will create a resource group, proivde the name here
13-
# to use an existing resource group, specify the existing resource group name,
11+
12+
# By default, this module will not create a resource group
13+
# proivde a name to use an existing resource group, specify the existing resource group name,
1414
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
1515
# RG name must follow Azure naming convention.
1616
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
17-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
18-
create_resource_group = false
19-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
20-
location = "westeurope"
17+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
18+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
19+
location = "westeurope"
20+
storage_account_name = "mydefaultstorage"
2121
2222
# To enable advanced threat protection set argument to `true`
2323
enable_advanced_threat_protection = true
2424
25-
# (Required) Project_Name, Subscription_type and environment are must to create resource names.
26-
project_name = "tieto-internal"
27-
subscription_type = "shared"
28-
environment = "dev"
29-
3025
# Container lists with access_type to create
3126
containers_list = [
3227
{ name = "mystore250", access_type = "private" },
3328
{ name = "blobstore251", access_type = "blob" },
3429
{ name = "containter252", access_type = "container" }
3530
]
36-
3731
# Adding TAG's to your Azure resources (Required)
3832
# ProjectName and Env are already declared above, to use them here, create a varible.
3933
tags = {

examples/storage_account_with_containers/main.tf

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ module "storage" {
22
source = "kumarvna/storage/azurerm"
33
version = "2.0.0"
44

5-
# By default, this module will create a resource group, proivde the name here
6-
# to use an existing resource group, specify the existing resource group name,
5+
# By default, this module will not create a resource group
6+
# proivde a name to use an existing resource group, specify the existing resource group name,
77
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
88
# RG name must follow Azure naming convention.
99
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
10-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
11-
create_resource_group = false
12-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
13-
location = "westeurope"
14-
storage_account_name = "mydefaultstorage"
10+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
11+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
12+
location = "westeurope"
13+
storage_account_name = "mydefaultstorage"
1514

1615
# To enable advanced threat protection set argument to `true`
1716
enable_advanced_threat_protection = true

examples/storage_account_with_fileshares/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ module "storage" {
99
source = "kumarvna/storage/azurerm"
1010
version = "2.0.0"
1111
12-
# By default, this module will create a resource group, proivde the name here
13-
# to use an existing resource group, specify the existing resource group name,
12+
# By default, this module will not create a resource group
13+
# proivde a name to use an existing resource group, specify the existing resource group name,
1414
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
1515
# RG name must follow Azure naming convention.
1616
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
17-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
18-
create_resource_group = false
19-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
20-
location = "westeurope"
21-
storage_account_name = "mydefaultstorage"
17+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
18+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
19+
location = "westeurope"
20+
storage_account_name = "mydefaultstorage"
2221
2322
# To enable advanced threat protection set argument to `true`
2423
enable_advanced_threat_protection = true

examples/storage_account_with_fileshares/main.tf

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ module "storage" {
22
source = "kumarvna/storage/azurerm"
33
version = "2.0.0"
44

5-
# By default, this module will create a resource group, proivde the name here
6-
# to use an existing resource group, specify the existing resource group name,
5+
# By default, this module will not create a resource group
6+
# proivde a name to use an existing resource group, specify the existing resource group name,
77
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
88
# RG name must follow Azure naming convention.
99
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
10-
# Resource group is named like this: rg-tieto-internal-prod-westeurope-001
11-
create_resource_group = false
12-
resource_group_name = "rg-demo-internal-shared-westeurope-002"
13-
location = "westeurope"
14-
storage_account_name = "mydefaultstorage"
10+
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
11+
resource_group_name = "rg-demo-internal-shared-westeurope-002"
12+
location = "westeurope"
13+
storage_account_name = "mydefaultstorage"
1514

1615
# To enable advanced threat protection set argument to `true`
1716
enable_advanced_threat_protection = true

0 commit comments

Comments
 (0)