From 103b4555c32bf4417633d17d512d7a21701c1043 Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Sun, 8 Aug 2021 22:12:40 +0100 Subject: [PATCH] Fix incorrect resource ID in Domain Service docs --- website/docs/r/active_directory_domain_service.html.markdown | 4 ++-- .../active_directory_domain_service_replica_set.html.markdown | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/r/active_directory_domain_service.html.markdown b/website/docs/r/active_directory_domain_service.html.markdown index f6dd112aaada..c0c3e5f97232 100644 --- a/website/docs/r/active_directory_domain_service.html.markdown +++ b/website/docs/r/active_directory_domain_service.html.markdown @@ -262,8 +262,8 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/d ## Import -Domain Services can be imported using the resource ID, e.g. +Domain Services can be imported using the resource ID, together with the Replica Set ID that you wish to designate as the initial replica set, e.g. ```shell -terraform import azurerm_active_directory_domain_service.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AAD/domainServices/instance1 +terraform import azurerm_active_directory_domain_service.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AAD/domainServices/instance1/initialReplicaSetId/00000000-0000-0000-0000-000000000000 ``` diff --git a/website/docs/r/active_directory_domain_service_replica_set.html.markdown b/website/docs/r/active_directory_domain_service_replica_set.html.markdown index 0dbb96183204..f585e1b0a7c4 100644 --- a/website/docs/r/active_directory_domain_service_replica_set.html.markdown +++ b/website/docs/r/active_directory_domain_service_replica_set.html.markdown @@ -304,8 +304,8 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/d ## Import -Domain Services can be imported using the resource ID, e.g. +Domain Service Replica Sets can be imported using the resource ID of the parent Domain Service and the Replica Set ID, e.g. ```shell -terraform import azurerm_active_directory_domain_service.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AAD/domainServices/instance1 +terraform import azurerm_active_directory_domain_service.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AAD/domainServices/instance1/replicaSets/00000000-0000-0000-0000-000000000000 ```