Skip to content

canada-ca-terraform-modules/terraform-azurerm-caf-storage_accountV2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

terraform versions 1.9.1+ (terragrunt 0.68.4+) in modules/main.tf and L2 version files

Providers

Name
azurerm

Modules

Name Source Version
private_endpoint /home/max/devops/modules/terraform-azurerm-caf-private-endpoint n/a

Resources

Name Type
azurerm_storage_account.storage-account resource

Inputs

Name Description Type Default Required
userDefinedString (Required) UserDefinedString part of the name of the storage account string n/a yes
env (Required) env value string n/a yes
resource_groups (Required) Resource group object of the storage account any n/a yes
storage_account (Required) Object describing the storage account any {} yes
location Azure location where the storage account will be situated string "canadacentral" no
private_dns_zone_ids Object containing the private DNS zone IDs of the subscription. Used to configure private endpoints any {} no
private_endpoint Object containing parameter to private endpoint any {} no
subnets List of subnets objects any {} no
tags Tags to be applied to the storage account map(string) {} no

|

Outputs

Name Description
id Returns the ID of the storage account
name Returns the name of the storage account
storage-account-object Returns the Azure Storage Account object

TFVars Parameters

For more information about storage account parameters, refer to the terraform docs: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account

Name Possible values Default Required
resource_group Resource group name, i.e Project, Managment, DNS, etc, or resource group ID n/a yes
account tier Standard, Premium n/a yes
account_replication_type LRS, GRS, RAGRS, ZRS, GZRS, RAGZRS n/a yes
account_kind BlobStorage, BlockBlobStorage, FileStorage, Storage, StorageV2 StorageV2 no
access_tier Hot, Cool Hot no
enable_https_traffic_only true, false true no
min_tls_version TLS1_0, TLS1_1, TLS1_2 TLS1_2 no
allow_nested_items_to_be_public true, false false no
shared_access_key_enabled true, false false no
public_network_access_enabled true, false false no
default_to_oauth_authentication true, false false no
is_hns_enabled true, false false no
nfsv3_enabled true, false false no
cross_tenant_replication_enabled true, false true no
static_website true, false false no
network_rules See terraform docs null no
sas_policies See terraform docs null no
private_endpoint See private_endpoint module docs null no

About

Standardized version of the storage account child module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages