Skip to content

Commit

Permalink
fix: fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
kharkevich committed Jan 5, 2023
1 parent 4b6b20d commit 52e2a39
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
output "id" {
value = azurerm_static_site.this.id
value = azurerm_static_site.this.id
description = "The ID of the Static Site."
}

output "api_key" {
value = azurerm_static_site.this.api_key
value = azurerm_static_site.this.api_key
description = "The API Key of the Static Site."
}

output "default_host_name" {
value = azurerm_static_site.this.default_host_name
value = azurerm_static_site.this.default_host_name
description = "The Default Host Name of the Static Site."
}

output "identity" {
value = azurerm_static_site.this.identity[*]
value = azurerm_static_site.this.identity[*]
description = "The Managed Identity of the Static Site."
}

output "custom_domain_id" {
value = azurerm_static_site_custom_domain.this[*].id
value = azurerm_static_site_custom_domain.this[*].id
description = "The ID of the Custom Domain."
}

output "validation_token" {
value = azurerm_static_site_custom_domain.this[*].validation_token
value = var.validation_type == "dns-txt-token" ? azurerm_static_site_custom_domain.this[*].validation_token : null
description = "The Validation Token of the Custom Domain."
}

0 comments on commit 52e2a39

Please sign in to comment.