From 31231072a7daf7addbd5653a505c8053b71a8610 Mon Sep 17 00:00:00 2001 From: Anna Khmelnitsky Date: Wed, 20 May 2020 20:36:31 -0700 Subject: [PATCH] Update IP pool allocation doc with import command --- .../r/ip_pool_allocation_ip_address.html.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/docs/r/ip_pool_allocation_ip_address.html.markdown b/website/docs/r/ip_pool_allocation_ip_address.html.markdown index ba917b5a9..603b09609 100644 --- a/website/docs/r/ip_pool_allocation_ip_address.html.markdown +++ b/website/docs/r/ip_pool_allocation_ip_address.html.markdown @@ -34,3 +34,15 @@ In addition to arguments listed above, the following attributes are exported: * `id` - ID of the IP pool allocation IP address (currently identical to `allocation_ip`). * `allocation_ip` - Allocation IP address. + +## Importing + +An existing IP pool allocation address can be [imported][docs-import] into this resource, via the following command: + +[docs-import]: /docs/import/index.html + +``` +terraform import nsxt_ip_pool_allocation_ip_address.ip1 POOL-UUID/UUID +``` + +The above would import the IP pool allocation address named `ip_pool` with the nsx ID `UUID`, from IP Pool with nsx ID `POOL-UUID`.