Skip to content

Commit

Permalink
Add import to docs
Browse files Browse the repository at this point in the history
alexhung committed Dec 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent aacb113 commit 8b06121
Showing 4 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/resources/reverse_proxy.md
Original file line number Diff line number Diff line change
@@ -47,3 +47,11 @@ resource "platform_reverse_proxy" "my-reverse-proxy" {
- `ssl_certificate_path` (String) The full path of the certificate file on the web server, e.g. `/etc/ssl/certs/myserver.crt`. Must be set when `use_https` is set to `true`
- `ssl_key_path` (String) The full path of the key file on the web server, e.g. `/etc/ssl/private/myserver.key`. Must be set when `use_https` is set to `true`
- `use_https` (Boolean) When set, Artifactory will be accessible via HTTPS at the corresponding port that is set. Only settable when `server_provider` is set to `NIGNIX` or `APACHE`

## Import

Import is supported using the following syntax:

```shell
terraform import platform_reverse_proxy.my-reverse-proxy DIRECT
```
8 changes: 8 additions & 0 deletions docs/resources/workers_service.md
Original file line number Diff line number Diff line change
@@ -86,3 +86,11 @@ Required:

- `key` (String) The name of the secret.
- `value` (String) The name of the secret.

## Import

Import is supported using the following syntax:

```shell
terraform import platform_workers_service.my-worker-service my-worker-service-key
```
1 change: 1 addition & 0 deletions examples/resources/platform_reverse_proxy/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terraform import platform_reverse_proxy.my-reverse-proxy DIRECT
1 change: 1 addition & 0 deletions examples/resources/platform_workers_service/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terraform import platform_workers_service.my-worker-service my-worker-service-key

0 comments on commit 8b06121

Please sign in to comment.