terraform-provider-garage/examples/resources/garage_bucket_global_alias/resource.tf
Marc 'risson' Schmitt 2b61749be3
Add key, bucket, bucket_key, bucket_global_alias and bucket_local_alias resources
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@prologin.org>
2022-12-10 17:48:33 +01:00

12 lines
262 B
HCL

resource "garage_bucket" "website" {}
resource "garage_bucket_global_alias" "website" {
bucket_id = garage_bucket.website.id
alias = "website"
}
resource "garage_bucket_global_alias" "www" {
bucket_id = garage_bucket.website.id
alias = "www"
}