added ordnance state

This commit is contained in:
Jun-te Kim 2026-03-06 13:49:05 +00:00
parent ac344be094
commit 9852eb631b
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -472,7 +472,7 @@ module "ordnance_registry" {
module "ordnance_s3_read_and_write" {
source = "../modules/s3_iam_policy"
policy_name = "Address2UPRNReadandWriteS3"
policy_name = "OrdnanceSurveyReadandWriteS3"
policy_description = "Allow ordnance Lambda to read and write from retrofit-data bucket"
bucket_arns = ["arn:aws:s3:::retrofit-data-${var.stage}"]
actions = ["s3:GetObject", "s3:ListBucket", "s3:PutObject"]