diff --git a/website/docs/d/github_installation.html.markdown b/website/docs/d/github_installation.html.markdown index 23fcbb855..cf505ff6e 100644 --- a/website/docs/d/github_installation.html.markdown +++ b/website/docs/d/github_installation.html.markdown @@ -15,7 +15,7 @@ Use this data source to get information about the Github App Installation. ```hcl data "tfe_github_app_installation" "gha_installation" { - installation_id = 12345 + installation_id = 12345678 } ``` @@ -23,21 +23,21 @@ data "tfe_github_app_installation" "gha_installation" { ```hcl data "tfe_github_app_installation" "gha_installation" { - name = "installation_name" + name = "github_username_or_organization" } ``` ## Argument Reference -The following arguments are supported. At least one of `name`, `installation_id` must be set. +The following arguments are supported. At least one of `name`, `installation_id` must be set. + +* `installation_id` - (Optional) ID of the Github Installation. The installation ID can be found in the URL slug when visiting the installation's configuration page, e.g `https://github.com/settings/installations/12345678`. +* `name` - (Optional) Name of the Github user or organization account that installed the app. -* `installation_id` - (Optional) ID of the Github Installation as shown in Github. -* `name` - (Optional) Name of the Github Installation as shown in Github. - Must be one of: `installation_id` or `name`. ## Attributes Reference In addition to all arguments above, the following attributes are exported: -* `id` - The internal ID of the Github Installation. This is different from the `installation_id`. \ No newline at end of file +* `id` - The internal ID of the Github Installation. This is different from the `installation_id`.