Terraform module for an Azure static website
Provisions an Azure storage account configured for static website hosting, with a sample HashiCafe website.
Enabled for Terraform Cloud no-code provisioning.
No modules.
Name |
Description |
Type |
Default |
Required |
delete_retention_days |
Number of days to retain deleted items. |
number |
n/a |
yes |
department |
Value for the department tag. |
string |
"WebDev" |
no |
env |
Value for the environment tag. |
string |
n/a |
yes |
location |
The region where the resources are created. |
string |
n/a |
yes |
prefix |
A prefix to add to the storage account name to make it unique. A random number will also be added. |
string |
n/a |
yes |
storage_kind |
Kind of storage account to create. |
string |
"StorageV2" |
no |
storage_replication_type |
Type of replication to use for the storage account. |
string |
"LRS" |
no |
storage_tier |
Tier of the storage account. |
string |
"Standard" |
no |
Name |
Description |
endpoint |
The storage account's self-hosted static site URL |
product |
The product which was randomly selected. |
resource_group_name |
The name of the Azure Resource Group that was created. |
storage_account_name |
The name of the Azure Storage Account that was created. |