diff --git a/docs/resources/key_pair.md b/docs/resources/key_pair.md index 67bbf0ec..18db00e0 100644 --- a/docs/resources/key_pair.md +++ b/docs/resources/key_pair.md @@ -22,6 +22,7 @@ description: |- machinetype = "g1.1" keypairname = "example-key-pair" } + ``` ~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources. --- @@ -51,6 +52,7 @@ resource "stackit_server" "example-server" { keypair_name = "example-key-pair" } +``` ~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our [guide](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources) for how to opt-in to use beta resources. diff --git a/stackit/internal/services/iaas/keypair/const.go b/stackit/internal/services/iaas/keypair/const.go index fe8305bf..daae0162 100644 --- a/stackit/internal/services/iaas/keypair/const.go +++ b/stackit/internal/services/iaas/keypair/const.go @@ -22,4 +22,4 @@ resource "stackit_server" "example-server" { machine_type = "g1.1" keypair_name = "example-key-pair" } -` +` + "\n```"