|
1 | 1 | # Azure <> Terraform module |
2 | | -Terraform module for creation Azure <> |
| 2 | +Terraform module for creation Azure Static Web Apps |
3 | 3 |
|
4 | 4 | ## Usage |
5 | 5 |
|
6 | 6 | <!-- BEGIN_TF_DOCS --> |
| 7 | +## Requirements |
7 | 8 |
|
| 9 | +| Name | Version | |
| 10 | +|------|---------| |
| 11 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 | |
| 12 | +| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.23.0 | |
| 13 | + |
| 14 | +## Providers |
| 15 | + |
| 16 | +| Name | Version | |
| 17 | +|------|---------| |
| 18 | +| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | >= 3.23.0 | |
| 19 | + |
| 20 | +## Modules |
| 21 | + |
| 22 | +No modules. |
| 23 | + |
| 24 | +## Resources |
| 25 | + |
| 26 | +| Name | Type | |
| 27 | +|------|------| |
| 28 | +| [azurerm_static_site.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/static_site) | resource | |
| 29 | +| [azurerm_static_site_custom_domain.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/static_site_custom_domain) | resource | |
| 30 | + |
| 31 | +## Inputs |
| 32 | + |
| 33 | +| Name | Description | Type | Default | Required | |
| 34 | +|------|-------------|------|---------|:--------:| |
| 35 | +| <a name="input_domain_name"></a> [domain\_name](#input\_domain\_name) | Domain name | `string` | `null` | no | |
| 36 | +| <a name="input_env"></a> [env](#input\_env) | Environment | `string` | n/a | yes | |
| 37 | +| <a name="input_identity_ids"></a> [identity\_ids](#input\_identity\_ids) | List of user assigned identity IDs | `list(string)` | `null` | no | |
| 38 | +| <a name="input_location"></a> [location](#input\_location) | Location | `string` | n/a | yes | |
| 39 | +| <a name="input_name"></a> [name](#input\_name) | Static site name | `string` | n/a | yes | |
| 40 | +| <a name="input_project"></a> [project](#input\_project) | Project name | `string` | n/a | yes | |
| 41 | +| <a name="input_resource_group"></a> [resource\_group](#input\_resource\_group) | Resource group name | `string` | n/a | yes | |
| 42 | +| <a name="input_sku_size"></a> [sku\_size](#input\_sku\_size) | SKU size | `string` | `"Free"` | no | |
| 43 | +| <a name="input_sku_tier"></a> [sku\_tier](#input\_sku\_tier) | SKU tier | `string` | `"Free"` | no | |
| 44 | +| <a name="input_tags"></a> [tags](#input\_tags) | Tags | `map(string)` | n/a | yes | |
| 45 | +| <a name="input_validation_type"></a> [validation\_type](#input\_validation\_type) | Validation type | `string` | `"dns-txt-token"` | no | |
| 46 | + |
| 47 | +## Outputs |
| 48 | + |
| 49 | +| Name | Description | |
| 50 | +|------|-------------| |
| 51 | +| <a name="output_api_key"></a> [api\_key](#output\_api\_key) | The API Key of the Static Site. | |
| 52 | +| <a name="output_custom_domain_id"></a> [custom\_domain\_id](#output\_custom\_domain\_id) | The ID of the Custom Domain. | |
| 53 | +| <a name="output_default_host_name"></a> [default\_host\_name](#output\_default\_host\_name) | The Default Host Name of the Static Site. | |
| 54 | +| <a name="output_id"></a> [id](#output\_id) | The ID of the Static Site. | |
| 55 | +| <a name="output_identity"></a> [identity](#output\_identity) | The Managed Identity of the Static Site. | |
| 56 | +| <a name="output_validation_token"></a> [validation\_token](#output\_validation\_token) | The Validation Token of the Custom Domain. | |
8 | 57 | <!-- END_TF_DOCS --> |
9 | 58 |
|
10 | 59 | ## License |
11 | 60 |
|
12 | | -Apache 2 Licensed. For more information please see [LICENSE](https://github.com/data-platform-hq/terraform-azurerm<>/tree/master/LICENSE) |
| 61 | +Apache 2 Licensed. For more information please see [LICENSE](https://github.com/data-platform-hq/terraform-azurerm-static-site/blob/main/LICENSE) |
0 commit comments