Skip to content

Commit 5e53747

Browse files
committed
chore: cleanup import scripts and regenerate
Signed-off-by: Brian Fox <[email protected]>
1 parent c77487f commit 5e53747

File tree

13 files changed

+47
-58
lines changed

13 files changed

+47
-58
lines changed

docs/resources/application.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,10 @@ Read-Only:
559559

560560
Import is supported using the following syntax:
561561

562+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
563+
562564
```shell
563-
# ArgoCD applications can be imported using an id consisting of `{name}:{namespace}`. E.g.
565+
# ArgoCD applications can be imported using an id consisting of `{name}:{namespace}`.
564566

565567
terraform import argocd_application.myapp myapp:argocd
566568
```

docs/resources/cluster.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,10 @@ Read-Only:
215215

216216
Import is supported using the following syntax:
217217

218+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
219+
218220
```shell
219221
# Cluster credentials can be imported using the server URL.
220222

221-
# Example:
222223
terraform import argocd_cluster.mycluster https://mycluster.io:443
223224
```

docs/resources/gpg_key.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ EOF
6767

6868
Import is supported using the following syntax:
6969

70+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
71+
7072
```shell
7173
# GPG Keys can be imported using the key ID.
7274

73-
# Example:
7475
terraform import argocd_gpg_key.this 9AD92955401D388D
7576
```

docs/resources/project.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,10 @@ Optional:
295295

296296
Import is supported using the following syntax:
297297

298+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
299+
298300
```shell
299301
# Projects can be imported using the project name.
300302

301-
# Example:
302303
terraform import argocd_project.myproject myproject
303304
```

docs/resources/repository.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ resource "argocd_repository" "private" {
6969

7070
Import is supported using the following syntax:
7171

72+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
73+
7274
```shell
7375
# Repositories can be imported using the repository URL.
7476

@@ -77,6 +79,5 @@ Import is supported using the following syntax:
7779
# `ssh_private_key` and `tls_client_cert_key` attributes converge to their
7880
# expected values defined within the plan.
7981

80-
# Example:
8182
terraform import argocd_repository.myrepo [email protected]:somerepo.git
8283
```

docs/resources/repository_credentials.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ resource "argocd_repository_credentials" "private" {
5151

5252
Import is supported using the following syntax:
5353

54+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
55+
5456
```shell
5557
# Repository credentials can be imported using the repository URL.
5658

@@ -59,6 +61,5 @@ Import is supported using the following syntax:
5961
# `ssh_private_key` and `tls_client_cert_key` attributes converge to their
6062
# expected values defined within the plan.
6163

62-
# Example:
6364
terraform import argocd_repository_credentials.myrepocreds [email protected]:somerepo.git
6465
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# ArgoCD applications can be imported using an id consisting of `{name}:{namespace}`. E.g.
1+
# ArgoCD applications can be imported using an id consisting of `{name}:{namespace}`.
22

33
terraform import argocd_application.myapp myapp:argocd
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Cluster credentials can be imported using the server URL.
22

3-
# Example:
43
terraform import argocd_cluster.mycluster https://mycluster.io:443
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# GPG Keys can be imported using the key ID.
22

3-
# Example:
43
terraform import argocd_gpg_key.this 9AD92955401D388D
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Projects can be imported using the project name.
22

3-
# Example:
43
terraform import argocd_project.myproject myproject

0 commit comments

Comments
 (0)