From 148b950489d86107b72d3d1a82ca2b1e0f4b6552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Fern=C3=A1ndez?= Date: Tue, 11 Nov 2025 10:27:15 +0100 Subject: [PATCH] Add neuroagent private ECR repository --- main.tf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index a8769f9..04a617d 100644 --- a/main.tf +++ b/main.tf @@ -13,7 +13,6 @@ locals { github_organisation = "openbraininstitute" } - module "iam_github_oidc_provider" { source = "terraform-aws-modules/iam/aws//modules/iam-github-oidc-provider" version = "v5.60.0" @@ -352,6 +351,21 @@ module "private_ecr_github_actions_upload_credentials_obi-notebook_image" { github_repository_name = "obi-notebook-image" } +module "neuroagent" { + source = "./private-ecr-repo" + repository_name = "neuroagent" + allowed_to_pull_identities = ["arn:aws:iam::992382665735:role/ecs-service-agent-2024102309133921180000000e", "arn:aws:iam::671250183987:role/ecs-service-agent-20240524155002883400000004"] +} + +module "private_ecr_github_actions_upload_credentials_neuroagent" { + source = "./private-ecr-upload-credentials" + + iam_user_name = "github_actions_upload_user_neuroagent" + ecr_repository_name = module.neuroagent.repository_name + github_organisation = local.github_organisation + github_repository_name = "neuroagent" +} + module "launch_system" { source = "./private-ecr-repo"