From ae991bf6d5b56d1efaa9ca1a8630f81b02330d31 Mon Sep 17 00:00:00 2001 From: Paul Butcher Date: Mon, 2 Dec 2024 10:56:26 +0000 Subject: [PATCH] Readonly api key (#2776) * add readonly api key * Apply auto-formatting rules --------- Co-authored-by: Github on behalf of Wellcome Collection --- pipeline/terraform/modules/stack/elastic_pipeline.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipeline/terraform/modules/stack/elastic_pipeline.tf b/pipeline/terraform/modules/stack/elastic_pipeline.tf index 1f05a684e0..4ed0f392fc 100644 --- a/pipeline/terraform/modules/stack/elastic_pipeline.tf +++ b/pipeline/terraform/modules/stack/elastic_pipeline.tf @@ -132,6 +132,10 @@ module "pipeline_indices" { locals { indices = module.pipeline_indices.index_names service_index_permissions = { + read_only = { + read = ["*"] + write = [] + } transformer = { read = [] write = [local.indices.source]