Skip to content

Commit

Permalink
Update docs and CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jul 28, 2022
1 parent 3371482 commit 16e50a2
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

## [v1.0.21](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.21) (28 July 2022)

### Merged
- [#141](https://github.com/civo/terraform-provider-civo/pull/141) - Draft: Add support for Object Store in Terraform

## [v1.0.20](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.20) (19 July 2022)

### Merged
Expand Down
36 changes: 36 additions & 0 deletions docs/data-sources/object_store.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "civo_object_store Data Source - terraform-provider-civo"
subcategory: ""
description: |-
Get information of an Object Store for use in other resources. This data source provides all of the Object Store's properties as configured on your Civo account.
Note: This data source returns a single Object Store. When specifying a name, an error will be raised if more than one Object Stores with the same name found.
---

# civo_object_store (Data Source)

Get information of an Object Store for use in other resources. This data source provides all of the Object Store's properties as configured on your Civo account.

Note: This data source returns a single Object Store. When specifying a name, an error will be raised if more than one Object Stores with the same name found.



<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `id` (String) The ID of the Object Store
- `max_size_gb` (Number) The maximum size of the Object Store
- `name` (String) The name of the Object Store
- `region` (String) The region of an existing Object Store

### Read-Only

- `access_key_id` (String) The access key id of the Object Store
- `endpoint` (String) The endpoint of the Object Store
- `generated_name` (String) The generated name of the Object Store
- `secret_access_key` (String) The secret access key of the Object Store
- `status` (String) The status of the Object Store


44 changes: 44 additions & 0 deletions docs/resources/object_store.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "civo_object_store Resource - terraform-provider-civo"
subcategory: ""
description: |-
Provides an Object Store resource. This can be used to create, modify, and delete obejct stores.
---

# civo_object_store (Resource)

Provides an Object Store resource. This can be used to create, modify, and delete obejct stores.



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) The name of the Object Store. Must be unique.

### Optional

- `max_size_gb` (Number) The maximum size of the Object Store. Default is 500GB.
- `region` (String) The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

### Read-Only

- `access_key_id` (String) The access key id of the Object Store. It is generated by the provider.
- `endpoint` (String) The endpoint of the Object Store. It is generated by the provider.
- `generated_name` (String) The generated name of the Object Store. It is generated by the provider.
- `id` (String) The ID of this resource.
- `secret_access_key` (String) The secret access key of the Object Store. It is generated by the provider.
- `status` (String) The status of the Object Store.

<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Optional:

- `create` (String)


0 comments on commit 16e50a2

Please sign in to comment.