https://github.com/imjoseangel/terraform-azurerm-storage
Terraform Module for deploying an Azure Storage Account
https://github.com/imjoseangel/terraform-azurerm-storage
azure cloud storage-account terraform terraform-module
Last synced: 5 months ago
JSON representation
Terraform Module for deploying an Azure Storage Account
- Host: GitHub
- URL: https://github.com/imjoseangel/terraform-azurerm-storage
- Owner: imjoseangel
- License: mit
- Created: 2021-11-11T07:31:18.000Z (almost 4 years ago)
- Default Branch: devel
- Last Pushed: 2025-04-29T14:17:08.000Z (5 months ago)
- Last Synced: 2025-05-05T22:56:00.080Z (5 months ago)
- Topics: azure, cloud, storage-account, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 288 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# terraform-azurerm-storage
[](https://github.com/imjoseangel/terraform-azurerm-storage/actions/workflows/terraform.yml)
## Deploys a Azure Storage Account with versioning enabled, soft-delete capabilities and other security options
This Terraform module deploys a Storage Account on Azure.
### NOTES
* Name Convention specified as `sa. ` is calculated with `random_string` resource.
## Usage in Terraform 1.0
```terraform
module "storage" {
source = "github.com/imjoseangel/terraform-azurerm-storage"resource_group_name = var.terraform_rsg
create_resource_group = false
location = var.location
name = var.tf_name
skuname = "Standard_ZRS"containers_list = [
{ name = "tfstate", access_type = "private" }
]tags = {
role = "terraform"
environment = "development"
}depends_on = [
module.keyvault
]
}resource "azurerm_key_vault_secret" "storage" {
name = var.tf_name
value = module.storage.storage_primary_access_key
key_vault_id = module.keyvault.id
}
```## Authors
Originally created by [imjoseangel](http://github.com/imjoseangel)
## License
[MIT](LICENSE)