41 lines
865 B
Markdown
41 lines
865 B
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "garage_bucket_local_alias Resource - terraform-provider-garage"
|
|
subcategory: ""
|
|
description: |-
|
|
This resource can be used to manage Garage bucket global aliases.
|
|
---
|
|
|
|
# garage_bucket_local_alias (Resource)
|
|
|
|
This resource can be used to manage Garage bucket global aliases.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "garage_key" "key" {
|
|
name = "key"
|
|
}
|
|
|
|
resource "garage_bucket" "bucket" {}
|
|
|
|
resource "garage_bucket_local_alias" "bucket_key_private-files" {
|
|
bucket_id = garage_bucket.bucket.id
|
|
access_key_id = garage_key.key.access_key_id
|
|
alias = "private-files"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `access_key_id` (String)
|
|
- `alias` (String)
|
|
- `bucket_id` (String)
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The ID of this resource.
|