use the template

This commit is contained in:
Jun-te Kim 2026-02-03 12:45:34 +00:00
parent 4159594042
commit 19872bf451
2 changed files with 7 additions and 3 deletions

View file

@ -7,7 +7,7 @@ terraform {
}
backend "s3" {
bucket = "address2uprn-terraform-state"
bucket = var.state_bucket_name
key = "terraform.tfstate"
region = "eu-west-2"
}

View file

@ -8,6 +8,10 @@ variable "stage" {
}
variable "image_digest" {
type = string
description = "sha256 image digest from CI"
type = string
}
variable "state_bucket_name" {
type = string
description = "S3 bucket name used for this lambda's Terraform state"
}