Skip to content

Commit ffe5e8c

Browse files
committed
Fix build warnings
1 parent c97c06b commit ffe5e8c

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

articles/iot-dps/quick-setup-auto-provision-terraform.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ This quickstart was tested with the following Terraform and Terraform provider v
2525
In this article, you learn how to:
2626

2727
- Create a Storage Account & Storage Container
28-
- Create an Event Hub, Namespace, & Authorization Rule
28+
- Create an Event Hubs, Namespace, & Authorization Rule
2929
- Create an IoT Hub
30-
- Link IoT Hub to Storage Account endpoint & Event Hub endpoint
30+
- Link IoT Hub to Storage Account endpoint & Event Hubs endpoint
3131
- Create an IoT Hub Shared Access Policy
3232
- Create a DPS Resource
3333
- Link DPS & IoT Hub
@@ -46,8 +46,6 @@ In this article, you learn how to:
4646

4747
1. Create a file named `providers.tf` and insert the following code:
4848

49-
[!code-terraform[master](<!-- ~/terraform_samples/<path-to-file>/providers.tf-->)]
50-
5149
```terraform
5250
terraform {
5351
required_version = ">=0.12"
@@ -71,8 +69,6 @@ In this article, you learn how to:
7169

7270
1. Create a file named `main.tf` and insert the following code:
7371

74-
[!code-terraform[master](<!-- ~/terraform_samples/<path-to-file>/main.tf-->)]
75-
7672
```terraform
7773
resource "random_pet" "rg_name" {
7874
prefix = var.resource_group_name_prefix
@@ -328,7 +324,7 @@ If you specified a different filename for the `-out` parameter, use that same fi
328324
## Verify the results
329325

330326
**Azure CLI**
331-
Run [az iot dps show](/cli/azure/iot/dps?view=azure-cli-latest#az-iot-dps-show) to display the Azure DPS resource.
327+
Run [az iot dps show](/cli/azure/iot/dps#az-iot-dps-show) to display the Azure DPS resource.
332328

333329
```azurecli
334330
az iot dps show \
@@ -337,7 +333,7 @@ Run [az iot dps show](/cli/azure/iot/dps?view=azure-cli-latest#az-iot-dps-show)
337333
```
338334

339335
**Azure PowerShell**
340-
Run [Get-AzIoTDeviceProvisioningService](/powershell/module/az.deviceprovisioningservices/get-aziotdeviceprovisioningservice?view=azps-8.3.0) to display the Azure DPS resource.
336+
Run [Get-AzIoTDeviceProvisioningService](/powershell/module/az.deviceprovisioningservices/get-aziotdeviceprovisioningservice) to display the Azure DPS resource.
341337

342338
```powershell
343339
Get-AzIoTDeviceProvisioningService `
@@ -349,7 +345,9 @@ The names of the resource group and the DPS instance are displayed in the terraf
349345

350346
## Clean up resources
351347

352-
[!INCLUDE [terraform-plan-destroy.md](~/azure-dev-docs-pr/articles/terraform/includes/terraform-plan-destroy.md)]
348+
Other articles build upon the resources that you created in this quickstart. If you plan to continue on to subsequent quickstart or to the tutorials, keep the resources created in this quickstart.
349+
350+
If you want to delete the resources created in this quickstart, use the following commands:
353351

354352
1. Run [terraform plan](https://www.terraform.io/cli/commands/plan) and specify the `destroy` flag.
355353

0 commit comments

Comments
 (0)