Skip to content

Commit

Permalink
release v0.1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
contabo committed Feb 6, 2024
1 parent ba7e7e8 commit 2ec49a8
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contabo/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func resourceInstanceCreate(ctx context.Context, d *schema.ResourceData, m inter
createInstanceRequest.Region = &region
}
if productId != "" {
createInstanceRequest.ProductId = productId
createInstanceRequest.ProductId = &productId
}
if sshKeys != nil {
var sshKeys64 []int64
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/custom_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/use_environment_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down
23 changes: 23 additions & 0 deletions docs/resources/contabo_object_storage_bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,29 @@ description: |-
Manage buckets on your contabo Object Storage. With this resource you are able to manage your buckets the same way your are able to manage them in your contabo customer panel.


## Example Usage

```terraform
# Configure your Contabo API credentials
provider "contabo" {
oauth2_client_id = "[your client id]"
oauth2_client_secret = "[your client secret]"
oauth2_user = "[your username]"
oauth2_pass = "[your password]"
}
# Create a new object storage
resource "contabo_object_storage" "example_object_storage" {
region = "EU"
total_purchased_space_tb = 0.500
}
# create a bucket in the object_storage
resource "contabo_object_storage_bucket" "example_bucket" {
name = "example_bucket"
object_storage_id = contabo_object_storage.example_object_storage.id
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
2 changes: 1 addition & 1 deletion examples/custom_instance/custom_instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/main.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
contabo = {
source = "contabo/contabo"
version = ">= 0.1.23"
version = "__CURRENT_VERSION__"
}
}
}
Expand Down

0 comments on commit 2ec49a8

Please sign in to comment.