Skip to content

Commit 97a3c66

Browse files
authored
Merge pull request #28 from openbraininstitute/launch-system
Add a private ECR for launch-system
2 parents 3133c86 + 435514e commit 97a3c66

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

main.tf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,3 +351,20 @@ module "private_ecr_github_actions_upload_credentials_obi-notebook_image" {
351351
github_organisation = local.github_organisation
352352
github_repository_name = "obi-notebook-image"
353353
}
354+
355+
module "launch_system" {
356+
source = "./private-ecr-repo"
357+
358+
repository_name = "launch-system"
359+
allowed_to_pull_identities = ["arn:aws:ecs:us-east-1:992382665735:service/launch_ecs_cluster/launch_ecs_cluster", "arn:aws:ecs:us-east-1:671250183987:service/launch_ecs_cluster/launch_ecs_cluster"]
360+
}
361+
362+
module "public_ecr_github_actions_upload_credentials_launch_system" {
363+
source = "./private-ecr-upload-credentials"
364+
365+
iam_user_name = "github_actions_upload_user_launch_system"
366+
ecr_repository_name = module.launch_system.repository_name
367+
github_organisation = local.github_organisation
368+
github_repository_name = "launch-system"
369+
}
370+

0 commit comments

Comments
 (0)