From 8e05e9dc0b0cbeaf50fb67eb1ea1cabba93d10ee Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Mon, 2 Jul 2018 06:55:43 +0200 Subject: [PATCH] Make additional_unattend_config.content sensitive (#1471) --- azurerm/resource_arm_virtual_machine.go | 5 +++-- azurerm/resource_arm_virtual_machine_scale_set.go | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/azurerm/resource_arm_virtual_machine.go b/azurerm/resource_arm_virtual_machine.go index aa2320d7c424..9ee291c8675e 100644 --- a/azurerm/resource_arm_virtual_machine.go +++ b/azurerm/resource_arm_virtual_machine.go @@ -430,8 +430,9 @@ func resourceArmVirtualMachine() *schema.Resource { Required: true, }, "content": { - Type: schema.TypeString, - Required: true, + Type: schema.TypeString, + Required: true, + Sensitive: true, }, }, }, diff --git a/azurerm/resource_arm_virtual_machine_scale_set.go b/azurerm/resource_arm_virtual_machine_scale_set.go index d095b7357423..eb2e84b02635 100644 --- a/azurerm/resource_arm_virtual_machine_scale_set.go +++ b/azurerm/resource_arm_virtual_machine_scale_set.go @@ -238,8 +238,9 @@ func resourceArmVirtualMachineScaleSet() *schema.Resource { Required: true, }, "content": { - Type: schema.TypeString, - Required: true, + Type: schema.TypeString, + Required: true, + Sensitive: true, }, }, },