Using new s3 access & secret key for s3 reader role

This commit is contained in:
shockrah 2023-03-10 21:33:24 -08:00
parent dfdc62f80c
commit 28f8436768

View File

@ -44,17 +44,18 @@ variable "athens_prefix" {
default = "athens" default = "athens"
} }
######################### Nginx reverse proxy vars ######################### 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 type = string
sensitive = true sensitive = true
} }
variable "shockrah_xyz_s3_secret_key" { 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 type = string
sensitive = true sensitive = true
} }
@ -65,3 +66,17 @@ variable "nginx_port" {
default = 80 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"
}