This is a terraform module for initializing a terraform state backend in Azure.
By default, it creates a resource group named terraform-state
, a storage account with a unique name, and a container named "terraform-state",
Name | Version |
---|---|
terraform | >= 0.13 |
azurerm | ~> 3.0 |
Name | Version |
---|---|
azurerm | ~> 3.0 |
random | n/a |
No modules.
Name | Type |
---|---|
azurerm_resource_group.tfstate | resource |
azurerm_storage_account.tfstate | resource |
azurerm_storage_container.tfstate | resource |
random_string.storage_account_name | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
client_id | The client ID to use for authenticating to Azure | string |
null |
no |
container_name | The name of the storage container to use for the Terraform state | string |
"terraform-state" |
no |
location | The location to use for the Terraform state | string |
"centralus" |
no |
resource_group_name | The name of the resource group to use for the Terraform state | string |
"terraform-state" |
no |
storage_account_name | The name of the storage account to use for the Terraform state | string |
null |
no |
subscription_id | The subscription ID to use for the Terraform state | string |
null |
no |
tenant_id | The tenant ID to use for the Terraform state | string |
null |
no |
Name | Description |
---|---|
container_name | n/a |
resource_group_name | n/a |
storage_account_name | n/a |