Skip to content

Commit

Permalink
[docs]: update import examples for some number of resources (integrat…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nmishin authored Oct 16, 2023
1 parent fc5b047 commit f43feb5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/actions_organization_permissions.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ The `enabled_repositories_config` block supports the following:

## Import

This resource can be imported using the ID of the GitHub organization:
This resource can be imported using the name of the GitHub organization:

```
$ terraform import github_actions_organization_permissions.test <github_organization_name>
$ terraform import github_actions_organization_permissions.test github_organization_name
```
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ The following arguments are supported:
This resource can be imported using the name of the GitHub repository:

```
$ terraform import github_actions_repository_access_level.test <github_repository_name>
$ terraform import github_actions_repository_access_level.test my-repository
```
4 changes: 2 additions & 2 deletions website/docs/r/codespaces_secret.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ The following arguments are supported:
This resource can be imported using an ID made up of the `repository` and `secret_name`:

```
$ terraform import github_codespaces_secret.example_secret <repository>/<secret_name>
$ terraform import github_codespaces_secret.example_secret example_repository/example_secret_name
```

NOTE: the implementation is limited in that it won't fetch the value of the
`plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
`plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
4 changes: 2 additions & 2 deletions website/docs/r/dependabot_secret.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ The following arguments are supported:
This resource can be imported using an ID made up of the `repository` and `secret_name`:

```
$ terraform import github_dependabot_secret.example_secret <repository>/<secret_name>
$ terraform import github_dependabot_secret.example_secret example_repository/example_secret
```

NOTE: the implementation is limited in that it won't fetch the value of the
`plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
`plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.

0 comments on commit f43feb5

Please sign in to comment.