This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from 5-stones/feat/storage-zone
This merge adds support for managing storage zones.
- Loading branch information
Showing
20 changed files
with
1,102 additions
and
27 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,40 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "bunny_storagezone Resource - bunny" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# bunny_storagezone (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the storage zone. | ||
|
||
### Optional | ||
|
||
- `custom_404_file_path` (String) The path to the custom file that will be returned in a case of 404. | ||
- `origin_url` (String) The origin URL of the storage zone. | ||
- `region` (String) The code of the main storage zone region (Possible values: DE, NY, LA, SG). | ||
- `replication_regions` (Set of String) The list of replication zones for the storage zone (Possible values: DE, NY, LA, SG, SYD). Replication zones cannot be removed once the zone has been created. | ||
- `rewrite_404_to_200` (Boolean) Rewrite 404 status code to 200 for URLs without extension. | ||
|
||
### Read-Only | ||
|
||
- `deleted` (Boolean) | ||
- `files_stored` (Number) The number of files stored in the storage zone. | ||
- `id` (String) The ID of this resource. | ||
- `password` (String, Sensitive) The password granting read/write access to the storage zone. | ||
- `read_only_password` (String, Sensitive) The password granting read-only access to the storage zone. | ||
- `storage_used` (Number) The amount of storage used in the storage zone in bytes. | ||
- `user_id` (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,4 @@ | ||
resource "bunny_storagezone" "mysz" { | ||
name = "testsz" | ||
region = "DE" | ||
} |
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
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
Oops, something went wrong.