diff --git a/docs/resources/account_ldap.md b/docs/resources/account_ldap.md index a96c681c..cca6f542 100644 --- a/docs/resources/account_ldap.md +++ b/docs/resources/account_ldap.md @@ -71,6 +71,8 @@ resource "boundary_user" "einstein" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_account_ldap.foo ``` diff --git a/docs/resources/account_password.md b/docs/resources/account_password.md index 3dd42887..f1f18b58 100644 --- a/docs/resources/account_password.md +++ b/docs/resources/account_password.md @@ -56,6 +56,8 @@ resource "boundary_account_password" "jeff" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_account_password.foo ``` diff --git a/docs/resources/alias_target.md b/docs/resources/alias_target.md index 249b64be..8ef1d89e 100644 --- a/docs/resources/alias_target.md +++ b/docs/resources/alias_target.md @@ -101,6 +101,8 @@ resource "boundary_alias_target" "example_alias_target" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_alias_target.example_alias_target ``` diff --git a/docs/resources/auth_method.md b/docs/resources/auth_method.md index 7d5fb8ad..4957696a 100644 --- a/docs/resources/auth_method.md +++ b/docs/resources/auth_method.md @@ -50,6 +50,8 @@ resource "boundary_auth_method" "password" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_auth_method.foo ``` diff --git a/docs/resources/auth_method_ldap.md b/docs/resources/auth_method_ldap.md index 7d6b21fd..969a0e76 100644 --- a/docs/resources/auth_method_ldap.md +++ b/docs/resources/auth_method_ldap.md @@ -83,6 +83,8 @@ resource "boundary_auth_method_ldap" "forumsys_ldap" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_auth_method_ldap.foo ``` diff --git a/docs/resources/auth_method_oidc.md b/docs/resources/auth_method_oidc.md index 51180b33..a92a9d41 100644 --- a/docs/resources/auth_method_oidc.md +++ b/docs/resources/auth_method_oidc.md @@ -94,6 +94,8 @@ resource "boundary_auth_method_oidc" "oidc_with_multiple_prompts" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_auth_method_oidc.foo ``` diff --git a/docs/resources/credential_json.md b/docs/resources/credential_json.md index 52f0cdea..f7095dc4 100644 --- a/docs/resources/credential_json.md +++ b/docs/resources/credential_json.md @@ -64,6 +64,8 @@ resource "boundary_credential_json" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_json.example_json ``` diff --git a/docs/resources/credential_library_vault.md b/docs/resources/credential_library_vault.md index a4d549f9..d0cfe4a4 100644 --- a/docs/resources/credential_library_vault.md +++ b/docs/resources/credential_library_vault.md @@ -110,6 +110,8 @@ resource "boundary_credential_library_vault" "quz" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_library_vault.foo ``` diff --git a/docs/resources/credential_library_vault_ssh_certificate.md b/docs/resources/credential_library_vault_ssh_certificate.md index bd5d2a5d..ceb3227a 100644 --- a/docs/resources/credential_library_vault_ssh_certificate.md +++ b/docs/resources/credential_library_vault_ssh_certificate.md @@ -107,6 +107,8 @@ resource "boundary_credential_library_vault_ssh_certificate" "baz" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_library_vault_ssh_certificate.foo ``` diff --git a/docs/resources/credential_ssh_private_key.md b/docs/resources/credential_ssh_private_key.md index 3ec1a5dc..8563c0fd 100644 --- a/docs/resources/credential_ssh_private_key.md +++ b/docs/resources/credential_ssh_private_key.md @@ -69,6 +69,8 @@ resource "boundary_credential_ssh_private_key" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_ssh_private_key.example_ssh_private_key ``` diff --git a/docs/resources/credential_store_static.md b/docs/resources/credential_store_static.md index dc8aa0a9..9ac1e63d 100644 --- a/docs/resources/credential_store_static.md +++ b/docs/resources/credential_store_static.md @@ -55,6 +55,8 @@ resource "boundary_credential_store_static" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_store_static.example_static_credential_store ``` diff --git a/docs/resources/credential_store_vault.md b/docs/resources/credential_store_vault.md index e7db077a..ee9b1957 100644 --- a/docs/resources/credential_store_vault.md +++ b/docs/resources/credential_store_vault.md @@ -68,6 +68,8 @@ resource "boundary_credential_store_vault" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_store_vault.foo ``` diff --git a/docs/resources/credential_username_password.md b/docs/resources/credential_username_password.md index 6ea945ff..f24a984f 100644 --- a/docs/resources/credential_username_password.md +++ b/docs/resources/credential_username_password.md @@ -66,6 +66,8 @@ resource "boundary_credential_username_password" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_credential_username_password.example_username_password ``` diff --git a/docs/resources/host.md b/docs/resources/host.md index 88d0f96f..acafeaae 100644 --- a/docs/resources/host.md +++ b/docs/resources/host.md @@ -66,6 +66,8 @@ resource "boundary_host" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host.foo ``` diff --git a/docs/resources/host_catalog.md b/docs/resources/host_catalog.md index 8fdc7487..369b19ad 100644 --- a/docs/resources/host_catalog.md +++ b/docs/resources/host_catalog.md @@ -57,6 +57,8 @@ resource "boundary_host_catalog" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_catalog.foo ``` diff --git a/docs/resources/host_catalog_plugin.md b/docs/resources/host_catalog_plugin.md index d2d1d000..f6125f6c 100644 --- a/docs/resources/host_catalog_plugin.md +++ b/docs/resources/host_catalog_plugin.md @@ -104,6 +104,8 @@ resource "boundary_host_catalog_plugin" "azure_example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_catalog_plugin.foo ``` diff --git a/docs/resources/host_catalog_static.md b/docs/resources/host_catalog_static.md index 5cf50eb4..05710c43 100644 --- a/docs/resources/host_catalog_static.md +++ b/docs/resources/host_catalog_static.md @@ -55,6 +55,8 @@ resource "boundary_host_catalog_static" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_catalog_static.foo ``` diff --git a/docs/resources/host_set.md b/docs/resources/host_set.md index c25d50a1..48068591 100644 --- a/docs/resources/host_set.md +++ b/docs/resources/host_set.md @@ -81,6 +81,8 @@ resource "boundary_host_set" "web" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_set.foo ``` diff --git a/docs/resources/host_set_plugin.md b/docs/resources/host_set_plugin.md index 5c9b3938..4c07ca90 100644 --- a/docs/resources/host_set_plugin.md +++ b/docs/resources/host_set_plugin.md @@ -140,6 +140,8 @@ resource "boundary_host_set_plugin" "foodev" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_set_plugin.foo ``` diff --git a/docs/resources/host_set_static.md b/docs/resources/host_set_static.md index 4264569a..b5ab082b 100644 --- a/docs/resources/host_set_static.md +++ b/docs/resources/host_set_static.md @@ -77,6 +77,8 @@ resource "boundary_host_set_static" "web" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_set_static.foo ``` diff --git a/docs/resources/host_static.md b/docs/resources/host_static.md index c2aa0cf7..6d7e5122 100644 --- a/docs/resources/host_static.md +++ b/docs/resources/host_static.md @@ -64,6 +64,8 @@ resource "boundary_host_static" "example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_host_static.foo ``` diff --git a/docs/resources/managed_group_ldap.md b/docs/resources/managed_group_ldap.md index 703d4d4d..8ced6a53 100644 --- a/docs/resources/managed_group_ldap.md +++ b/docs/resources/managed_group_ldap.md @@ -64,6 +64,8 @@ resource "boundary_managed_group_ldap" "forumsys_scientists" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_managed_group_ldap.foo ``` diff --git a/docs/resources/storage_bucket.md b/docs/resources/storage_bucket.md index 5e080f4e..b3073c91 100644 --- a/docs/resources/storage_bucket.md +++ b/docs/resources/storage_bucket.md @@ -87,6 +87,8 @@ resource "boundary_storage_bucket" "aws_dynamic_credentials_example" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_storage_bucket.foo ``` diff --git a/docs/resources/target.md b/docs/resources/target.md index 83853830..338d9ea9 100644 --- a/docs/resources/target.md +++ b/docs/resources/target.md @@ -184,6 +184,8 @@ resource "boundary_target" "address_foo" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_target.foo ``` diff --git a/docs/resources/user.md b/docs/resources/user.md index 42fa0d78..51696aeb 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -62,6 +62,8 @@ resource "boundary_user" "jeff" { Import is supported using the following syntax: +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + ```shell terraform import boundary_user.foo ``` diff --git a/go.mod b/go.mod index 649c92f7..bf46421a 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/hashicorp/go-secure-stdlib/configutil/v2 v2.0.12 github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0 github.com/hashicorp/go-secure-stdlib/pluginutil/v2 v2.0.8 - github.com/hashicorp/terraform-plugin-docs v0.21.0 + github.com/hashicorp/terraform-plugin-docs v0.22.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0 github.com/jimlambrt/gldap v0.1.14 github.com/kr/pretty v0.3.1 @@ -186,7 +186,7 @@ require ( github.com/yuin/goldmark v1.7.7 // indirect github.com/yuin/goldmark-meta v1.1.0 // indirect github.com/zalando/go-keyring v0.2.3 // indirect - github.com/zclconf/go-cty v1.16.2 // indirect + github.com/zclconf/go-cty v1.16.3 // indirect go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect go.uber.org/atomic v1.11.0 // indirect golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect diff --git a/go.sum b/go.sum index 4f9c9b30..20c01d35 100644 --- a/go.sum +++ b/go.sum @@ -294,8 +294,8 @@ github.com/hashicorp/terraform-exec v0.23.0 h1:MUiBM1s0CNlRFsCLJuM5wXZrzA3MnPYEs github.com/hashicorp/terraform-exec v0.23.0/go.mod h1:mA+qnx1R8eePycfwKkCRk3Wy65mwInvlpAeOwmA7vlY= github.com/hashicorp/terraform-json v0.25.0 h1:rmNqc/CIfcWawGiwXmRuiXJKEiJu1ntGoxseG1hLhoQ= github.com/hashicorp/terraform-json v0.25.0/go.mod h1:sMKS8fiRDX4rVlR6EJUMudg1WcanxCMoWwTLkgZP/vc= -github.com/hashicorp/terraform-plugin-docs v0.21.0 h1:yoyA/Y719z9WdFJAhpUkI1jRbKP/nteVNBaI3hW7iQ8= -github.com/hashicorp/terraform-plugin-docs v0.21.0/go.mod h1:J4Wott1J2XBKZPp/NkQv7LMShJYOcrqhQ2myXBcu64s= +github.com/hashicorp/terraform-plugin-docs v0.22.0 h1:fwIDStbFel1PPNkM+mDPnpB4efHZBdGoMz/zt5FbTDw= +github.com/hashicorp/terraform-plugin-docs v0.22.0/go.mod h1:55DJVyZ7BNK4t/lANcQ1YpemRuS6KsvIO1BbGA+xzGE= github.com/hashicorp/terraform-plugin-go v0.27.0 h1:ujykws/fWIdsi6oTUT5Or4ukvEan4aN9lY+LOxVP8EE= github.com/hashicorp/terraform-plugin-go v0.27.0/go.mod h1:FDa2Bb3uumkTGSkTFpWSOwWJDwA7bf3vdP3ltLDTH6o= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= @@ -542,8 +542,8 @@ github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUei github.com/yuin/goldmark-meta v1.1.0/go.mod h1:U4spWENafuA7Zyg+Lj5RqK/MF+ovMYtBvXi1lBb2VP0= github.com/zalando/go-keyring v0.2.3 h1:v9CUu9phlABObO4LPWycf+zwMG7nlbb3t/B5wa97yms= github.com/zalando/go-keyring v0.2.3/go.mod h1:HL4k+OXQfJUWaMnqyuSOc0drfGPX2b51Du6K+MRgZMk= -github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70= -github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.16.3 h1:osr++gw2T61A8KVYHoQiFbFd1Lh3JOCXc/jFLJXKTxk= +github.com/zclconf/go-cty v1.16.3/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= go.abhg.dev/goldmark/frontmatter v0.2.0 h1:P8kPG0YkL12+aYk2yU3xHv4tcXzeVnN+gU0tJ5JnxRw=