mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add versioning to retrofit-energy-assessments-dev bucket
This commit is contained in:
parent
397c0d9e2d
commit
e533943085
1 changed files with 7 additions and 0 deletions
|
|
@ -279,6 +279,13 @@ output "retrofit_energy_assessments_bucket_name" {
|
|||
description = "Name of the retrofit energy assessments bucket"
|
||||
}
|
||||
|
||||
resource "aws_s3_bucket_versioning" "energy_assessments" {
|
||||
bucket = "retrofit-energy-assessments-${var.stage}"
|
||||
versioning_configuration {
|
||||
status = "Enabled"
|
||||
}
|
||||
}
|
||||
|
||||
# Set up the route53 record for the API
|
||||
module "route53" {
|
||||
source = "../modules/route53"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue