-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathoutput.tf
36 lines (30 loc) · 1.22 KB
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
output "storage_account_id" {
value = azurerm_storage_account.storeacc.id
description = "The ID of the storage account."
}
output "storage_account_name" {
value = azurerm_storage_account.storeacc.name
description = "The name of the storage account."
}
output "storage_primary_connection_string" {
value = azurerm_storage_account.storeacc.primary_connection_string
sensitive = true
description = "The primary connection string for the storage account."
}
output "storage_primary_access_key" {
value = azurerm_storage_account.storeacc.primary_access_key
sensitive = true
description = "The primary access key for the storage account."
}
output "static_website_cdn_endpoint_hostname" {
value = element(concat(azurerm_cdn_endpoint.cdn-endpoint.*.name, [""]), 0)
description = "CDN endpoint URL for Static website"
}
output "static_website_cdn_profile_name" {
value = element(concat(azurerm_cdn_profile.cdn-profile.*.name, [""]), 0)
description = "CDN profile name for the static website"
}
output "static_website_url" {
value = azurerm_storage_account.storeacc.primary_web_host
description = "static web site URL from storage account"
}