Skip to content

Commit

Permalink
refactor: move s3 endpoint outside renterd for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Jan 7, 2025
1 parent 7cffb04 commit 8930e21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layers/portal/portal.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ module "portal" {
storage = {
s3 = {
buffer_bucket = var.portal_buffer_bucket
endpoint = local.s3_endpoint
endpoint = var.portal_buffer_endpoint
// endpoint = local.s3_endpoint
region = var.portal_buffer_region
access_key = var.portal_buffer_access_key
secret_key = var.portal_buffer_secret_key
Expand Down
6 changes: 6 additions & 0 deletions layers/portal/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ variable "portal_port" {
default = 8081
}

variable "portal_buffer_endpoint" {
description = "Portal buffer endpoint"
type = string
sensitive = true
}

variable "portal_buffer_bucket" {
description = "Portal buffer bucket"
type = string
Expand Down

0 comments on commit 8930e21

Please sign in to comment.