Skip to content

habr-mms/terraform-azurerm-storage

 
 

Repository files navigation

storage

This module manages Azure Storage Configuration.

<-- This file is autogenerated, please do not change. -->

Requirements

Name Version
terraform >=1.1
azurerm >=3.5

Providers

Name Version
azurerm >=3.5

Resources

Name Type
azurerm_storage_account.storage_account resource
azurerm_storage_container.storage_container resource
azurerm_storage_share.storage_share resource
azurerm_storage_share_directory.storage_share_directory resource

Inputs

Name Description Type Default Required
storage_account resource definition, default settings are defined within locals and merged with var settings any {} no
storage_container resource definition, default settings are defined within locals and merged with var settings any {} no
storage_share resource definition, default settings are defined within locals and merged with var settings any {} no
storage_share_directory resource definition, default settings are defined within locals and merged with var settings any {} no

Outputs

Name Description
storage_account azurerm_storage_account results
storage_container azurerm_storage_container results

Examples

module "storage" {
  source = "registry.terraform.io/T-Systems-MMS/storage/azurerm"
  storage_account = {
    mgmt = {
      name                = "servicemgmtstg"
      resource_group_name = "service-infrastructure-rg"
      location            = "westeurope"
      min_tls_version     = "TLS1_0"
      static_website = {
        error_404_document = "404.html"
        index_document     = "index.html"
      }
      tags = {
        service = "service_name"
      }
    }
  }
  storage_container = {
    terraform = {
      storage_account_name = module.storage.storage_account.mgmt.name
      tags = {
        service = "service_name"
      }
    }
  }
}

About

Configure Azure Storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%