From 28f8436768a517858afa1abce9dd5188cdae6fbd Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 10 Mar 2023 21:33:24 -0800 Subject: [PATCH] Using new s3 access & secret key for s3 reader role --- infra/input-vars.tf | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/infra/input-vars.tf b/infra/input-vars.tf index d28b40c..7bfcfa0 100644 --- a/infra/input-vars.tf +++ b/infra/input-vars.tf @@ -44,17 +44,18 @@ variable "athens_prefix" { default = "athens" } - ######################### Nginx reverse proxy vars -variable "shockray_xyz_s3_access_key_id" { - description = "Acess key-id for shockrah.xyz bucket service user" + +# Yes these buckets _could_ be public but where's the fun in that :x +variable "shockrah_xyz_s3_access_key_id" { + description = "Acess key for reading public s3 buckets" type = string sensitive = true } variable "shockrah_xyz_s3_secret_key" { - description = "Secret key for shockrah.xyz bucket service user" + description = "Secret key for reading public s3 buckets" type = string sensitive = true } @@ -65,3 +66,17 @@ variable "nginx_port" { default = 80 } +######################### Nginx reverse proxy vars + +variable "shockrah_xyz_bucket" { + description = "S3 bucket name" + type = string + default = "shockrah_xyz" +} + +variable "resume_shockrah_xyz_bucket" { + description = "S3 bucket name" + type = string + default = "resume_shockrah_xyz" +} +