From f04d8befd5c56bdaa70504782f3d67cccab3aa11 Mon Sep 17 00:00:00 2001 From: Chris McKeown Date: Tue, 5 Jul 2016 10:46:14 +0100 Subject: [PATCH] Corrected some ARM documentation --- .../providers/azurerm/r/template_deployment.html.markdown | 7 +++++-- .../docs/providers/azurerm/r/virtual_network.html.markdown | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/website/source/docs/providers/azurerm/r/template_deployment.html.markdown b/website/source/docs/providers/azurerm/r/template_deployment.html.markdown index 4357a7616..f475fd3c0 100644 --- a/website/source/docs/providers/azurerm/r/template_deployment.html.markdown +++ b/website/source/docs/providers/azurerm/r/template_deployment.html.markdown @@ -83,10 +83,13 @@ The following arguments are supported: * `name` - (Required) Specifies the name of the template deployment. Changing this forces a new resource to be created. * `resource_group_name` - (Required) The name of the resource group in which to - create the template deployment. + create the template deployment. +* `deployment_mode` - (Required) Specifies the mode that is used to deploy resources. This value could be either `Incremental` or `Complete`. + Note that you will almost *always* want this to be set to `Incremental` otherwise the deployment will destroy all infrastructure not + specified within the template, and Terraform will not be aware of this. * `template_body` - (Optional) Specifies the JSON definition for the template. * `parameters` - (Optional) Specifies the name and value pairs that define the deployment parameters for the template. -* `deployment_mode` - (Optional) Specifies the mode that is used to deploy resources. This value could be either `Incremental` or `Complete`. + ## Attributes Reference diff --git a/website/source/docs/providers/azurerm/r/virtual_network.html.markdown b/website/source/docs/providers/azurerm/r/virtual_network.html.markdown index e9a4eb2ff..6d75cead6 100644 --- a/website/source/docs/providers/azurerm/r/virtual_network.html.markdown +++ b/website/source/docs/providers/azurerm/r/virtual_network.html.markdown @@ -19,6 +19,7 @@ resource "azurerm_virtual_network" "test" { resource_group_name = "${azurerm_resource_group.test.name}" address_space = ["10.0.0.0/16"] location = "West US" + dns_servers = ["10.0.0.4", "10.0.0.5"] subnet { name = "subnet1" @@ -58,8 +59,7 @@ The following arguments are supported: * `location` - (Required) The location/region where the virtual network is created. Changing this forces a new resource to be created. -* `dns_servers` - (Optional) List of names of DNS servers previously registered - on Azure. +* `dns_servers` - (Optional) List of IP addresses of DNS servers * `subnet` - (Optional) Can be specified multiple times to define multiple subnets. Each `subnet` block supports fields documented below.