From 2229d650430ed869f217bc0ff3cf544e8f492a19 Mon Sep 17 00:00:00 2001 From: Jearvon Dharrie Date: Mon, 1 May 2017 14:01:21 -0400 Subject: [PATCH] Add import example --- .../docs/providers/github/r/repository.html.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/source/docs/providers/github/r/repository.html.markdown b/website/source/docs/providers/github/r/repository.html.markdown index 23fbd0416..a2b50c828 100644 --- a/website/source/docs/providers/github/r/repository.html.markdown +++ b/website/source/docs/providers/github/r/repository.html.markdown @@ -69,3 +69,12 @@ The following additional attributes are exported: * `svn_url` - URL that can be provided to `svn checkout` to check out the repository via Github's Subversion protocol emulation. + + +## Import + +Repositories can be imported using the `name`, e.g. + +``` +$ terraform import github_repository.terraform terraform +```