Skip to content

Commit

Permalink
Merge pull request #7102 from ministryofjustice/nextcloud-ecr-repo
Browse files Browse the repository at this point in the history
create nextcloud ECR repo
  • Loading branch information
dms1981 authored May 24, 2024
2 parents ad5a421 + b29b046 commit 7cb7493
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions terraform/environments/core-shared-services/ecr_repos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1137,3 +1137,28 @@ module "observability_platform_grafana_api_key_rotator_ecr_repo" {

tags_common = local.tags
}

# ECR repo holding the hmpps jitbit application container image
module "delius_nextcloud_ecr_repo" {
source = "../../modules/app-ecr-repo"

app_name = "delius-nextcloud"

push_principals = [
"arn:aws:iam::${local.environment_management.account_ids["delius-nextcloud-development"]}:role/modernisation-platform-oidc-cicd",
"arn:aws:iam::${local.environment_management.account_ids["delius-nextcloud-test"]}:role/modernisation-platform-oidc-cicd",
"arn:aws:iam::${local.environment_management.account_ids["delius-nextcloud-preproduction"]}:role/modernisation-platform-oidc-cicd",
"arn:aws:iam::${local.environment_management.account_ids["delius-nextcloud-production"]}:role/modernisation-platform-oidc-cicd",
"arn:aws:iam::${local.environment_management.account_ids["delius-nextcloud-development"]}:role/modernisation-platform-oidc-cicd",
]

pull_principals = [
local.environment_management.account_ids["delius-nextcloud-development"],
local.environment_management.account_ids["delius-nextcloud-test"],
local.environment_management.account_ids["delius-nextcloud-preproduction"],
local.environment_management.account_ids["delius-nextcloud-production"]
]

# Tags
tags_common = local.tags
}

0 comments on commit 7cb7493

Please sign in to comment.