Giter VIP home page Giter VIP logo

azure-storage-account-module's Introduction

Azure Storage Account Terraform Module

Terraform Module to create Azure Storage Account resource.

Module Usage

module "storage_account1" {
  source = "./vendor/modules/storage_account"

  rg_name              = "test-rg"
  location             = "eastus"
  storage_account_name = "stgacc01"
  network_rules        = {
    bypass     = ["AzureServices"]
    ip_rules   = []
    subnet_ids = ["subnetid"]
  }

  # Adding TAG's to your Azure resources (Required)
  tags = {
    c_environment  = "dev"
    c_cloud        = "azure"
  }
}

Pre-commit Notes

Make sure to update terraform-docs generated section whenever new resource block, New input or output variable is added.

Requirements

Name Version
terraform >= 0.15.5
azurerm >=3.0.0

Providers

Name Version
azurerm >=3.0.0

Modules

No modules.

Resources

Name Type
azurerm_storage_account.storeaccount resource

Inputs

Name Description Type Default Required
account_kind Defines the Kind of account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. string "StorageV2" no
account_replication_type Defines the type of replication to use for this storage account. Valid options are LRS, GRS, RAGRS, ZRS, GZRS and RAGZRS. string "GRS" no
account_tier Defines the Tier to use for this storage account. Valid options are Standard and Premium. For BlockBlobStorage and FileStorage accounts only Premium is valid. string "Standard" no
location Azure location for deployment string "East US" no
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" no
network_rules Network rules restricing access to the storage account. object({ bypass = list(string), ip_rules = list(string), subnet_ids = list(string) }) null no
rg_name Name of an Resource Group string n/a yes
storage_account_name Specifies the name of the storage account string n/a yes
tags A map of tags to add to all resources map(string) {} no

Outputs

Name Description
storage_recource_id n/a

azure-storage-account-module's People

Contributors

ajinkya101 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.