-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e46ee36
commit 3464f7a
Showing
8 changed files
with
215 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "tigris Provider" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# tigris Provider | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `access_key` (String) The access key. It can also be sourced from the AWS_ACCESS_KEY_ID environment variable. | ||
- `endpoint` (String) The endpoint for the Tigris object storage service. | ||
- `secret_key` (String, Sensitive) The secret key. It can also be sourced from the AWS_SECRET_ACCESS_KEY environment variable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "tigris_bucket Resource - terraform-provider-tigris" | ||
subcategory: "" | ||
description: |- | ||
Provides a Tigris bucket resource. This can be used to create and manage Tigris buckets. | ||
--- | ||
|
||
# tigris_bucket (Resource) | ||
|
||
Provides a Tigris bucket resource. This can be used to create and manage Tigris buckets. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `bucket` (String) The name of the Tigris bucket. | ||
|
||
### Optional | ||
|
||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) | ||
- `delete` (String) | ||
- `read` (String) | ||
- `update` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "tigris_bucket_public_access Resource - terraform-provider-tigris" | ||
subcategory: "" | ||
description: |- | ||
Provides a Tigris bucket resource. This can be used to create and manage Tigris buckets. | ||
--- | ||
|
||
# tigris_bucket_public_access (Resource) | ||
|
||
Provides a Tigris bucket resource. This can be used to create and manage Tigris buckets. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `bucket` (String) The name of the Tigris bucket. | ||
|
||
### Optional | ||
|
||
- `acl` (String) The canned ACL to apply to the bucket. | ||
- `public_list_objects` (Boolean) Whether to allow public listing of objects in the bucket. | ||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) | ||
- `delete` (String) | ||
- `read` (String) | ||
- `update` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "tigris_bucket_shadow_config Resource - terraform-provider-tigris" | ||
subcategory: "" | ||
description: |- | ||
Provides a Tigris bucket shadow configuration resource. | ||
--- | ||
|
||
# tigris_bucket_shadow_config (Resource) | ||
|
||
Provides a Tigris bucket shadow configuration resource. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `bucket` (String) The name of the Tigris bucket. | ||
- `shadow_access_key` (String, Sensitive) The access key for the shadow bucket. | ||
- `shadow_bucket` (String) The name of the shadow bucket. | ||
- `shadow_secret_key` (String, Sensitive) The secret key for the shadow bucket. | ||
|
||
### Optional | ||
|
||
- `shadow_endpoint` (String) The endpoint for the shadow bucket. | ||
- `shadow_region` (String) The region for the shadow bucket. | ||
- `shadow_write_through` (Boolean) Whether to write through to the shadow bucket. | ||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) | ||
- `delete` (String) | ||
- `read` (String) | ||
- `update` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "tigris_bucket_website_config Resource - terraform-provider-tigris" | ||
subcategory: "" | ||
description: |- | ||
Provides a Tigris bucket website configuration resource. | ||
--- | ||
|
||
# tigris_bucket_website_config (Resource) | ||
|
||
Provides a Tigris bucket website configuration resource. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `bucket` (String) The name of the Tigris bucket. | ||
|
||
### Optional | ||
|
||
- `domain_name` (String) The custom domain name to apply to the bucket. | ||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) | ||
- `delete` (String) | ||
- `read` (String) | ||
- `update` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Generate the documentation using tfplugindocs and remove changes to files that | ||
# shouldn't change | ||
|
||
exclude_files=() | ||
|
||
# Check if manual changes were made to any excluded files and exit | ||
# otherwise these will be lost with `tfplugindocs` | ||
# if [ "$(git status --porcelain "${exclude_files[@]}")" ]; then | ||
# echo "Uncommitted changes were detected to the following files. These aren't autogenerated, please commit or stash these changes and try again" | ||
# echo $(git status --porcelain "${exclude_files[@]}") | ||
# exit 1 | ||
# fi | ||
|
||
tfplugindocs generate -rendered-provider-name "Tigris" | ||
|
||
# Remove the changes to files we don't autogenerate | ||
git checkout HEAD -- "${exclude_files[@]}" |