generated from ministryofjustice/cloud-platform-terraform-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaws_codepipeline_smtp.tf
42 lines (37 loc) · 1.88 KB
/
aws_codepipeline_smtp.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module "staff-infrastructure-network-services" {
source = "./modules/ci-pipeline-webhook"
service_name = "core"
github_repo_id = "ministryofjustice/staff-infrastructure-network-services"
git_branch_name = "main"
name = "staff-infrastructure-network-services"
prefix_name = "${module.label.id}-net-svcs"
codestar_connection_arn = aws_codestarconnections_connection.nvvs-github-connection.id
vpc_id = module.vpc.vpc_id
subnet_ids = module.vpc.private_subnets
manual_production_deploy = true
production_plan = true
dev_assume_role_arn = local.dev_assume_role_arn
pre_production_assume_role_arn = local.pre_production_assume_role_arn
production_assume_role_arn = local.production_assume_role_arn
docker_image = "aws/codebuild/standard:7.0"
tags = module.label.tags
}
module "staff-infrastructure-smtp-relay-server" {
source = "./modules/ci-pipeline-webhook"
service_name = "core"
github_repo_id = "ministryofjustice/staff-infrastructure-smtp-relay-server"
git_branch_name = "main"
name = "staff-infrastructure-smtp-relay-server"
prefix_name = "${module.label.id}-smtp-relay"
codestar_connection_arn = aws_codestarconnections_connection.staff-infrastructure-moj.id
vpc_id = module.vpc.vpc_id
subnet_ids = module.vpc.private_subnets
manual_production_deploy = true
production_plan = true
dev_assume_role_arn = local.dev_assume_role_arn
pre_production_assume_role_arn = local.pre_production_assume_role_arn
production_assume_role_arn = local.production_assume_role_arn
privileged_mode = true
docker_image = "aws/codebuild/standard:7.0"
tags = module.label.tags
}