From b93252d9301aad5f429fa0b3dade70acf851d959 Mon Sep 17 00:00:00 2001 From: contabo Date: Mon, 11 Sep 2023 07:14:41 +0000 Subject: [PATCH] release v0.1.20 --- contabo/resource_instance.go | 1 - docs/guides/custom_instance.md | 2 +- docs/guides/use_environment_variables.md | 2 +- docs/index.md | 2 +- docs/resources/contabo_instance.md | 1 + examples/custom_instance/custom_instance.tf | 2 +- examples/main.tf.example | 2 +- examples/provider/provider.tf | 2 +- examples/use_environment_variables/use_environment_variables.tf | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contabo/resource_instance.go b/contabo/resource_instance.go index 266eb09..b883973 100644 --- a/contabo/resource_instance.go +++ b/contabo/resource_instance.go @@ -26,7 +26,6 @@ func resourceInstance() *schema.Resource { Type: schema.TypeString, Computed: true, Description: "The identifier of the compute instance. Use it to manage it!", - }, "existing_instance_id": { Type: schema.TypeString, diff --git a/docs/guides/custom_instance.md b/docs/guides/custom_instance.md index 19e90f5..0cd8f5c 100644 --- a/docs/guides/custom_instance.md +++ b/docs/guides/custom_instance.md @@ -12,7 +12,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } } diff --git a/docs/guides/use_environment_variables.md b/docs/guides/use_environment_variables.md index f11a239..0146953 100644 --- a/docs/guides/use_environment_variables.md +++ b/docs/guides/use_environment_variables.md @@ -12,7 +12,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } } diff --git a/docs/index.md b/docs/index.md index 48045ea..723d863 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,7 +18,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } } diff --git a/docs/resources/contabo_instance.md b/docs/resources/contabo_instance.md index 2b2b7bb..292edd0 100644 --- a/docs/resources/contabo_instance.md +++ b/docs/resources/contabo_instance.md @@ -43,6 +43,7 @@ resource "contabo_instance" "database_instance" { - `add_ons` (Block List) (see [below for nested schema](#nestedblock--add_ons)) - `cancel_date` (String) The date on which the instance will be cancelled. - `display_name` (String) The instance name chosen by the customer that will be shown in the customer panel. +- `existing_instance_id` (String) The identifier of the existing compute instance. (override id) - `image_id` (String) CAUTION: On updating this value your server will be reinstalled! Image Id is used to set up the compute instance. Ubuntu 20.04 is the default, currently you have to get the Id with our [API](https://api.contabo.com/#tag/Images/operation/retrieveImage) or via our [command line](https://github.com/contabo/cntb) tool with this command: `cntb get images`. - `license` (String) Additional license in order to enhance your chosen product. It is mainly needed for software licenses on your product (not needed for windows). See our [api documentation](https://api.contabo.com/#tag/Instances/operation/createInstance) for all available licenses. - `period` (Number) Initial contract period in months. Available periods are: 1, 3, 6 and 12 months. The default setting is 1 month. diff --git a/examples/custom_instance/custom_instance.tf b/examples/custom_instance/custom_instance.tf index e6cff24..6610396 100644 --- a/examples/custom_instance/custom_instance.tf +++ b/examples/custom_instance/custom_instance.tf @@ -2,7 +2,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } } diff --git a/examples/main.tf.example b/examples/main.tf.example index bb46a10..fa042b0 100644 --- a/examples/main.tf.example +++ b/examples/main.tf.example @@ -2,7 +2,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } } diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index c531e4e..508e12d 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } } diff --git a/examples/use_environment_variables/use_environment_variables.tf b/examples/use_environment_variables/use_environment_variables.tf index 359c89e..23d19b7 100644 --- a/examples/use_environment_variables/use_environment_variables.tf +++ b/examples/use_environment_variables/use_environment_variables.tf @@ -2,7 +2,7 @@ terraform { required_providers { contabo = { source = "contabo/contabo" - version = ">= 0.1.19" + version = ">= 0.1.20" } } }