Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 3.73 KB

File metadata and controls

50 lines (41 loc) · 3.73 KB

Requirements

Name Version
terraform >= 1.0.2
azurerm ~> 3.58

Providers

Name Version
azurerm ~> 3.58

Resources

Name Type
azurerm_role_assignment.data_owners resource
azurerm_storage_account.storage resource
azurerm_storage_container.containers resource
azurerm_resource_group.main data source

Inputs

Name Description Type Default Required
access_tier n/a string "Hot" no
account_kind n/a string "StorageV2" no
account_replication_type n/a string "LRS" no
account_tier n/a string "Standard" no
blob_containers n/a
map(object({
access_type = string
}))
{} no
blob_cors_rules n/a
list(object({
allowed_origins = list(string)
allowed_methods = optional(list(string), ["GET", "PUT", "DELETE"])
allowed_headers = optional(list(string), [""])
exposed_headers = optional(list(string), ["
"])
max_age_in_seconds = optional(number, 3600)
}))
n/a yes
blob_retention_policy n/a number null no
container_retention_policy n/a number null no
data_owners_object_ids Principals to grant 'Storage Blob Data Owner' role.
Map key can be anything, they're only used to give terraform resources a stable identity. Map value should be the object id of the principal.
map(string) n/a yes
resource_group_name n/a string n/a yes
storage_account_name n/a string n/a yes
tags n/a map(string) n/a yes

Outputs

Name Description
storage_account_id n/a
storage_account_name n/a
storage_blob_endpoint n/a
storage_connection_string n/a
storage_containers n/a