Skip to content

Commit

Permalink
Added output of endpoint; Renamed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TomArcherMsft committed Nov 7, 2023
1 parent ba98f7c commit 9343652
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 0 additions & 2 deletions quickstart/101-storage-account-with-static-website/README.md

This file was deleted.

4 changes: 4 additions & 0 deletions quickstart/101-storage-account-with-static-website/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ output "resource_group_name" {
output "storage_account_name" {
value = azurerm_storage_account.storage_account.name
}

output "primary_web_host" {
value = azurerm_storage_account.storage_account.primary_web_host
}
18 changes: 18 additions & 0 deletions quickstart/101-storage-account-with-static-website/readme2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Azure Storage account with hosted static website

This template deploys an [Azure Storage Account](https://www.terraform.io/docs/providers/azurerm/r/storage_account.html) with static website hosting enabled.
## Terraform resource types

- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)

## Variables

| Name | Description | Default |
|-|-|-|
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
| `resource_group_location` | Location of the resource group. | eastus |

## Example

To see how to run this example, see [Create an Azure resource group using Terraform](https://docs.microsoft.com/azure/developer/terraform/create-resource-group).

0 comments on commit 9343652

Please sign in to comment.