diff --git a/modules/azurerm/Compute-Image/compute_image.tf b/modules/azurerm/Compute-Image/compute_image.tf index cfc668dd..0d85aae4 100644 --- a/modules/azurerm/Compute-Image/compute_image.tf +++ b/modules/azurerm/Compute-Image/compute_image.tf @@ -10,12 +10,14 @@ # -------------------------------------------------------------------------------------- resource "azurerm_shared_image" "compute_image" { - name = join("-", [var.shared_image_abbreviation, var.name]) - gallery_name = var.gallery_name - resource_group_name = var.resource_group - location = var.location - os_type = var.shared_image_os_type - hyper_v_generation = var.hyper_v_generation + name = join("-", [var.shared_image_abbreviation, var.name]) + gallery_name = var.gallery_name + resource_group_name = var.resource_group + location = var.location + os_type = var.shared_image_os_type + hyper_v_generation = var.hyper_v_generation + trusted_launch_supported = var.trusted_launch_supported + trusted_launch_enabled = var.trusted_launch_enabled identifier { publisher = var.shared_image_publisher diff --git a/modules/azurerm/Compute-Image/variables.tf b/modules/azurerm/Compute-Image/variables.tf index 6dce7d75..80c2652f 100644 --- a/modules/azurerm/Compute-Image/variables.tf +++ b/modules/azurerm/Compute-Image/variables.tf @@ -64,3 +64,15 @@ variable "shared_image_abbreviation" { type = string default = "si" } + +variable "trusted_launch_supported" { + description = "Specifies whether Trusted Launch is supported for the Shared Image." + type = bool + default = null +} + +variable "trusted_launch_enabled" { + description = "Specifies whether Trusted Launch is enabled for the Shared Image." + type = bool + default = null +} diff --git a/modules/azurerm/Firewall/output.tf b/modules/azurerm/Firewall/output.tf index 3c7c2ebb..0172c528 100644 --- a/modules/azurerm/Firewall/output.tf +++ b/modules/azurerm/Firewall/output.tf @@ -40,6 +40,6 @@ output "firewall_public_ip_names" { } output "firewall_public_ip_associations" { - value = {for pip in azurerm_public_ip.firewall_public_ip : pip.name => pip.ip_address} + value = { for pip in azurerm_public_ip.firewall_public_ip : pip.name => pip.ip_address } depends_on = [azurerm_public_ip.firewall_public_ip] } diff --git a/modules/azurerm/Storage-Account-Static-Website-CDN/outputs.tf b/modules/azurerm/Storage-Account-Static-Website-CDN/outputs.tf index 7d2954e1..4b7f9870 100644 --- a/modules/azurerm/Storage-Account-Static-Website-CDN/outputs.tf +++ b/modules/azurerm/Storage-Account-Static-Website-CDN/outputs.tf @@ -45,20 +45,20 @@ output "storage_account_secondary_web_endpoint" { output "cdn_profile_name" { depends_on = [azurerm_cdn_profile.cdn_profile] - value = azurerm_cdn_profile.cdn_profile.name + value = azurerm_cdn_profile.cdn_profile.name } output "cdn_profile_id" { depends_on = [azurerm_cdn_profile.cdn_profile] - value = azurerm_cdn_profile.cdn_profile.id + value = azurerm_cdn_profile.cdn_profile.id } output "cdn_endpoint_fqdn" { depends_on = [azurerm_cdn_endpoint.cdn_endpoint] - value = azurerm_cdn_endpoint.cdn_endpoint.fqdn + value = azurerm_cdn_endpoint.cdn_endpoint.fqdn } output "cdn_endpoint_id" { depends_on = [azurerm_cdn_endpoint.cdn_endpoint] - value = azurerm_cdn_endpoint.cdn_endpoint.id + value = azurerm_cdn_endpoint.cdn_endpoint.id }