snowplow-devops / terraform-azurerm-storage-account

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release CI License Registry

terraform-azurerm-storage-account

A Terraform module for a storage account with zone redundancy.

Usage

module "storage_account" {
  source "snowplow-devops/storage-account/azurerm"

  name                = local.name
  resource_group_name = local.resource_group_name

  depends_on = [azurerm_resource_group.group]
}

Requirements

Name Version
terraform >= 1.0.0
azurerm >= 3.58.0

Providers

Name Version
azurerm >= 3.58.0

Modules

No modules.

Resources

Name Type
azurerm_storage_account.storage_account resource
azurerm_resource_group.rg data source

Inputs

Name Description Type Default Required
name Name of the storage account string n/a yes
resource_group_name Name of resource group to deploy the account into string n/a yes
is_hns_enabled Required to enable Azure Data Lake Storage Gen 2 bool true no
kind Storage account Kind string "StorageV2" no
replication_type Replication type for storage account string "ZRS" no
sku SKU Tier for storage account string "Standard" no
tags The tags to append to this resource map(string) {} no

Outputs

Name Description
id Storage account ID
name Storage account name
primary_access_key Primary access key for the account

Copyright and license

The Terraform Azurerm Storage Account project is Copyright 2023-present Snowplow Analytics Ltd.

Licensed under the Snowplow Community License. (If you are uncertain how it applies to your use case, check our answers to frequently asked questions.)

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

License:Other


Languages

Language:HCL 100.0%