Skip to content

Commit

Permalink
Added bucket name variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Lloyd committed Nov 8, 2024
1 parent 326dcf9 commit e927e1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/test_cluster/access_copy_dev_lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ resource "aws_lambda_function" "access_copy_dev_lambda" {
CLOUDFRONT_URL = var.dev_cloudfront_url
CLOUDFRONT_KEY_PAIR_ID = var.cloudfront_key_pair_id
CLOUDFRONT_PRIVATE_KEY = var.cloudfront_private_key
S3_BUCKET = var.dev_s3_bucket
BACKBLAZE_BUCKET = var.dev_backblaze_bucket
}
}
}
Expand Down
10 changes: 10 additions & 0 deletions terraform/test_cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -319,3 +319,13 @@ variable "aws_account_id" {
description = "AWS account ID"
type = string
}

variable "dev_s3_bucket" {
description = "Name of the S3 bucket where files are stored in dev"
type = string
}

variable "dev_backblaze_bucket" {
description = "Name of the Backblaze bucket where files are stored in dev"
type = string
}

0 comments on commit e927e1c

Please sign in to comment.