Skip to content

Commit

Permalink
update module
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarvna committed Jul 6, 2020
1 parent fcff1ac commit da9c84b
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 50 deletions.
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand All @@ -56,25 +53,6 @@ module "storage" {
# Storage queues
queues = ["queue1", "queue2"]
# Lifecycle management for storage account.
# Must specify the value to each argument and default is `0`
lifecycles = [
{
prefix_match = ["mystore250/folder_path"]
tier_to_cool_after_days = 0
tier_to_archive_after_days = 50
delete_after_days = 100
snapshot_delete_after_days = 30
},
{
prefix_match = ["blobstore251/another_path"]
tier_to_cool_after_days = 0
tier_to_archive_after_days = 30
delete_after_days = 75
snapshot_delete_after_days = 30
}
]
# Adding TAG's to your Azure resources (Required)
# ProjectName and Env are already declared above, to use them here, create a varible.
tags = {
Expand Down
9 changes: 0 additions & 9 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down Expand Up @@ -52,9 +49,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down Expand Up @@ -90,9 +84,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down
3 changes: 0 additions & 3 deletions examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down
3 changes: 0 additions & 3 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down
3 changes: 0 additions & 3 deletions examples/storage_account_with_containers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down
5 changes: 1 addition & 4 deletions examples/storage_account_with_containers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ module "storage" {

# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down
3 changes: 0 additions & 3 deletions examples/storage_account_with_fileshares/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down
3 changes: 0 additions & 3 deletions examples/storage_account_with_fileshares/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ module "storage" {
# By default, this module will not create a resource group
# proivde a name to use an existing resource group, specify the existing resource group name,
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
# RG name must follow Azure naming convention.
# For ex.: rg-<App or project name>-<Subscription type>-<Region>-<###>
# Resource group is named like this: rg-demo-internal-prod-westeurope-001
resource_group_name = "rg-demo-internal-shared-westeurope-002"
location = "westeurope"
storage_account_name = "mydefaultstorage"
Expand Down

0 comments on commit da9c84b

Please sign in to comment.