Skip to content

Commit

Permalink
create cdpt-ifs-ecr-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
roncitrus committed Feb 5, 2024
1 parent 30c3837 commit ab2b6ee
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions terraform/environments/core-shared-services/ecr_repos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,27 @@ module "cdpt_chaps_ecr_repo" {
tags_common = local.tags
}

module "cdpt_ifs_ecr_repo" {
source = "../../modules/app-ecr-repo"

app_name = "cdpt-ifs"

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

pull_principals = [
local.environment_management.account_ids["cdpt-ifs-development"],
local.environment_management.account_ids["cdpt-ifs-preproduction"],
local.environment_management.account_ids["cdpt-ifs-production"]
]

# Tags
tags_common = local.tags
}

# Delius Core
module "delius_core_ansible_aws_ecr_repo" {
source = "../../modules/app-ecr-repo"
Expand Down

0 comments on commit ab2b6ee

Please sign in to comment.